View as Markdown
Zoho Bookings icon

Zoho Bookings ACTION

Fetch Availability

Fetch availability of appointments across services. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Zoho Bookings account once, then configure and run Fetch Availability 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: "zoho_bookings-fetch-availability",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoho_bookings: { authProvisionId: "apn_xxxxxxx" },
    serviceId: "Service ID",
    staffId: "Staff 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.

Fetch Availability inputs
Property Type Description
serviceId Service ID string
The unique id of the service for which availability is to be fetched.
Required Dynamic
staffId Staff ID string
The unique id of the staff associated with the service for which availability is to be fetched.
Required Dynamic
resourceId Resource ID string
The unique id of the resource associated with the service for which availability is to be fetched.
Optional Dynamic
selectedDate Selected Date string
The date on which services are checked for availability. format: dd-MMM-yyyy (e.g. 30-Apr-2019)
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
zoho_bookings-fetch-availability
Version
0.0.2
App
Zoho Bookings
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes