n8n
Two importable templates: send a message on any event (a new order, for example), and receive customer replies with webhook signature verification. Tested on n8n 2.43.
- 1Download the template file and import it in n8n (Import from file).
- 2In the send template, replace YOUR_WHATSGO_TOKEN with the token from Dashboard → Device → API.
- 3POST to the template’s webhook URL with eventId, phone and message. eventId is the idempotency key, so a message is never sent twice.
- 4In the receive template, paste the webhook secret (whsec_…) and copy its production URL into WhatsGo. Self-hosted n8n needs NODE_FUNCTION_ALLOW_BUILTIN=crypto to verify the signature.
curl -X POST https://YOUR-N8N/webhook/whatsgo-send \
-H "Content-Type: application/json" \
-d '{"eventId":"order-1001","phone":"201012345678","message":"Your order is on its way"}'