with YouCanBook.Me and Mode?
The YouCanBook.Me API allows for automating appointment scheduling by integrating with your calendar. It can trigger actions when new bookings are made, modified, or canceled. Building on Pipedream's platform enables developers to create robust workflows that can interact with other services. For example, you can confirm appointments, sync with other calendars, send custom emails, or update CRM records based on booking activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
youcanbook_me: {
type: "app",
app: "youcanbook_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.youcanbook.me/v1/${this.youcanbook_me.$auth.account_id}/profiles`,
auth: {
username: `${this.youcanbook_me.$auth.username}`,
password: `${this.youcanbook_me.$auth.api_key}`,
},
})
},
})
The Mode API provides programmatic access to Mode's analytics platform, allowing you to automate interactions with your Mode workspace. Using Mode with Pipedream, you can create workflows that interact with reports, queries, and spaces, or even manage members and permissions. This can include tasks like triggering a report run, fetching query results, or syncing users from other systems into Mode. By leveraging Pipedream's serverless platform, you can build robust, event-driven automations that integrate Mode with hundreds of other apps without the need for dedicated infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mode: {
type: "app",
app: "mode",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mode.com/api/account`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.mode.$auth.token}`,
password: `${this.mode.$auth.password}`,
},
})
},
})