Setting Up Webhooks in Setup
Administrators manage webhooks in Setup > Automation > Webhooks. Everything on this page can also be done with the V5 API: see Registering Webhooks with the V5 API.

The Webhooks Page
Choose the module at the top left. The list shows that module's webhooks:

| Column | What it shows |
|---|---|
| Name | Click it to edit the webhook. |
| URL | Where events are sent. |
| Trigger | The trigger it follows. Trigger deleted means the trigger is gone: the webhook sends nothing until you pick another one. |
| Status | The switch turns the webhook on and off. A warning icon next to it means Facilio switched it off itself; hover over it for the reason (see Automatic Switch-Off). |
| Last delivery | Whether the latest event was delivered, and when. |
| Failures in a row | Events in a row that ended Failed. It goes back to 0 at the next success. |
The icons at the end of each row open the edit form and the deliveries; the ⋮ menu has Send test, Rotate secret and Delete.
Adding a Webhook
Choose the module, then click Add Webhook.
Fill in the form:

A webhook that sends every new work order to an ERP. Field What to enter Name A name your team will recognize, for example ERP sync - new work orders. URL The receiver's address. It must be https://and reachable from the internet (see URL Rules).Trigger When to send. The list shows every trigger of the module that a webhook can follow; see Choosing a Trigger. Create a trigger opens Setup > Automation > Triggers if you need a new one. Active Leave it on to start sending right away. Conditions Optional. Only records that match are sent (see below). 
The Trigger list shows the module's triggers, system and custom. Click Create.
Facilio shows the webhook's signing secret. Copy it now and give it to whoever builds the receiver: it is not shown again. The receiver uses it to check that an event really came from Facilio (see Verifying the Signature).

The signing secret is shown once, right after the webhook is created.
Conditions
Conditions limit the webhook to records that match, for example Priority is High, or Site is Head Office. They use the same condition builder as workflows.

Conditions are checked on the record as it is saved, after the trigger's own workflows and status changes have run, so a field that a workflow sets is already set when the conditions are checked. A record that does not match is simply not sent; nothing is logged for it.
Sending a Test
Use ⋮ > Send test to check the receiver before real events arrive.

- Ping sends a small
pingevent with no record. It checks that the URL is reachable and answers. - Record sends the event this webhook would send for a real record (the latest one is filled in; you can enter any record ID), marked as a test with
"test": trueand anX-Facilio-Test: trueheader, so a receiver can tell it apart from a real event and not act on it.
The result shows whether the receiver accepted it, its response code and the first part of its answer:


Tests are not retried and do not appear in the deliveries or logs.
Editing, Switching Off and Deleting
- Edit (click the name or the edit icon) to change the name, URL, trigger, status or conditions. Editing does not change the webhook's owner (see Whose Data a Webhook Sends).
- Switch off with the Status switch. Nothing is sent while it is off, and events that happen meanwhile are not sent later. Switching it back on also clears the failure count.
- Rotate secret (⋮ menu) creates a new signing secret, shown once. Events from then on are signed with it, so update the receiver right away.
- Delete (⋮ menu) removes the webhook and its delivery history.
Deliveries
The deliveries icon opens the events that need attention: those that failed, are waiting for a retry, or are being sent. From there you can send failed events again. See Deliveries, Retries and Logs.