Skip to main content

Deliveries, Retries and Logs

Every event a webhook sends is a delivery. Facilio records each one, retries it when the receiver fails, and logs every attempt.

No Event Is Lost​

The delivery is recorded together with the save that caused it. Facilio then sends it within seconds, outside the save. If a server restarts, or the first attempt never starts, a background job picks the delivery up within a minute. In rare cases (for example a server stopping in the middle of a request) the receiver can get the same event twice, with the same id, so receivers should ignore duplicates. An event is never silently dropped once the save is committed.

Delivery Statuses​

StatusMeaning
PendingRecorded, about to be sent.
SendingAn attempt is in progress.
SucceededThe receiver answered 2xx.
RetryingThe attempt failed in a way that may pass (see below); the next attempt is scheduled.
FailedThe receiver refused the event, or every attempt failed.
SkippedNot sent: the record was deleted or is not visible to the webhook's owner, the webhook was switched off, or the module is no longer licensed.

Automatic Retries​

The receiver ...Result
Answers 2xxSucceeded
Cannot be reached, times out, or answers 408, 429 or 5xxRetried after 1 minute, 5 minutes, 30 minutes and 2 hours (5 attempts in all, about 2.5 hours). If the last one fails too: Failed
Answers anything else (4xx, a redirect ...)Failed straight away, no retry

Retries can run up to a minute later than the times above. Every retry sends the same event id and changes; data is the record as it is at that attempt.

Automatic Switch-Off​

After 50 events in a row end as Failed, Facilio switches the webhook off, so a receiver that is gone does not keep receiving traffic. The webhook shows a warning icon with the reason; its owner can also see the reason as disabledReason in the API.

Fix the receiver, then switch the webhook back on. Events that happened while it was off are not sent; events that failed before it was switched off can still be retried.

The same happens, with its own reason, when the webhook's owner is deactivated or loses access to the application.

Seeing Deliveries in Setup​

In Setup > Automation > Webhooks, the deliveries icon on a webhook's row opens the events that need attention: Failed, Retrying, Pending and Sending.

A failed event: the receiver answered 404, so it was not retried.
A failed event: the receiver answered 404, so it was not retried.
ColumnMeaning
EventThe event name.
Record IDThe record it is about.
StatusSee Delivery Statuses.
AttemptsAttempts made so far.
Last errorThe response code and error of the latest attempt.
Occurred / Last attemptWhen the change happened, and when it was last tried. A Retrying event also shows its next try.

The full history of every attempt, successful ones included, is in the webhook logs.

Retrying Failed Events​

Once the receiver is fixed, send failed events again:

  • One event: click Retry on its row.
  • All failed events: click Retry all failed. Fill in Only events since to retry only events from that time on.
After Retry, the event is queued again and shows its next try.
After Retry, the event is queued again and shows its next try.

A retried event goes back into the queue with a fresh set of 5 attempts on the usual schedule. It keeps its event id and changes; data is the record as it is when sent; the conditions are not checked again (the event matched when it happened).

  • Only Failed events can be retried. Skipped events lost their record or owner.
  • The webhook must be switched on.
  • Finished deliveries are kept for 30 days, so that is how far back a retry can go.

With the API: POST /platform/webhook/{moduleName}/{id}/deliveries/{deliveryId}/retry for one event, and POST /platform/webhook/{moduleName}/{id}/retry (optional body {"data": {"since": "2026-11-17T00:00:00Z"}}) for all. See Deliveries and Retries.

Webhook Logs​

Every delivery attempt is also written to the Logs app, next to the script, workflow and trigger logs. Open the Logs app from the app switcher, then Explorer > Webhook Logs (or All Logs, where they appear with the log type Webhook). Click a line to see all of its fields.

One attempt of a failed event in the Logs app.
One attempt of a failed event in the Logs app.
FieldMeaning
webhookId, webhookName, urlThe webhook.
recordModuleName, recordIdThe record the event is about.
event, triggerLinkNameWhat happened, and the trigger that fired.
eventId, deliveryIdThe event's id (as the receiver saw it) and its delivery.
attemptWhich attempt this line is (1 to 5).
status1 Succeeded, 2 Retrying, 3 Failed, 4 Skipped.
responseCode, responseBody, durationMs, errorWhat the receiver answered, and how long it took.

An event that succeeds on its third attempt shows three lines: Retrying, Retrying, Succeeded. Test events are not logged.

Tip:To follow one event from Facilio to your system, search the logs for its eventId: it is the X-Facilio-Delivery header your receiver got.