Polotno Studio Trigger
AI-generatedSummary
Subscribes a Polotno Studio webhook to selected image and video render events and starts the workflow when one arrives. The trigger returns the event’s data.object when present, or the full webhook payload otherwise.
Inputs
- Events (required) — Select one or more events that should trigger the workflow: Image Completed, Image Failed, Video Completed, or Video Failed. Defaults to image.completed and video.completed.
Output shape
A single item containing the webhook event data as JSON.
Uses the required Polotno Studio API credentials to register and remove the webhook. When the request includes
data.object, that object is returned; otherwise the full request body is returned. If a stored webhook secret is available and the raw request body can be read, the trigger verifies thex-signatureheader and errors on an invalid signature.