Troubleshooting and FAQ
A Webhook Did Not Send
Check, in this order:
- Is the webhook on? In Setup > Automation > Webhooks, the Status switch must be on. A warning icon next to it means Facilio switched it off; hover over it for the reason (see Automatic Switch-Off).
- Is the trigger right, and on? The Trigger column must show the trigger you expect (not Trigger deleted), and the trigger must be active in Setup > Automation > Triggers.
- Did the trigger fire? A webhook fires exactly when its trigger fires. Edits made by processes that skip automation, such as some data imports, do not fire triggers. Check the trigger logs in the Logs app.
- Did the record match the conditions? A record that does not match is not sent and not logged. Remove the conditions for a moment, or send a Record test.
- Is there a delivery? Open the webhook's deliveries in Setup, or search the webhook logs for the record ID. A Skipped delivery means the webhook's owner cannot see the record.
The Receiver Says It Got Nothing
- Send a Ping from ⋮ > Send test. The result shows the receiver's answer and response code.
- Receiver responded with HTTP 4xx: the URL or its token is wrong, or the receiver refused the request (for example it expects a different path).
- Receiver responded with HTTP 5xx: the receiver is failing. Facilio retries real events automatically.
- A connection or timeout error: the receiver is not reachable from the internet, or takes more than 10 seconds to answer.
Common Questions
Which modules can have webhooks? Every module the V5 API serves: system modules such as work orders, service requests, invoices, purchase orders and quotes, and your custom modules.
Can I send only some records?
Yes. Add conditions in Setup, or criteria in the API, for example Priority is High. For changes to specific fields, follow a field-change trigger (see Custom Triggers).
How do I know which field changed?
Use the Edit trigger: update events carry changes, with the old and new value of every field the save changed (see Changes).
Can one URL receive several webhooks?
Yes. Route on event, moduleName, trigger.linkName or webhookId in the body.
Is the order of events guaranteed?
No. Events are sent as soon as possible and failed ones are retried later, so they can arrive out of order. Use occurredAt, and treat data as the latest state of the record.
Can an event arrive twice?
Yes, rarely, for example after a network error. It has the same id both times: skip an id you have already processed.
How do I make sure an event comes from Facilio?
Check the X-Facilio-Signature header with the webhook's signing secret (see Verifying the Signature).
I lost the signing secret.
Rotate it (⋮ > Rotate secret, or POST .../rotatesecret). A new secret is shown once; update the receiver right away.
Can I add my own headers, such as an Authorization header? No. Put a token in the URL (path or query string), and verify the signature.
Do webhooks work in a sandbox? Yes, exactly as in production. Register them in the sandbox's own Setup, or with an API key of the sandbox (see Base URL).
Do webhooks work with scheduled triggers? No. Scheduled triggers (for example "3 days before the due date") run only through workflows. Use a workflow for those.
Does a webhook slow down saving records? No. While saving, Facilio only records that an event is due; the request to your receiver is made afterwards, outside the save. A slow or unreachable receiver never delays the people using Facilio.
How long is the delivery history kept? 30 days. Failed events can be retried within that time.