WhatsApp official API in Zapier with Webhooks
Connect Zapier to the official WhatsApp API through CRPRO Hub using Webhooks by Zapier: Catch Raw Hook to receive, Custom Request to send, and the pitfalls.
As far as this research could confirm, there is no CRPRO Hub app inside Zapier. The route Zapier's documentation supports is the Webhooks by Zapier app: a trigger receives Hub events and an action sends the messages. It works well for short flows, but three points change the design: the app is premium, a turned-off Zap can keep answering 200, and checking the signature needs the raw body.
What Webhooks by Zapier offers
Short answer: two useful triggers and three send actions. The triggers are Catch Hook, which parses the body, and Catch Raw Hook, which delivers the body unparsed and includes the headers. The actions are Custom Request, GET, POST and PUT.
According to Zapier, both triggers accept GET, PUT and POST on a unique URL. Catch Raw Hook passes the raw body up to 2 MB and includes the headers; the maximum trigger payload is 10 MB. The POST action sends a request as form data or JSON, and Custom Request builds the call from raw details, which Zapier describes as flexible but requiring precise setup. The app is not on the free plan: it is listed as included in the Professional, Team and Enterprise plans.
How to send a message with the Custom Request action
Short answer: use Custom Request with method POST, the channel URL, the Authorization, Idempotency-Key and Content-Type headers, and a JSON body with to, type and text. The Hub answers 202 with status accepted.
- Create an API key with the messages:send scope and copy the value right away, because it is shown only once (authentication).
- Add the Webhooks by Zapier action, event Custom Request.
- Fill in method, URL, headers and data as in the block below. Idempotency-Key is mandatory; use a value that repeats if the Zap is reprocessed, such as the trigger's event id.
- Test the action with your own number and check the 202 response. The quickstart explains what it means.
Method: POST
URL: https://crprohub.com/api/v1/channels/CHANNEL_UUID/messages
Headers: Authorization: Bearer hub_pk_EXEMPLO_NAO_REAL
Idempotency-Key: id of the event received by the trigger
Content-Type: application/json
Data: {"to":"5521999999999","type":"text","text":{"body":"Olá"}}curl -X POST https://crprohub.com/api/v1/channels/CHANNEL_UUID/messages \
-H "Authorization: Bearer hub_pk_EXEMPLO_NAO_REAL" \
-H "Idempotency-Key: 4a50df76-d6c5-49f3-90a4-13907579d924" \
-H "Content-Type: application/json" \
-d '{"to":"5521999999999","type":"text","text":{"body":"Olá"}}'The exact field names on the Custom Request screen, such as whether the body goes in a "Data" field and how the content type is declared, may vary with the version of the screen. The block above shows what the Hub API needs to receive; adapt the labels to what your screen shows. If you prefer a more guided form, the POST action sends JSON, but remember the Hub body has nested objects (text.body), which usually calls for care when building the fields.
How to receive events with Catch Raw Hook
Short answer: create a Zap with the Catch Raw Hook trigger, copy the URL, register it in the Hub with event_types message.received and test with a real event. Prefer Raw over Catch Hook because only it brings the signature headers and the untouched body.
- In Zapier, create the Webhooks by Zapier trigger, event Catch Raw Hook, and copy the URL.
- In the Hub, register the URL with the call below and keep the whsec_ secret, shown only once.
- Use POST /api/v1/webhooks/{id}/test (10 per hour per endpoint) to generate a sample, or wait for a real event.
- Add the Zap actions and publish.
curl -X POST https://crprohub.com/api/v1/webhooks \
-H "Authorization: Bearer hub_pk_EXEMPLO_NAO_REAL" \
-H "Content-Type: application/json" \
-d '{"name":"Recebimento","url":"https://hooks.zapier.com/hooks/catch/YOUR_ID/YOUR_KEY/","event_types":["message.received"]}'{
"id": "6f1f0f6a-3b2c-4d1e-9a8b-0c1d2e3f4a5b",
"event": "message.received",
"channel_id": "9f6a9c1e-2f3d-4a5b-8c7d-1e2f3a4b5c6d",
"occurred_at": "2026-08-21T12:00:00.000Z",
"data": {
"message_id": "wamid.EXEMPLO123",
"from": "5521999999999",
"type": "text",
"text": "Oi, ainda tem em estoque?"
}
}The Hub requires HTTPS, does not follow redirects and wants a 2xx within 10 seconds. Zapier's default response on receipt is 200, which satisfies the Hub. There is an option to append silent/ to the URL to suppress that response, but the documentation consulted does not say what answers instead; so avoid it without testing against the Hub test endpoint.
Pitfalls: turned-off Zap, batches and rate
Short answer: the biggest risk is losing events without seeing an error. If the Zap is turned off or deleted, the URL may keep returning 200 for several hours before switching to 404, and the Hub reads each 200 as a completed delivery.
That defeats the Hub safety net. Normally a failure triggers up to nine retries over about four days and, after 20 consecutive failures, the endpoint is paused. With the URL still answering 200, none of that happens and events vanish. Before turning a Zap off, pause the Hub endpoint through PATCH /api/v1/webhooks/{id} with {"status":"paused"}, or afterwards recover the gap with GET /api/v1/channels/{id}/messages and direction=inbound. The accepted status values are active, paused and disabled, and events during the pause generate no delivery; see webhooks.
- An array of JSON objects sent to the URL triggers the Zap once per object. The Hub sends one event per delivery, so this only matters if you resend batches yourself.
- Zapier applies rate limits, and heavy simultaneous traffic can delay data reaching later steps. Combine that with the Hub send limit of 60 messages per minute per channel.
- Combined URLs only work for webhooks owned by the same user.
HMAC signature and repeated deliveries
Short answer: Catch Raw Hook delivers what verification needs, headers and raw body, but computing the HMAC requires a code step. Test that code step with a real delivery before relying on it and, if you prefer, validate the signature in a service of your own.
The Hub signs timestamp.delivery_id.body with HMAC SHA-256 and sends X-Hub-Timestamp, X-Hub-Delivery-Id, X-Hub-Signature-Version and X-Hub-Signature-256. Whoever implements the check must use constant-time comparison, as the webhooks page shows. If the flow is sensitive, validate in a service of your own and leave Zapier only what has passed.
On duplicates, the Hub repeats a delivery when it gets no 2xx, and the id field in the body stays the same on retry and replay. Zapier does not deduplicate for you. Use the id as the Idempotency-Key on send: resending the same key with the same body returns the original response instead of sending another message.
Frequently asked questions
Is there a CRPRO Hub app in Zapier?
There is no CRPRO Hub app in Zapier. The integration described uses the Webhooks by Zapier app, with Catch Raw Hook to receive and Custom Request to send.
Do I need a paid Zapier plan?
For Webhooks by Zapier, the documentation says the app is not on the free plan and is included in the Professional, Team and Enterprise plans. Check current plans on Zapier before subscribing.
Why did the Hub show no failure with the Zap turned off?
Because, according to Zapier, the URL of a turned-off or deleted Zap can keep returning 200 for several hours before turning into 404. The Hub counts 200 as a completed delivery and does not retry.
Catch Hook or Catch Raw Hook?
For this case, Catch Raw Hook: it passes the body unparsed, up to 2 MB, and includes the headers, which carry the Hub signature.
Fontes
Documentação oficial da Meta, conferida em 31 de outubro de 2026.