Attempt number for tracing.
Trigger payload.
expiresAt
prevents stale notifications across retries by dropping the request when now > expiresAt
. If, for example, you're notifying about an event that starts in one hour, you might
set this to one hour from now.
If you're triggering from a background job, don't set this at the call site, set it when you enqueue the job. Otherwise, it gets updated each time the job retries, will always be in the future, and won't prevent stale notifications.
Workflow key.
Optional
keysArray of data keys to redact in logs for privacy.
Optional
workflowWorkflow key.
Request parameters for triggering a notification.