Whautomate - Omnichannel Customer Engagement Platform!
Emit new event when an appointment is cancelled in Whautomate.
Emit new event when a new appointment is scheduled in Whautomate.
Emit new event when a new client is created in Whautomate.
Assign one or more tags to an existing contact. See the documentation
Create a new contact associated with a WhatsApp number. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whautomate: {
type: "app",
app: "whautomate",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.whautomate.$auth.api_host}/v1/contacts`,
headers: {
"x-api-key": `${this.whautomate.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})