PDFMonkey Trigger icon

PDFMonkey Trigger

Triggers when PDFMonkey finishes generating a document, successfully or not, and downloads the PDF or image on success

PDFMonkey Trigger

AI-generated

Summary

Listen for document generation events in a specified PDFMonkey workspace and optionally filter by document templates, triggering when a document generation finishes (successfully or not) and downloading the generated PDF file on success.

Inputs

  • Workspace Name or ID (required) — Select or specify the workspace within PDFMonkey to listen for document generation events.
  • Template Names or IDs — Optionally select specific document templates to trigger on; if left empty, triggers on all templates within the chosen workspace.

Output shape

A single item containing the document's generation details as JSON and, if successful, the generated PDF file as binary data.

The trigger initiates upon any document generation completion (success or failure). On success, the downloaded file is attached as binary. The output includes a status field indicating success or failure and may include failure causes. No pagination is involved; each workflow run corresponds to one document event.

Examples

Example 1: Trigger on all document generations within a workspace

Set 'Workspace Name or ID' to the desired workspace, leave 'Template Names or IDs' empty.

Example 2: Trigger only on documents generated from specific templates

Select the workspace and choose one or more templates via 'Template Names or IDs'.

Links

Discussion