Interactive · button
Offer up to three tap-to-answer buttons.
A message with up to three reply buttons. The tap reaches your webhook with the button's id and title.
to and the message ids are n8n expressions that read the WhatsApp Trigger right before this node ($json.messages[0].from / .id). For a manual test, replace them with a number and a message id.
The JSON body
HTTP Request → Body → JSON{ "messaging_product": "whatsapp", "recipient_type": "individual", "to": "{{ $json.messages[0].from }}", "type": "interactive", "interactive": { "type": "button", "body": { "text": "Your booking is Thu at 6 pm. Keep it?" }, "action": { "buttons": [ { "type": "reply", "reply": { "id": "confirm", "title": "Confirm" } }, { "type": "reply", "reply": { "id": "reschedule", "title": "Reschedule" } }, { "type": "reply", "reply": { "id": "cancel", "title": "Cancel" } } ] } }}Limits & common mistakes
3 buttons max.
Source (opens in a new tab)Button title: 20 characters max and unique; id: 256 max and unique.
Source (opens in a new tab)Body: 1,024 max; optional header (text, image, video or document) and a footer of 60 max.
Source (opens in a new tab)The tap arrives as
Source (opens in a new tab)interactive.type=button_replywithidandtitle: route on the id, not the title.24-hour window.
Source (opens in a new tab)
How to set up the credential in n8n
- In n8n, open Credentials → Create credential and pick Header Auth.
- Fill in the two fields:NameAuthorizationValueBearer <your token>
- Open the pasted node. Authentication is already Generic → Header Auth; choose the credential you just made.
- Use a System User token from Meta Business settings; the token on the API Setup page expires within hours.Source (opens in a new tab)Source (opens in a new tab)
Your token lives in n8n only. I never ask for it.
Don't have time to build it? I'll build it for you.
Build it for meWhatsApp and n8n are trademarks of their owners. Pixtaha isn't affiliated with or endorsed by Meta or n8n.