Interactive · location_request_message
Ask for a location in one tap.
Sends your text with a single "Send location" button. Use it when the next step depends on where the customer is: delivery, the nearest branch, a site visit.
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": "location_request_message", "body": { "text": "Yes. Send your location and I'll confirm the time." }, "action": { "name": "send_location" } }}Limits & common mistakes
Body text: 1,024 characters max; no header, footer or media on this type.
Source (opens in a new tab)
Source (opens in a new tab)action.namemust besend_location; the button label is WhatsApp's and can't be changed.The answer comes back as a
Source (opens in a new tab)locationmessage (latitude, longitude, optional name and address) withcontext.idpointing at your request: route on typelocation, not on a button reply.
Source (opens in a new tab)to: include the country code. Plus signs, spaces, dashes and brackets are accepted, but a number without a country code gets your business number's code prepended and can reach the wrong person.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.