with WATI and Dixa?
Emit new event when a contact is created from an incoming WhatsApp message.
Emit new event when there is an incoming message on your number.
Emit new event when a conversation is created in Dixa. See the documentation
Emit new events when the status of a conversation changes (e.g., open, closed, or abandoned). See the documentation
Emit new event when a customer submits a satisfaction rating for a conversation. See the documentation
Adds a message to an existing conversation. See the documentation
Creates a new email or contact form-based conversation. See the documentation
Enables sending of WhatsApp messages using a pre-approved template. See the documentation
The WATI API allows you to power up your customer engagement by leveraging WhatsApp messaging. With Pipedream's capabilities, you can create serverless workflows that integrate WATI to automate personalized notifications, process inbound messages, and manage contacts. This can help scale your customer service, marketing campaigns, and streamline communications with WhatsApp's wide user base.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wati: {
type: "app",
app: "wati",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.wati.$auth.api_endpoint}/api/v1/getContacts`,
headers: {
"Accept": `*/*`,
"Authorization": `${this.wati.$auth.access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dixa: {
type: "app",
app: "dixa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dev.dixa.io/v1/agents`,
headers: {
"authorization": `${this.dixa.$auth.api_key}`,
},
})
},
})