Fireberry webhooks in production: duplicates, ordering, retries and timeouts
This guide covers the problems Fireberry webhook automations cause in production and how to handle each one. How the Webhook action works, and why Fireberry has no event list, is on the Fireberry webhooks overview, and checking your secret header is on Verify Fireberry webhooks.
At a glance
| Problem | What to do | With Event Gateway |
|---|---|---|
| Timeouts | Return a 2xx quickly; process in a background job | Accepts each request at once, then queues it for your service |
| Duplicates | Deduplicate on your label, the record ID and a changing field | Drops repeats you define before they reach your handler |
| Ordering | Send a date field and ignore anything older | Logs every request and attempt, so you can see arrival order |
| Retries and Draft | Return a 2xx for what you skip; reconcile after a Draft | Keeps errors in your service out of Fireberry's count, then retries |
| Choosing events | Hard-code a label or path in each automation | Filters and routes by path, headers or body |
| Testing | Trigger a test record with awkward values | Forwards requests to localhost |
| Other limits | Plan for time-based runs and a static credential | Delivers at a rate you set |
Fireberry webhook timeouts and slow handlers
Fireberry documents no response time limit, so return a 2xx quickly and do the work in a background job.
Why it happens: The webhook article doesn't state a timeout or say whether a timeout counts as an error response. If it does, slow responses add to the count that switches an automation to Draft.
Fix it in your handler:
- Check the secret header, store the request and return
200. - Do the work from a queue. See why to process webhooks asynchronously.
- Keep calls to other services out of the request path.
With Event Gateway: Hookdeck answers Fireberry as soon as the request arrives and stores it, then queues it for your service. Slow work in your handler doesn't change the response Fireberry sees.
Duplicate Fireberry webhooks
Fireberry doesn't say whether a request can be sent twice, and some setups repeat by design. Deduplicate on your own label, the record ID and a field that changes with the record.
Why it happens: An automation set to fire when a record is updated sends a request each time a matching change happens. Separate automations on the same object each send their own request. Duplicating an automation copies every part of it, including its activation status, so a copy of an active automation is live with the same webhook.
Fix it in your handler:
- Put a label and the record ID, such as
{[!accountid]}, in every body. - Add a field that changes with the record, such as Modified On, to your key, so a real second update isn't dropped.
- Make writes idempotent where you can, so an upsert on the record ID gives the same result however many times it runs.
- Set a copied automation to Draft before you edit it.
With Event Gateway: Hookdeck can deduplicate on the fields you choose before requests reach your endpoint, so repeats are filtered in one place rather than in each handler.
Out-of-order Fireberry webhooks
Fireberry documents no ordering, so don't assume requests arrive in the order records changed.
Why it happens: The webhook article says nothing about sequence, and a request carries a timestamp only if your template adds one.
Fix it in your handler:
- Add a date field such as Modified On to the body, and ignore anything older than what you've stored.
- Where order matters, treat the request as a signal and read the current record from the REST API. Your handler makes that call, and the API's rate limits apply per organization.
With Event Gateway: Hookdeck logs every request and delivery attempt, so when state looks wrong you can see the order requests actually arrived in and replay them. Its max delivery rate can also keep a handler's follow-up API calls within your limits.
Fireberry webhook retries and the Draft rule
Fireberry documents no retry for a failed request. It does document that repeated errors set the automation to Draft, which stops every action in it.
Why it happens: Fireberry sets an automation to Draft after 1,000 consecutive error responses within 24 hours, or five consecutive error responses over a longer period, so a quiet automation can go off after only five failures. It emails the automation's creator and your primary system user. Its docs don't say which status codes count as errors, so treat anything other than a 2xx as one. A Draft automation does nothing when its triggers are met and no catch-up is documented, so changes made in the meantime aren't sent.
Fix it in your handler:
- Return a 2xx for requests you deliberately ignore.
- Change a secret on both sides at once, because a wrong secret makes your endpoint return errors.
- Put the webhook in its own automation if a Send Email or Update Record action has to keep running when your endpoint fails.
- Watch for the Draft email, fix the cause and switch the automation back to Active.
- After a Draft or an outage, read the records that changed from the REST API, because nothing documented resends them.
With Event Gateway: Hookdeck answers Fireberry and stores the request, so errors in your service don't reach Fireberry's count. Failures between Hookdeck and your service become retries you control, Issues alert you, and you can replay requests after a fix.
Telling Fireberry automations apart
Fireberry has no event list, and its docs describe nothing in the request that names the automation, so you decide how your handler tells them apart.
Why it happens: Each Webhook action sends the method, URL, headers and body you configured. The automation's Type, When and If aren't sent unless you write them in. Field references use each field's API name, and a related field uses the lookup field's name, an underscore and the related field's name.
Fix it in your handler:
- Hard-code a label in each body, as in the example below, or give each automation its own path in the URL.
- Use the If filter so only records you handle fire the automation. Fireberry requires a filter for the update triggers, because that's how it knows which fields count.
- Accept every method your automations use.
GEThas no body, so aGETrequest has to carry its values in the URL. - Add a
Content-Type: application/jsonheader, and treat the template as an API contract, because every receiver depends on it.
{
"event": "account.created",
"id": "{[!accountid]}",
"name": "{[!accountname]}"
}
The event key is your own label, and Fireberry doesn't add it.
With Event Gateway: Hookdeck filters can route requests by path, headers or a body field, so each automation's requests can go to a different destination. A Fireberry source pre-selects POST, so allow any other method your action uses.
Testing Fireberry webhooks
Trigger the automation with a test record and check what arrives, because Fireberry's article describes no test button or preview for the action.
Why it's awkward: Fireberry can't reach localhost, and the template only renders when the automation runs. Its docs don't say whether field values are escaped in a JSON body, so a value with a quote or a line break may break a hand-written template.
How to test:
- Add an If filter that only your test record matches, then activate the automation.
- Use a record with a quote and a line break in the fields your template references.
- Check the system log in the record's stream, which shows which webhook automations were sent.
- Remove the test filter once the body arrives as you expect.
With Event Gateway: hookdeck listen 3000 fireberry --path /webhooks/fireberry gives you a public URL that forwards to your machine. Use it as the action's URL to see each rendered request.
Other Fireberry webhook limits
Plan for time-based runs, a static credential and a second webhook surface with different documented thresholds.
- Time-based automations: Relative and fixed time automations are limited to 500 at a time, applied to the 500 most recently created records, so older matching records are skipped and one run can send many requests. Hookdeck delivers to your service at a max delivery rate you set.
- A secret header is all you get: A static header doesn't cover the body and carries no timestamp, and Fireberry's webhook article lists no source IPs. Use a long random value over
https://, keep it out of the URL and body, and make handlers idempotent so a replayed request does no harm. A Fireberry source in Hookdeck compares the header you name with the value you enter. A request with the wrong key still gets a 200, but it's recorded as failed verification and creates no event. - Customer journeys: A journey has its own webhook step with the same settings, documented in Hebrew. That article gives the thresholds the other way round: five consecutive failures within 24 hours, or 1,000 over a longer period. Assume the stricter rule if you use a journey's webhook step.
Keep a failing endpoint from switching your Fireberry automation to Draft.
Event Gateway answers Fireberry as soon as a request arrives and stores it, so errors in your service don't reach Fireberry's count, then retries delivery on your schedule.