Google Calendar Tool Missing sendUpdates Parameter (#5241)

* Google Calendar Tool Missing sendUpdates Parameter

* option in Tools and NOT default to send all
This commit is contained in:
Kushal Bhana
2025-10-01 15:21:09 +05:30
committed by GitHub
parent 28b0174eea
commit 8c1175225f
2 changed files with 28 additions and 3 deletions
@@ -272,6 +272,22 @@ class GoogleCalendar_Tools implements INode {
additionalParams: true,
optional: true
},
{
label: 'Send Updates to',
name: 'sendUpdates',
type: 'options',
description: 'Send Updates to attendees',
options: [
{ label: 'All', name: 'all' },
{ label: 'External Only', name: 'externalOnly' },
{ label: 'None', name: 'none' }
],
show: {
eventActions: ['createEvent', 'updateEvent']
},
additionalParams: true,
optional: true
},
{
label: 'Recurrence Rules',
name: 'recurrence',
@@ -560,7 +576,6 @@ class GoogleCalendar_Tools implements INode {
}
const defaultParams = this.transformNodeInputsToToolArgs(nodeData)
const tools = createGoogleCalendarTools({
accessToken,
actions,
@@ -587,6 +602,7 @@ class GoogleCalendar_Tools implements INode {
if (nodeData.inputs?.startDate) defaultParams.startDate = nodeData.inputs.startDate
if (nodeData.inputs?.endDate) defaultParams.endDate = nodeData.inputs.endDate
if (nodeData.inputs?.attendees) defaultParams.attendees = nodeData.inputs.attendees
if (nodeData.inputs?.sendUpdates) defaultParams.sendUpdates = nodeData.inputs.sendUpdates
if (nodeData.inputs?.recurrence) defaultParams.recurrence = nodeData.inputs.recurrence
if (nodeData.inputs?.reminderMinutes) defaultParams.reminderMinutes = nodeData.inputs.reminderMinutes
if (nodeData.inputs?.visibility) defaultParams.visibility = nodeData.inputs.visibility