with WATI and Email?
Get a unique address where you can send emails to trigger your workflow.
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.
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com
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}`,
},
})
},
})
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});