Add to Calendar PRO ACTION
Update Event
Update an event in a group. See the documentation
- Action
- Writes data
- Destructive
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Add to Calendar PRO 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: "add_to_calendar_pro-update-event",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
add_to_calendar_pro: { authProvisionId: "apn_xxxxxxx" },
eventProKey: "Event Pro Key",
titleEventSeries: "Title Event Series",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "add_to_calendar_pro-update-event",
"configured_props": {
"add_to_calendar_pro": { "authProvisionId": "apn_xxxxxxx" },
"eventProKey": "Event Pro Key",
"titleEventSeries": "Title Event Series"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "add_to_calendar_pro",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "add_to_calendar_pro-update-event",
arguments: {
eventProKey: "Event Pro Key",
titleEventSeries: "Title Event Series",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
eventProKey Event Pro Key | string | The pro key of an event Required Dynamic |
titleEventSeries Title Event Series | string | The title of the event series Optional |
simplifiedRecurrence Simplified Recurrence | boolean | Set false, if you go for the "recurrence" field, which takes an RRULE; and true if you use the other recurrence fields Optional |
recurrence Recurrence | string | An RRULE. Use in combination with "Simplified Recurrence" being set to false. Optional |
recurrenceSimpleType Recurrence Simple Type | string | Use in combination with "Simplified Recurrence" being set to true. Optional |
recurrenceInterval Recurrence Interval | integer | The interval of the recurrence Optional |
recurrenceByDay Recurrence By Day | string | Example: 2MO,TU for the second Monday and each Tuesday Optional |
recurrenceByMonth Recurrence By Month | string | Example: 1,2,12 for Jan, Feb, and Dec Optional |
recurrenceByMonthDay Recurrence By Month Day | string | Example: 3,23 for the 3rd and 23rd day of the month Optional |
recurrenceCount Recurrence Count | integer | The count of the recurrence Optional |
recurrenceWeekStart Recurrence Week Start | string | The week start of the recurrence. Example: MO for Monday Optional |
iCalFileName iCal File Name | string | Overriding the ics file name Optional |
rsvp RSVP | boolean | Whether the event is an RSVP event Optional |
distribution Event Distribution | boolean | Whether the event is distributed to all group members Optional |
hideButton Hide Button | boolean | Whether the Add to Calendar button is hidden Optional |
cta Call to Action | boolean | Whether the event has a call to action Optional |
styleId Style ID | integer | The ID of a style Optional Dynamic |
landingPageTemplateId Landing Page Template ID | integer | The ID of a landing page template Optional Dynamic |
rsvpTemplateId RSVP Template ID | integer | The ID of an RSVP template Optional Dynamic |
ctaTemplateId CTA Template ID | integer | The ID of a Call to Action template Optional Dynamic |
numberOfDates Number of Dates | integer | The number of dates to create for the event Required |
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
- add_to_calendar_pro-update-event
- Version
- 0.0.3
- App
- Add to Calendar PRO
- Authentication
- API key
- Read-only
- No
- Destructive
- Yes
- Open world
- Yes
- Source
- View on GitHub ↗