with SuperSaaS and Salesloft?
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesloft: {
type: "app",
app: "salesloft",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.salesloft.com/v2/me`,
headers: {
Authorization: `Bearer ${this.salesloft.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})