Explore the behavior
Create a webhook in the UI
Open Webhooks and select Trigger webhook. The form exposes:
The Platform API also supports searchable
metadata, static-egress proxy, maskDetails, and controlled creator/system attribution.
maxRetries; maxAttempts is rejected. An instance retry policy can impose a lower cap. Job and Agent retry policies keep their separate maxAttempts contract.
Stage a webhook with a database write
Usetx.triggerWebhook() in a low-code Component when an outbound notification should be admitted only if a business write commits. This example requires write access to the orders Database with orderId as its primary key, and permission to trigger webhooks. Replace the example URL with an authorized test receiver.
idempotencyKey identifies admission for an identical request. The request header lets a receiver that supports idempotency deduplicate the business effect. After commit, find the returned webhookId in Webhooks and inspect delivery separately. A rollback discards the staged webhook.
Credentials and sensitive details
Static headers are persisted configuration. Do not place a long-lived API key in a screenshot, example, searchable metadata, or unmasked history. For stronger credential control, call the external API from a Component withapi.httpCall() and resolve the credential from Secrets. This also lets you compute signatures, rotate versions, validate responses, and write a business transaction around the call.
If a Webhook must contain a sensitive header, disable unnecessary detail retention and configure maskDetails for the persisted projection.
Attempt lifecycle
The Webhooks grid is operational history. A row records status, attempt count, scheduled time, elapsed time, payload size, creator, and metadata. Use Request and Response, immediately after Size, to open the retained details on demand. The columns are available for inspection and the operational metadata remains filterable. The outbound request belongs to this one Webhook; delivery attempts are separate evidence, not copies of the request payload. Open Delivery attempts in the Webhook details to inspect the recorded result, timestamps, and duration. The separate HTTP column shows the receiver status when available and supports numeric filters and sorting. Open Response to see retained response metadata and headers. A body sample is visible when available under the instance’s capture policy. Entries are paginated. The API equivalent isGET /api/v1/automation/webhook/{webhookId}/attempts?skip=0&take=20. The maximum page size is 200.
A delayed Webhook starts SCHEDULED; an immediately eligible one starts PENDING. PROCESSING means delivery is in progress. FINISHED, ERROR, and CANCELLED describe its terminal outcome. scheduledFor retains the initial requested time, while nextEligibleAt can change for retry backoff.
Attempt evidence can arrive out of order. A late response for attempt 2 does not replace a newer attempt 3 in the summary, and duplicate evidence does not increment the record version. A terminal outcome is not reopened by a late delivery notification. Check individual attempts when investigating timestamps rather than assuming their arrival order is execution order.
A timeout can occur after the receiver accepts the request. The history shows the delivery outcome RevoEngine observed. Check the receiver before retrying an uncertain business effect.
Cancellation stops eligible future processing; it cannot recall a request already accepted by the remote server. Delete and restore change platform visibility, not remote state.
Roles
Design for reliable delivery
A transport timeout is ambiguous: the receiver may have committed the request even though RevoEngine did not receive its response. Put a stable business key explicitly in the receiver-supported request header or body, and require the receiver to enforce it. NeithercustomId nor Webhook metadata automatically implements that receiver contract.
For example, if the partner supports Idempotency-Key, configure request.headers["Idempotency-Key"] as order-1:ready:v1 on every attempt for that operation. A newly created Webhook can still represent the same business operation.
customId must be a UUID. Reusing an existing value rejects creation; it is not a successful idempotent acknowledgement. After an uncertain create response, inspect that Webhook ID before deciding whether to create another request.
A successful HTTP 2xx finishes delivery. If the partner responds 202 and processes work later, observe its separate business status. Cancellation, maxRetries: 0 and exhausted retries cannot prove that the receiver made no change. See delivery guarantees.
Use metadata to correlate the webhook with the originating Job, Event history, or business object. Alert on terminal failure and exhausted attempts rather than every transient retry.
The partner reports a duplicate
The partner reports a duplicate
Verify that the same idempotency key was used on every attempt and that the receiver stores the first accepted result. Do not reduce retries as the primary duplicate-control mechanism.
A request is stuck in a non-terminal state
A request is stuck in a non-terminal state
Check scheduled time, current attempt, cancellation state, and platform delivery logs. Confirm the destination DNS, TLS, timeout, and static-egress allowlist.
The history does not show the request body
The history does not show the request body
Check
saveDetails and masking policy. Absence from history can be intentional and does not mean an empty body was sent.Production checklist
- Require HTTPS.
- Use an idempotency key understood by the receiver.
- Set an explicit maximum attempt policy.
- Mask or avoid credentials in retained request details.
- Use static egress only when the receiver needs allowlisting.
- Correlate the row with an operation or business ID.
- Monitor terminal failure and cancellation.

