PreRoll.io Trigger
AI-generatedSummary
Starts a workflow when selected PreRoll.io events (deliverable or episode changes) occur, by registering an n8n webhook endpoint in PreRoll and emitting each received payload.
Inputs
- events (required) — Multi-select of events to listen for: deliverable approved, resubmitted, revision requested, submitted; episode published, scheduled, stage changed, status changed.
- description — Optional label for the webhook endpoint in PreRoll. Sent as 'n8n:
'; if empty, 'n8n webhook trigger' is used.
Output shape
One workflow item containing the JSON body of the incoming PreRoll webhook POST (the event payload).
Requires the preRollApi credential (with baseUrl). On activation the node POSTs to {baseUrl}/api/v1/webhook-endpoints with the n8n webhook URL and events, and stores the returned id and secret in workflow static data. On deactivation it DELETEs the endpoint. If a secret is stored and an x-preroll-signature header is present, an HMAC-SHA256 of the re-serialized JSON body is compared; on mismatch the request is dropped and no items are emitted. If the header is absent, the request is accepted unverified. The webhook responds immediately on receipt.
Examples
Example 1: Notify a Slack channel when a deliverable is submitted or resubmitted for review.
Events: Deliverable — Submitted, Deliverable — Resubmitted; Description: 'Review alerts'; connect to a Slack node.
Example 2: Trigger a publishing pipeline when an episode goes live.
Events: Episode — Published; leave Description empty.