Help with Iterator Processing Array of Attendees

What are you trying to achieve?

Hi everyone,

I’m working on a scenario where I’m trying to send a list of attendees (passed as an array from a Webhook) to Google Calendar to create an event for each attendee. Here’s a breakdown of the issue:

The Webhook correctly receives the data, and the attendees array is structured like this:

{
“attendees”: [“email1@live.com”, “email2@live.com”]
}

I’ve connected an Iterator module to process each attendee in the array. However, the Iterator only seems to process the first attendee and doesn’t iterate through the entire array.

I’ve mapped the attendees array from the Webhook to the Iterator input, but it still doesn’t handle all the items. The output shows only one bundle instead of separate bundles for each attendee.

My goal is to pass each attendee from the array to Google Calendar as an individual bundle so that I can create an event for each attendee.

Am I missing something in the Iterator setup, or do I need to use a different module or approach to achieve this?

Any guidance would be greatly appreciated!

Hi @Laura_Srzic ,

The Attendees field in the Create an Event module will accept a name and an email address: You can slide the “Map” slider to see this:

If you want to create a new event for each attendee, then just map the Email Address from your array into the “Email” field of the Create an Event module, rather than the “Attendees” field—like in the image above.

Let us know how it goes.

Regards, Terry.