with Synthflow and Microsoft Bookings?
Cancels an appointment in a Microsoft Bookings business. See the documentation
Creates a new appointment in a Microsoft Bookings business. See the documentation
Creates a new Microsoft Bookings business. See the documentation
Creates a new customer in a Microsoft Bookings business. See the documentation
Creates a new service in a Microsoft Bookings business. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
synthflow: {
type: "app",
app: "synthflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.synthflow.ai/v2/assistants`,
headers: {
Authorization: `Bearer ${this.synthflow.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_bookings: {
type: "app",
app: "microsoft_bookings",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/solutions/bookingBusinesses`,
headers: {
Authorization: `Bearer ${this.microsoft_bookings.$auth.oauth_access_token}`,
},
})
},
})