Webhooks
A webhook sends a Facilio record to a URL of your choice whenever something happens to it: a work order is created, an invoice is edited, a comment is added to a service request, and so on. The other system (your ERP, a middleware, a Facilio Vibe app, any HTTPS endpoint) receives the record as JSON within seconds, and can act on it.
Webhooks work on any module the Facilio V5 API serves, system modules (work orders, service requests, invoices, purchase orders, quotes, assets, sites ...) and your custom modules alike, and on any trigger of that module, including triggers you create yourself.
Why Use Webhooks
They keep saving records fast. An integration built as a workflow action (a script that calls another system) runs while the record is being saved. On a busy module, one save can run dozens of workflows; every external call adds its wait to the save, holds the database records open while it waits, and can make the save time out for the user. A webhook does none of this:
- When the trigger fires, Facilio only notes that an event is due, as part of the save. The save finishes at normal speed.
- The record is sent after the save is committed, from a separate delivery service, never from the user's request. A slow or unreachable receiver cannot slow down or block anyone working in Facilio.
- If the receiver is down, Facilio retries on its own, and keeps a log of every attempt that you can inspect and replay.
They replace polling. Instead of asking Facilio every few minutes "has anything changed?", the other system is told the moment it happens, with the change itself.
They are a stable contract. Every event has the same shape: what happened, which trigger fired, what changed, and the record in exactly the format the V5 API returns it. A middleware written against it does not need to change when you add fields or workflows.
What You Can Build
| Example | Module and trigger |
|---|---|
| Create the invoice in your ERP as soon as it is raised in Facilio | Invoice, Create |
| Keep a work order in sync with a contractor's system | Work Order, Edit (the event lists exactly what changed) |
| Copy every comment and file on a service request to your helpdesk | Service Request, Add Comment and Add Attachment |
| Notify a chat channel when a high-priority work order is created | Work Order, Create, with the condition Priority is High |
| Run your own logic in a Facilio Vibe app | Any module and trigger, with the Vibe app's webhook URL as the URL |
How It Works
- You register a webhook: a module, one of its triggers, an HTTPS URL and, optionally, conditions. Use Setup > Automation > Webhooks, or the V5 API.
- When that trigger fires on a record (and the record matches the conditions), Facilio sends a signed
POSTrequest to the URL with the event. - The receiver answers with any
2xxstatus. If it fails or does not answer, Facilio tries again (5 attempts over about 2.5 hours). Every attempt is logged.

Before You Start
- Triggers must be enabled for your organization. Webhooks follow module triggers; if you see Setup > Automation > Triggers, you have them.
- Permission. Managing webhooks in Setup needs access to the Webhooks page (Setup > Automation), which administrators have. With the API, you need read access to the module.
- A receiver. An HTTPS URL reachable from the internet. If you do not have one yet, a Facilio Vibe app can be the receiver: see Receiving Webhooks.