Skip to content

Zapier Catch Hook vs Catch Raw Hook: Which Trigger to Use

Catch Hook parses the JSON for you; Catch Raw Hook keeps the raw body and headers a signature check needs. Compare the two, see a Python HMAC check and learn how Zapier's answers affect retries.

By AyeWatch Team5 min read

Short answer: Catch Hook parses a JSON body into fields you can map right away and is the quickest start. Catch Raw Hook passes the unparsed body together with the request headers, up to 2 MB, which is what a signature check needs. Use Catch Raw Hook when the Zap must prove a request came from the sender, such as AyeWatch.

What each trigger hands to the next step

Both are trigger events of Webhooks by Zapier, and both give you a URL to paste into the sending app.

Catch Hook parses the body. Send it {"headline": "...", "update_id": 281502} and the next step sees Headline and Update ID as separate fields. Nested lists, such as AyeWatch's evidence, usually show up as line-item fields. It has a Pick off a Child Key option for when you only want one branch of the JSON. Zapier's help page lists a 10 MB limit for it and doesn't list request headers in its output.

Catch Raw Hook skips parsing. The next step sees the body as one block of text, plus the request headers. The limit is 2 MB. You parse the JSON yourself, usually in a Code by Zapier step, and that same step can check the signature.

AyeWatch alerts are a few kilobytes, so neither size limit matters here. The deciding question is whether you need the headers and the exact bytes. The base setup for both is in the Zapier guide.

Check the AyeWatch signature in Python

AyeWatch signs every request: the X-AyeWatch-Signature header holds sha256= followed by the hex HMAC-SHA256 of the raw body, computed with your webhook secret. After a Catch Raw Hook trigger, add Code by Zapier with Run Python. Map the raw body into an input field named body and the signature header into one named signature. Zapier shows headers under its own labels, so pick them from the trigger's test data.

import hmac, hashlib, json

secret = "YOUR_AYEWATCH_SECRET"
body = input_data.get("body", "")
expected = "sha256=" + hmac.new(secret.encode("utf-8"), body.encode("utf-8"), hashlib.sha256).hexdigest()
is_valid = hmac.compare_digest(expected, input_data.get("signature", ""))

alert = json.loads(body) if is_valid else {}
evidence = alert.get("evidence") or [{}]
output = {
    "is_valid": is_valid,
    "topic_id": alert.get("topic_id", ""),
    "topic_name": alert.get("topic_name", ""),
    "update_id": alert.get("update_id", ""),
    "headline": alert.get("headline", ""),
    "content": alert.get("content", ""),
    "source_url": evidence[0].get("source_url", ""),
}

Add a Filter after it that continues only when is_valid is true. The secret is the value in the Signing Secret box on the AyeWatch webhook screen (Reveal, then Copy). hmac.compare_digest compares in constant time. For a JavaScript version of the same step, see the Zapier guide.

What Zapier answers, and what that does to retries

Zapier answers a webhook with 200, and its help page says that response can't be customized. AyeWatch treats any 2xx as delivered. So an alert that fails the signature check, or a Zap whose Sheets step errors later, still counts as delivered, and AyeWatch won't send it again. Check the Zap's run history when something is missing.

A Zap that is turned off or deleted answers 404, though Zapier notes 200s can continue for up to several hours after a change. AyeWatch retries a failed delivery with growing gaps, up to 10 attempts, and sends the same update_id each time. If you turn a Zap off for an hour and back on, retried alerts can arrive late, and a few may arrive twice. Keep update_id in your destination and skip rows you already have. A 3xx answer counts as failed and isn't retried, so paste the exact Zapier URL rather than a shortened link.

Zapier also documents a silent mode: add silent/ to the hook URL and the response body is empty. AyeWatch only needs the status code, so you can leave it off.

Which one to pick

  • Catch Hook when the Zap only writes to a place you own, such as a private sheet, and the URL staying secret is enough. It's fewer steps and every field is ready to map.
  • Catch Raw Hook when the Zap does something someone else sees: emails a client, opens a ticket, posts in a shared channel. A leaked URL plus Catch Hook means anyone can trigger those actions.
  • Catch Raw Hook when security review asks how you know a request is real. The signature check is the answer.

You can switch later. Change the trigger event, remap the fields from the Code step's output and test again.

Limits of both

  • The secret sits in the Code step. Anyone who can edit the Zap can read it. After you rotate the secret, with POST /api/v1/webhook/rotate-secret or the MCP tool rotate_webhook_secret, update the step at once or every alert fails the check.
  • No replay window. The signature covers the body only. Dedupe on update_id.
  • Paid plan. Webhooks by Zapier is on Professional, Team and Enterprise, not Free, as of November 2026.
  • No test button in AyeWatch. Wait for a real alert, or sign a sample body yourself with OpenSSL and send it with curl.

AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial. Webhooks need a paid AyeWatch plan, trial included.

Switch a Zap to Catch Raw Hook in six steps

  1. Open the Zap's trigger, change the event to Catch Raw Hook and copy the new URL from the Test tab.
  2. Paste the URL into Notification settings, Webhook in AyeWatch. AyeWatch emails the account owner when the URL changes.
  3. Wait for the next alert, or send a signed test request, and select Test trigger.
  4. Add Code by Zapier, Run Python, with body and signature as input fields, and paste the code above with your secret.
  5. Add Filter by Zapier: continue only if is_valid is true.
  6. Remap every later step to the Code step's output, test and publish.
Catch HookCatch Raw Hook
BodyParsed into fieldsUnparsed text
Request headersNot listed in the outputIncluded
Size limit (Zapier help page)10 MB2 MB
Signature checkNot possibleCode step plus Filter
Extra stepsNoneCode by Zapier and a Filter
Best forPrivate logs where the URL is the secretZaps that act on what the alert says

Start a monitor in under a minute

Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.

Try it free for 7 days

The bottom line

If the Zap only feeds your own sheet, Catch Hook is fine. If it emails, files or posts anything someone else sees, switch to Catch Raw Hook, add the Python check and a Filter, and keep update_id in the destination.

FAQ

What is the difference between Catch Hook and Catch Raw Hook?

Catch Hook parses the request body into fields you can map. Catch Raw Hook passes the unparsed body and the request headers, which you need to verify a signature.

Can Zapier verify an HMAC webhook signature?

Yes, with Catch Raw Hook and a Code by Zapier step. The step computes an HMAC-SHA256 of the raw body with your secret and compares it with the signature header.

Why not verify the signature after Catch Hook?

Catch Hook has already parsed the body, and rebuilding the JSON rarely reproduces the exact bytes that were signed. Its output also doesn't list the request headers.

Does Zapier's 200 response mean the Zap worked?

No. Zapier answers 200 when it accepts the request. Later steps can still fail, so check the Zap's run history. AyeWatch won't resend an alert that got a 200.

What happens to AyeWatch alerts while my Zap is off?

Zapier answers 404 for a Zap that is off, and AyeWatch retries the delivery up to 10 times with growing gaps. Alerts can arrive late or twice, so dedupe on update_id.

Is the 2 MB Catch Raw Hook limit a problem for AyeWatch?

No. AyeWatch alerts carry a headline, a summary and a few quotes with links, which is a few kilobytes.

zapier catch hook vs catch raw hookzapier catch raw hookzapier webhook signature verificationwebhooks by zapiercode by zapier hmac

Related articles