with WATI and Yespo?
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 contact is added to a specific segment in Yespo.
Adds a new contact or updates an existing one. See the documentation
Enables sending of WhatsApp messages using a pre-approved template. See the documentation
Allows updating attributes/tags related to an existing contact. 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}`,
},
})
},
})
The Yespo API offers a platform for personalized customer engagement through multichannel marketing automation. By integrating Yespo with Pipedream, you can create custom workflows that trigger based on customer interactions or data changes. This allows for dynamic campaign management, customer segmentation, and real-time analytics, enabling you to automate and scale personalized marketing efforts efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yespo: {
type: "app",
app: "yespo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://yespo.io/api/v1/account/info`,
headers: {
"Accept": `application/json; charset=UTF-8`,
},
auth: {
username: `x`,
password: `${this.yespo.$auth.api_key}`,
},
})
},
})