with Sessions and TidyCal?
Emit new event when a session ends. Useful for data processing initiation. See the documentation
Emit new an event when a session starts. See the documentation
Triggered when an existing appointment is cancelled by a client or by the owner. See the documentation
Triggered when a new appointment is booked using TidyCal. See the documentation
The Sessions API enables developers to handle real-time data streams and manage user sessions effectively. With Pipedream's power to integrate various services, the Sessions API can be the backbone of workflows that require managing user states across events. You can track user activities, tailor user experiences based on session data, or even trigger specific actions when certain session events occur.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sessions: {
type: "app",
app: "sessions",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.app.sessions.us/api/booking-pages`,
headers: {
"x-api-key": `${this.sessions.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
The TidyCal API allows for scheduling automation, linking your calendar to create and manage bookings. In Pipedream, you can harness this API to create event-driven workflows, such as syncing with other calendar services, triggering reminders, or connecting with CRM systems to streamline your scheduling process. Pipedream's serverless platform enables you to build and run these workflows efficiently, without the need to manage infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tidycal: {
type: "app",
app: "tidycal",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://tidycal.com/api/me`,
headers: {
Authorization: `Bearer ${this.tidycal.$auth.oauth_access_token}`,
},
})
},
})