Skip to content

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

@aidivas

Description

@aidivas

Describe the bug

Checked the code ts files
The Google Calendar tool in Flowise does not include the sendUpdates parameter when creating or updating events, which prevents email notifications from being sent to external attendees (non-workspace emails). This results in inconsistent notification behavior where Google Workspace users receive notifications but external Gmail/other domain users do not.

To Reproduce

✅ Google Workspace emails (including aliases like sam+@xx.co) receive notifications
❌ External emails (like xx@gmail.com) do not receive notifications
Events are created successfully with all attendees, but external attendees never know they were invited

Create a new event using the Google Calendar tool with both workspace and external email attendees
Check email inboxes:

Workspace emails receive notifications
External Gmail/other domain emails receive no notifications

Expected behavior

When creating or updating calendar events with attendees, email notifications should be sent to all attendees regardless of their email domain. The Google Calendar API supports this via the sendUpdates parameter with values:

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

Screenshots

Google Workspace Notification Behavior:

Internal workspace emails get notifications by default regardless of sendUpdates parameter
External emails only get notifications when sendUpdates=all is explicitly set in the API call
Without the parameter, Google Calendar API defaults to sendUpdates=none

Comparison with Other Tools
n8n behavior: Works correctly for both workspace and external emails (properly implements sendUpdates=all)
Flowise behavior: Only works for workspace emails (missing sendUpdates parameter)

Flow

No response

Use Method

Docker

Flowise Version

3.0.6

Operating System

Linux

Browser

Chrome

Additional context

Affected Files:

packages/components/nodes/tools/GoogleCalendar/GoogleCalendar.ts

Required Changes:

Add sendUpdates parameter to schemas:

sendUpdates: z.enum(['all', 'externalOnly', 'none']).optional().default('all').describe('Whether to send notifications to attendees')

Modify API endpoints to include the parameter:
// For CreateEventTool
const queryParams = new URLSearchParams()
if (params.sendUpdates) queryParams.append('sendUpdates', params.sendUpdates)
const endpoint = calendars/${encodeURIComponent(params.calendarId)}/events?${queryParams.toString()}

// For UpdateEventTool
const queryParams = new URLSearchParams()
if (params.sendUpdates) queryParams.append('sendUpdates', params.sendUpdates)
const endpoint = calendars/${encodeURIComponent(params.calendarId)}/events/${encodeURIComponent(params.eventId)}?${queryParams.toString()}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions