Appointment Scheduling for Every Situation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The SuperSaaS API unlocks the power to automate and streamline your appointment scheduling processes. This tool is tailored for businesses and individuals who manage bookings, reservations, or rentals. By leveraging the API with Pipedream's integration capabilities, you can craft custom workflows that handle everything from syncing appointment data with your calendar, sending customized notifications, to processing payments or follow-ups based on booking activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supersaas: {
type: "app",
app: "supersaas",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.supersaas.com/api/schedules.json`,
params: {
account: `${this.supersaas.$auth.account}`,
api_key: `${this.supersaas.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})