View as Markdown
Google Calendar icon

Google Calendar ACTION

Update Event

Update an event from Google Calendar. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Calendar account once, then configure and run Update Event from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "google_calendar-update-event",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_calendar: { authProvisionId: "apn_xxxxxxx" },
    calendarId: "Calendar",
    eventId: "Event",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update Event inputs
Property Type Description
calendarId Calendar string
Optionally select the calendar, defaults to the primary calendar for the logged-in user
Optional Dynamic
eventId Event string
Select an event from Google Calendar.
Required Dynamic
summary Event Title string
Enter a title for the event, (e.g., My event)
Optional
eventStartDate Event Start Date string
For all-day events, enter the Event day in the format yyyy-mm-dd. For events with time, format according to RFC3339: yyyy-mm-ddThh:mm:ss+01:00. A time zone offset is required unless a time zone is explicitly specified in timeZone.
Optional
eventEndDate Event End Date string
For all-day events, enter the Event day in the format yyyy-mm-dd. For events with time, format according to RFC3339: yyyy-mm-ddThh:mm:ss+01:00. A time zone offset is required unless a time zone is explicitly specified in timeZone.
Optional
location Event Location string
Specify the location of the event
Optional
description Event Description string
Enter a description for the event
Optional
attendees Attendees string
Enter either an array or a comma separated list of email addresses of attendees
Optional
repeatFrequency Repeat Frequency string
Select a frequency to make this event repeating
Optional
repeatInterval Repeat Interval integer
Enter 1 to "repeat every day", enter 2 to "repeat every other day", etc. Defaults to 1.
Optional
repeatSpecificDays Repeat Specific Days string[]
The event will repeat on these days of the week. Repeat Frequency must be WEEKLY.
Optional
repeatUntil Repeat Until string
The event will repeat only until this date, if set. Only one of Repeat Until or Repeat How Many Times may be entered.
Optional
repeatTimes Repeat How Many Times? integer
Limit the number of times this event will occur. Only one of Repeat Until or Repeat How Many Times may be entered.
Optional
timeZone Time Zone string
Time zone used in the response. Optional. The default is the time zone of the calendar.
Optional Dynamic
sendUpdates Send Updates string
Configure whether to send notifications about the event
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
google_calendar-update-event
Version
0.0.18
App
Google Calendar
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes