View as Markdown
Google Calendar icon

Google Calendar ACTION

Respond to Event Invitation

Accept, decline, or tentatively accept a Google Calendar event invitation on behalf of the authenticated user. Use this when you need to RSVP to an event. You can identify the event by its exact eventId or by eventName (searches upcoming events by title). If both are provided, eventId takes precedence. The calendarId defaults to primary (the user's main calendar). See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Calendar account once, then configure and run Respond to Event Invitation 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-respond-to-event",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_calendar: { authProvisionId: "apn_xxxxxxx" },
    calendarId: "Calendar",
    eventId: "Event ID",
  },
})

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.

Respond to Event Invitation 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 ID string
The ID of the event to respond to. Use this when you have the exact event ID. If you only have the event title, use eventName instead.
Optional
eventName Event Name string
The title (summary) of the event to respond to. Used to search for the event when you don't have the event ID. A case-insensitive search is performed and the first matching upcoming event is used.
Optional
responseStatus Response Status string
Your RSVP response to the event invitation.
Required
sendUpdates Send Updates string
Whether to send notification emails to the organizer and other attendees. Defaults to all (notify everyone).
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-respond-to-event
Version
0.0.2
App
Google Calendar
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes