Hi Makers,
I am creating a scenario where a user can schedule a meeting with several people on Google Calendar based on their availability using Free/Busy.
The issue is that the input field “Calendar ID” includes several emails, but it processes only the first email, and the output is returning results only for the first provided email.
Is there any way to make it process all the provided emails correctly?
JSON Input:
[
{
“item”: [
{
“id”: “primaryemail@gmail.com”
},
{
“id”: [
“email1@gmail.com”,
“email2@gmail.com”
]
}
],
“timeMax”: “2025-01-15T08:50:00.000Z”,
“timeMin”: “2025-01-15T08:40:00.000Z”
}
]
Output JSON:
[
{
“kind”: “calendar#freeBusy”,
“timeMin”: “2025-01-15T08:40:00.000Z”,
“timeMax”: “2025-01-15T08:50:00.000Z”,
“calendars”: {
“primaryemail@gmail.com”: {
“busy”:
},
“email1@gmail.com”: {
“errors”: [
{
“domain”: “global”,
“reason”: “notFound”
}
],
“busy”:
}
}
}
]