with WhatsAble and Alchemer?
Sends a message to a verified WhatsApp number. See the documentation
The WhatsAble API enables automated interactions with WhatsApp, allowing you to send messages, create groups, and manage contacts programmatically. Integrating WhatsAble with Pipedream, you can craft serverless workflows that react to various triggers and perform actions on WhatsApp, like sending notifications or processing incoming messages. Pipedream's capability to connect with hundreds of apps opens up a multitude of automation possibilities, streamlining communication tasks and linking WhatsApp with your digital ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whatsable: {
type: "app",
app: "whatsable",
}
},
async run({steps, $}) {
const data = {
"to": `{{your_verified_phone_number}}`, // Replace with Verified WhatsApp numbers
"text": `Hello`,
}
return await axios($, {
method: "post",
url: `https://dashboard.whatsable.app/api/whatsapp/messages/send`,
headers: {
"Authorization": `${this.whatsable.$auth.api_key}`,
},
data,
})
},
})
The Alchemer API facilitates the creation and management of surveys, collection and analysis of responses, and automation of survey-related workflows. With Pipedream, you can harness this API to trigger actions in other applications based on survey events, sync survey data with databases or CRM systems, and even automate follow-up communications based on participant responses. Think of it as a bridge between Alchemer's rich survey feature set and a universe of other apps to streamline your data collection and analysis processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alchemer: {
type: "app",
app: "alchemer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.alchemer.com/v5/account`,
params: {
api_token: `${this.alchemer.$auth.api_key}`,
api_token_secret: `${this.alchemer.$auth.api_secret}`,
},
})
},
})