with TidyCal and Bash?
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
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS