with Setmore and WhatsApp by Online Live Support?
Emit new event when a new appointment is created in Setmore. See the documentation
Create a new appointment in Setmore Appointments. See the documentation
Create a new customer in Setmore Appointments. See the documentation
The Setmore API opens doors to automating appointment scheduling and calendar management, allowing you to sync appointments, customer information, and services across different platforms. This seamless integration through Pipedream can trigger workflows from new appointments, update external CRMs with customer data, or prep team communication channels with upcoming schedule details. By harnessing the Setmore API on Pipedream, you're equipping yourself to orchestrate complex operations with simplicity and precision.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
setmoreappointments: {
type: "app",
app: "setmoreappointments",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://developer.setmore.com/api/v1/bookingapi/staffs`,
headers: {
Authorization: `Bearer ${this.setmoreappointments.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})
The WhatsApp by Online Live Support API on Pipedream lets you automate interactions with WhatsApp, enabling you to send messages, create groups, and manage chats within a workflow. By leveraging this API with Pipedream's capabilities, you can craft event-driven automations that trigger actions in WhatsApp based on external events or conditions defined in other apps, such as receiving a customer support ticket, triggering a follow-up after a certain period, or coordinating team alerts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
online_live_support: {
type: "app",
app: "online_live_support",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://v2.onlinelivesupport.com/sessions/status/${this.online_live_support.$auth.session_id}`,
})
},
})