View as Markdown
Calendly icon

Calendly ACTION

List User Availability Schedules

List the availability schedules of the given user via GET /user_availability_schedules. Run List Organization Memberships first to obtain a user URI. Example: call with user set to https://api.calendly.com/users/AAAAAAAAAAAAAAAA to return that user's named availability schedules (e.g. Working Hours) with their weekly rules. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Calendly account once, then configure and run List User Availability Schedules 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-list-user-availability-schedules",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    calendly_v2: { authProvisionId: "apn_xxxxxxx" },
    organization: "Organization URI",
    user: "User URI",
  },
})

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.

List User Availability Schedules inputs
Property Type Description
organization Organization URI string
Organization URI (e.g. https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA). Run List Organization Memberships to find valid organization URIs.
Required
user User URI string
The User URI to retrieve availability schedules for (e.g. https://api.calendly.com/users/AAAAAAAAAAAAAAAA). Run List Organization Memberships to find valid user URIs.
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
calendly_v2-list-user-availability-schedules
Version
0.0.5
App
Calendly
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes