Skip to main content

I want to use this for hubspot to brevo syncing and my javascript is like:

 

const tagsString = inputData.tags || '';
const email = inputData.email || '';

const tagsArray = tagsString.split(';').map(tag => tag.trim());

output = {"attributes": {"EMAIL": email, "TAGS": tagsArray}}

When i want to use the output in the next step i can not select the complete output object but only keys that have a value > https://monosnap.com/direct/PAHFcIJxoAmn026kSBzMwuNZOSauul i am expecting to be able to select output directly but instead i see only EMAIL and TAGS as selection.

Even worst, if i select the the TAGS property this is is what gets send > https://monosnap.com/direct/hG7k8KbeAgab8qZ3oLOSp7UGyXJBuc it absolutely does not take the actual value but the unprocessed value because tagsArray is an array of strings