Add to Calendar PRO ACTION
Create RSVP Template
Create an RSVP template. See the documentation
- Action
- Writes data
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Add to Calendar PRO account once, then configure and run Create RSVP Template 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-create-rsvp-template",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
add_to_calendar_pro: { authProvisionId: "apn_xxxxxxx" },
rsvpTemplateName: "RSVP Template Name",
max: 10,
},
})
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-create-rsvp-template",
"configured_props": {
"add_to_calendar_pro": { "authProvisionId": "apn_xxxxxxx" },
"rsvpTemplateName": "RSVP Template Name",
"max": 10
}
}'// 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-create-rsvp-template",
arguments: {
rsvpTemplateName: "RSVP Template Name",
max: 10,
},
})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 |
|---|---|---|
rsvpTemplateName RSVP Template Name | string | The name of the RSVP template Required |
max Max | integer | Max amount of seats; defaults to unlimited Optional |
maxPP Max Per Person | integer | Max seats per sign-up; defaults to 1 Optional |
expires Expires | string | an optional expiration date as ISO 8601 UTC datetime Optional |
maybeOption Maybe Option | boolean | Whether to allow users to select a maybe option Optional |
initialConfirmation Initial Confirmation | boolean | If true, the initial sign-up will always be "confirmed" Optional |
doi DOI | boolean | If true, each user will need to confirm his email Optional |
headline Headline | string | The headline of the RSVP template Optional |
text Text | string | The text of the RSVP template Optional |
fields Fields | string[] | The fields of the RSVP template. Example: [{ "type": "text", "name": "additional_info", "label": "Additional note", "required": false, "placeholder": "Type here...", "default": "Call me maybe" }] See the documentation for more information. Optional |
emailRsvpDoi Email Template: DOI | integer | The ID of an email template Optional Dynamic |
emailRsvpThankYou Email Template: Thank you | integer | The ID of an email template Optional Dynamic |
emailRsvpSignupConfirmation Email Template: Sign-up Confirmation | integer | The ID of an email template Optional Dynamic |
emailRsvpChangeConfirmation Email Template: Change Confirmation | integer | The ID of an email template Optional Dynamic |
emailRsvpEventUpdate Email Template: Event Update | integer | The ID of an email template Optional Dynamic |
emailRsvpMagicLink Email Template: Magic Link | integer | The ID of an email template Optional Dynamic |
emailRsvpSecondSignup Email Template: Second Sign-up | integer | The ID of an email template Optional Dynamic |
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-create-rsvp-template
- Version
- 0.0.3
- App
- Add to Calendar PRO
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗