with Zoho Bookings and Data Stores?
Book an appointment for a customer for a desired service. See the documentation
Add or update a single record in your Pipedream Data Store
Fetch availability of appointments across services. See the documentation
Add or update multiple records to your Pipedream Data Store
Get details of an appointment See the documentation
The Zoho Bookings API lets you integrate your booking system with other apps and services, automating tasks like scheduling, rescheduling, and cancelling appointments. On Pipedream, you can use this API to trigger workflows, process booking data, synchronize schedules across platforms, and create custom notifications. It's a powerful tool for service-based businesses looking to streamline their operations and enhance customer interaction.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_bookings: {
type: "app",
app: "zoho_bookings",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_bookings.$auth.api_domain}/bookings/v1/json/workspaces`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_bookings.$auth.oauth_access_token}`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})