Developer guides
n8n WhatsApp Integration: Send and Reply Without Meta's API
An n8n WhatsApp integration on your own number: send with the HTTP Request node, auto-reply through a webhook, and import the workflow.


An n8n WhatsApp integration needs two things: a way to send a message from any workflow, and a way to start a workflow when a message comes in. This guide does both with nodes n8n already has, the HTTP Request node and the Webhook node, connected to your own WhatsApp number through Hypersender. At the end you can download the finished auto-reply workflow and import it.
Why not n8n's built-in WhatsApp node?
n8n ships a WhatsApp Business Cloud node, and it works well if you're already on Meta's official platform. Getting there takes a Meta developer app, a verified business, a phone number that isn't used in the WhatsApp app, and approved templates for any chat you start. Meta also charges per message.
Hypersender links the number you already use by scanning a QR code, the same way WhatsApp Web does, and charges a flat monthly price. It is not Meta's official platform, so it suits messages people expect from you, such as order updates, reminders and replies to customers, not cold bulk sends. Hypersender vs the WhatsApp Business API compares the two in more detail.
What you need
- n8n Cloud, or a self-hosted n8n that the internet can reach over HTTPS (Hypersender has to be able to call your webhook)
- A Hypersender account with a WhatsApp instance connected by QR code
- Your API key and instance ID from the Hypersender dashboard
Send a WhatsApp message from n8n
Add an HTTP Request node anywhere in a workflow, after a new form entry, a new row in Google Sheets, a paid order, or a Schedule Trigger. Set it up like this:
| Setting | Value |
|---|---|
| Method | POST |
| URL | https://app.hypersender.com/api/whatsapp/v2/YOUR_INSTANCE_ID/send-text |
| Authentication | Generic Credential Type, then Header Auth |
| Send Body | On, Body Content Type JSON, Specify Body Using JSON |
Create the Header Auth credential once and reuse it in every workflow:
- Name:
Authorization - Value:
Bearer YOUR_API_KEY(the word Bearer, a space, then the key)
Then the JSON body:
{
"chatId": "201234567890@c.us",
"text": "Hi Sara, your order #1042 has shipped."
}The chatId is the phone number with its country code, no + or spaces, followed by @c.us. To fill it from earlier nodes, use expressions, for example "chatId": "{{ $json.phone }}@c.us".
A successful call returns a queued_request_uuid. It means Hypersender accepted the message and queued it, not that WhatsApp delivered it yet. If you need delivery status, the queued requests guide explains how to check it.
The same pattern works for every other endpoint in the WhatsApp API reference: change the path from send-text to send-image, send-file or send-poll, and change the JSON body to match.
Reply to incoming WhatsApp messages
Receiving works the other way around. Hypersender calls a URL every time something happens on your number, and an n8n Webhook node is that URL.
1. Add a Webhook node
Start a new workflow with a Webhook node:
- HTTP Method:
POST - Path:
hypersender-whatsapp - Authentication: Header Auth, with a new credential whose name is
Authorizationand whose value is a long random secret you make up - Respond: Immediately
Copy the node's Production URL. It looks like https://your-n8n.example.com/webhook/hypersender-whatsapp.
2. Point Hypersender at it
In the Hypersender dashboard, open your WhatsApp instance, add a webhook with the Production URL, and paste the same secret. Hypersender sends the secret in the Authorization header, so the Webhook node rejects any request that doesn't have it.
3. Keep only messages from people
The webhook fires for every event: new messages, delivery receipts, reactions, and messages your own number sends. Add an If node with three conditions joined by AND:
| Value | Condition | Compare with |
|---|---|---|
{{ $json.body.event }} | String: is equal to | message.any |
{{ $json.body.data.payload.fromMe }} | Boolean: is false | |
{{ $json.body.data.payload.from }} | String: ends with | @c.us |
The second condition matters most. Without it, your reply comes back as a new message event and the workflow answers itself in a loop. The third one skips group chats, whose IDs end in @g.us.
4. Send the reply
Connect an HTTP Request node to the If node's true output, with the same settings as the sending section above. Fill the body from the incoming message:
{
"chatId": "{{ $json.body.data.payload.from }}",
"text": "Thanks for your message. We usually reply within an hour."
}The message text is in {{ $json.body.data.payload.body }} if you want to route on it. A Switch node can send "price" to one reply and "hours" to another, or an AI Agent node can write the answer.
5. Turn it on
Publish or activate the workflow. The Production URL only works while the workflow is active. The Test URL only listens for one event after you click "Listen for test event", which is handy for seeing a real payload while you build.
Send a WhatsApp message to your number from another phone, and the reply arrives a moment later.
Import the finished workflow
Skip the setup and download the auto-reply workflow. In n8n, create a workflow, open the menu and choose Import from File, or paste the file's contents straight onto the canvas. Then:
- Open Hypersender webhook and create its Header Auth credential with your secret.
- Open Send WhatsApp reply, replace
YOUR_INSTANCE_IDin the URL, and create its Header Auth credential withBearer YOUR_API_KEY. - Change the reply text, add the Production URL in the Hypersender dashboard, and activate the workflow.
Common problems
The webhook returns 403. The secret in the Hypersender dashboard and the one in the Webhook node's credential don't match. Check for a space at the end.
Sending returns 401. The Header Auth value needs Bearer before the key. A key on its own is rejected.
Nothing happens when you message the number. Check that the workflow is active and the dashboard uses the Production URL, not the Test URL. A self-hosted n8n on localhost can't be reached from the internet. Use n8n Cloud, a public server, or a tunnel while you test.
The workflow keeps replying to itself. The fromMe condition is missing, or the HTTP Request node is attached to the If node's false output.
Next steps
- Writing the bot in code instead? See how to build a WhatsApp bot in Python
- Read every webhook event and field in the WhatsApp webhooks reference
- Keep your number safe when a workflow sends many messages: how to avoid a WhatsApp number ban
- Failed calls to your n8n webhook appear in the dashboard's webhook logs, where you can retry them
Create a Hypersender account, connect your number by QR code, and your first n8n workflow can send a WhatsApp message today.





