Skip to content

Configuring One-Off Scheduled Events

Fire a webhook once at a specific date and time

scheduled event one-off one-time deferred delayed webhook scheduled

One-off scheduled events fire a webhook once at a specific date and time. Unlike cron triggers that recur, these execute exactly once and are then done.

Navigate to EventsOne-Off Scheduled Events, then click New One-off.

Create One-Off Scheduled Event

FieldDescription
CommentOptional description of what the event does
Schedule AtDatetime picker with timezone selector (future dates only)
Webhook URL or templateEndpoint URL. Supports {{ENV_VAR}} syntax (e.g. {{NHOST_FUNCTIONS_URL}}/events/broadcast-notification)
PayloadJSON object sent in the webhook body
Retry and Headers Settings (accordion)Retry count, interval, timeout, and custom HTTP headers

One-off scheduled events do not support request or payload transformations.

One-off scheduled events deliver an HTTP POST to any endpoint. The request body contains a payload field with the JSON you configured.

One-off events deliver the same shape as cron triggers, with created_at instead of name.

{
"scheduled_time": "2024-06-15T14:30:00.000Z",
"payload": {},
"comment": "Broadcast maintenance notification to all active users",
"created_at": "2024-06-14T10:00:00.000Z"
}
FieldDescription
scheduled_timeISO 8601 timestamp of when the event was scheduled to fire (UTC)
payloadThe JSON object configured when creating the event
commentThe optional comment/description from the event definition
created_atISO 8601 timestamp of when the event was created

For working handler examples, see:

The Events > One-Off Scheduled Events page lists all one-off events. Filter by status using the “Status” header button at the top: All, Scheduled, Pending, Processed, or Failed.

One-Off Scheduled Events List

Each event shows its comment, scheduled time, status, webhook URL, ID, and number of tries. Scheduled events that have not yet fired can be deleted individually.

Expand an event to see its invocation logs. Each invocation shows the HTTP status code and a View Details action that opens the full request and response.

One-Off Scheduled Event Invocation Details