Google Calendar: Array of objects expected in parameter 'attendees'

Hello Makers,

I’m wondering how to construct the array that Google Calendar is looking for?

image

I tried adding an empty array and to it the email or name (actually variables, I just replaced them for the screenshot) or just email. but this results in an error.

Array of objects expected in parameter ‘attendees’.

image
This is the expected format.
the array should have each user as a collection.

1 Like

Thanks! Can you offer a hint of how to do create the collection?
Perhaps tool to set multiple variables followed by an array aggregator?


you should be good if you aggregate into this datastructure.

grab this on output.
json modules are just there to create and demo data, you can probably do this with one module instead of two to aggregate.

when creating your datastructure you can use this as the model.

[
    {
        "attendees": [
            {
                "email": "test@test.com",
                "displayName": "test",
                "responseStatus": null
            },
            {
                "email": "test@test2.com",
                "displayName": "test2",
                "responseStatus": null
            }
        ]
    }
]

createdatafromjson

2 Likes