Skip to content

Google Calendar Tool Missing sendUpdates Parameter#5241

Merged
HenryHengZJ merged 2 commits into
FlowiseAI:mainfrom
kushalbhana:fix/google-calendar-sendUpdates
Oct 1, 2025
Merged

Google Calendar Tool Missing sendUpdates Parameter#5241
HenryHengZJ merged 2 commits into
FlowiseAI:mainfrom
kushalbhana:fix/google-calendar-sendUpdates

Conversation

@kushalbhana

Copy link
Copy Markdown
Contributor

Fixes #5222
When creating or updating calendar events with attendees, email notifications should be sent to all attendees regardless of their email domain.

"all" - Send notifications to all guests (required for external emails)
"externalOnly" - Send notifications only to non-Google Calendar guests
"none" - Don't send notifications

@HenryHengZJ HenryHengZJ requested a review from 0xi4o September 27, 2025 11:07
@aidivas

aidivas commented Sep 27, 2025

Copy link
Copy Markdown

Can you add this as an option in Tools and NOT default to send all - thanks

@kushalbhana

kushalbhana commented Sep 27, 2025

Copy link
Copy Markdown
Contributor Author

Can you add this as an option in Tools and NOT default to send all - thanks

Made the changes, review it once..

@kushalbhana kushalbhana force-pushed the fix/google-calendar-sendUpdates branch from 67680fc to 351d592 Compare September 27, 2025 18:04

@HenryHengZJ HenryHengZJ left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! @kushalbhana did you test if this works? For me, I not sure which external emails to use. I've used my gmail, hotmail, flowise email, all receive notifications prior to this changes

@kushalbhana

Copy link
Copy Markdown
Contributor Author

@HenryHengZJ I tested again with my Workspace email and an external Gmail account. In both cases, I received the event invitation even before the changes, as you mentioned. After adding the sendUpdates parameter explicitly, it still works correctly.

The difference is that without the parameter, Google Calendar API defaults to sendUpdates=none, which in some environments leads to external attendees not getting notifications (as reported in the original issue). With this PR, the behavior becomes explicit and predictable by allowing users to choose all | externalOnly | none instead of relying on the API default.

So while it works in our cases, this change mainly ensures consistency and configurability across different setups.

@HenryHengZJ

Copy link
Copy Markdown
Contributor

yeah, @aidivas which email did you use, that is not able to receive notification? are you familiar with pulling the source code switch to the branch and test it out?

@aidivas

aidivas commented Oct 1, 2025

Copy link
Copy Markdown

@HenryHengZJ no time to retest this at the moment. Also not adding my emails in a github report 😉

As it stands, It sends ZERO email notifications outside of the organisation (default send all thats supposed to work) when I use this with any G Workspace emails. Tested with several different external emails same issue.

Ive switched to using my n8n GCal MCP in FW as it works fine - sends all required G Cal Notifications.

Im using Google Workspace so maybe the G Cal Tools can be tested by FW with Workspace. I also added an update to the other GCal Bug as not working again as again it wont use any other Calendar ID's added to the calendar ID field. I cant reopen that bug but did tag you.

The exact same G Cloud project, emails and Calendar IDs work with no issues using G Cal Tools in N8N so theres not any issue with my setup. Both N8N/FW running on the same server using NGINX and docker.

Once FW confirm its tested and working with G Workspace, I will organise time to repull and test.

@HenryHengZJ

Copy link
Copy Markdown
Contributor

thanks all, merging in

@HenryHengZJ HenryHengZJ merged commit 8c11752 into FlowiseAI:main Oct 1, 2025
2 checks passed
erhhung pushed a commit to erhhung/flowise that referenced this pull request Oct 5, 2025
* Google Calendar Tool Missing sendUpdates Parameter

* option in Tools and NOT default to send all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Google Calendar Tool Missing sendUpdates Parameter - External Email Notifications Not Sent

3 participants