Text · preview_url
Send a text with a link preview.
Plain text up to 4,096 characters. Turn on preview_url and WhatsApp unfurls the first link into a card with its title and image.
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": "text", "text": { "preview_url": true, "body": "Your order is on its way. Track it here: https://shop.example.com/t/4821" }}Limits & common mistakes
Body: 4,096 characters max.
Source (opens in a new tab)Only the first URL gets a preview, and it must start with http:// or https://.
Source (opens in a new tab)No preview available? WhatsApp shows a plain clickable link;
Source (opens in a new tab)preview_urlis optional.Only inside the 24-hour window after the customer's last message; after that, send an approved template first.
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.