Get customized WhatsApp Messages when you need it with our API.
Sends a message to a verified WhatsApp number. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
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,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})