deAPI Trigger
AI-generatedSummary
Triggers a workflow based on deAPI job events such as completion, failure, or processing start, optionally downloading a binary result.
Inputs
- events (required) — Select the events to trigger the workflow
- downloadBinary — Whether to download the binary file from result_url when job completes
Output shape
a JSON array of items; when the event is job.completed and downloadBinary is true the array includes a binary object with filename, contentType and fileContent
Binary data is added only for job.completed events when downloadBinary is enabled; otherwise only the JSON payload is returned.
Examples
Example 1: Trigger on job completion and download the result binary
events: ["jobCompleted"]; downloadBinary: true
Example 2: Trigger on job failure only
events: ["jobFailed"]; downloadBinary: false
Example 3: Trigger on job processing start
events: ["jobProcessing"]; downloadBinary: true