WhatsApp Business products support businesses from large to small. Engage audiences, accelerate sales and drive better customer support outcomes on the platform with more than 2 billion users around the world.
Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.
Emit new event when a new message is sent or received. A Webhook subscribed to field "messages" must be set up from the App Dashboard of your Facebook Developer Account. See documentation for more information about Webhook setup.
Get a URL and emit the HTTP body as an event on every request
Emit new event when the content of the URL changes.
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Send a text message using a pre-defined template. Variables can be sent only as text. See the docs.
Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.
The WhatsApp Business API on Pipedream is a powerful avenue for automating interactions with customers on WhatsApp. You can send messages, set up automated responses, and manage conversations on a large scale. With Pipedream's serverless platform, you can create workflows that trigger from various events and connect WhatsApp Business with numerous other apps to automate tasks, notify teams, sync data, and more, all without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whatsapp_business: {
type: "app",
app: "whatsapp_business",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.facebook.com/v15.0/${this.whatsapp_business.$auth.business_account_id}/phone_numbers`,
headers: {
Authorization: `Bearer ${this.whatsapp_business.$auth.permanent_access_token}`,
},
})
},
})
Build, test, and send HTTP requests without code using your Pipedream workflows. The HTTP / Webhook action is a tool to build HTTP requests with a Postman-like graphical interface.
Define the target URL, HTTP verb, headers, query parameters, and payload body without writing custom code.
This action can also use your connected accounts with third-party APIs. Selecting an integrated app will automatically update the request’s headers to authenticate with the app properly, and even inject your token dynamically.
Pipedream integrates with thousands of APIs, but if you can’t find a Pipedream integration simply use Environment Variables in your request headers to authenticate with.
The HTTP/Webhook action exports HTTP response data for use in subsequent workflow steps, enabling easy data transformation, further API calls, database storage, and more.
Response data is available for both coded (Node.js, Python) and no-code steps within your workflow.
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
async run({ steps, $ }) {
const { data } = await axios({
method: "GET",
url: "https://pokeapi.co/api/v2/pokemon/charizard",
})
return data.species
},
})