What is your goal?
Hi all,
Thanks for your time!
I am working on a scenario which create event on Google Calendar from Airtable with attendees. I am creating the attendees array using array aggregator which gives me the required array to use in Google Calendar Attendees module. Now on that array on the 1 attendee i want to add responseStatus: confirmed. So that by default it is confirmed for me as always the first one will be my email in the attendees field.
Please find the attached screenshot.
What is the problem & what have you tried?
Not able to figure it out how to.
Screenshots (scenario flow, module settings, errors)
1 Like
Hey there,
sorry can you clarify - you want to add the status to all of them? Or only to specific ones?
Only the 1st one from the array returned by array aggregator. Highlighted in the screenshot.
1 Like
And do they need to be bulked together in an array for airtable? What does the table look like?
My point is, if its just a separate column you can add an if formula there - if the email is this one then add this status.
Ok, you can place a set variables module between the iterator and the aggregator and have it set a variable called responseStatus. Then have the variable itself be an if statement that checks if the email matches - if it does, set it to confirmed; if it doesn’t, don’t set it. In this case however all entries in the array will have the responseStatus, it will just be empty.
If you need only the specific one to have it, then you need a router - one array will have the main email with the confirmed status and the other array will have the rest without that key-value pair. Then you merge the two arrays. Something like this.