View as Markdown
Calendly icon

Calendly ACTION

Cancel Event

Cancel a scheduled Calendly event. Posts to POST /scheduled_events/{uuid}/cancellation. Run List Events first to obtain the event UUID. Example: with eventUuid set to a1b2c3d4-e5f6-7890-abcd-ef1234567890 and reason set to Schedule conflict - rescheduling needed, the event is canceled and all invitees are notified. See the documentation.
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Calendly account once, then configure and run Cancel 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: "calendly_v2-cancel-event",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    calendly_v2: { authProvisionId: "apn_xxxxxxx" },
    eventUuid: "Event UUID",
    reason: "Reason",
  },
})

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.

Cancel Event inputs
Property Type Description
eventUuid Event UUID string
The UUID of the scheduled event to cancel (the {uuid} path segment, e.g. a1b2c3d4-e5f6-7890-abcd-ef1234567890). Run List Events first to obtain event UUIDs. Do not pass the full URI; only the UUID.
Required
reason Reason string
Optional reason for the cancellation (max 10000 characters), e.g. Schedule conflict - rescheduling needed. Sent as the reason field in the request body.
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
calendly_v2-cancel-event
Version
0.0.2
App
Calendly
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes