Workflow: React to PDFMonkey Callback
Integrations: httpRequest, if, stickyNote, webhook

{"id": "s6nTFZfg6xjWyJRX", "meta": {"instanceId": "workflow-045904be", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:47.076030", "updatedAt": "2025-09-29T07:07:47.076047", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "name": "React to PDFMonkey Callback", "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "nodes": [{"id": "bca61663-2317-4f5a-8117-e417ab9ffcb1", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-160, -380], "parameters": {"width": 860, "height": 500, "content": "# React to PDFMonkey Callback\nWhen a PDF is generated by PDFMonkey, retrieve the PDF file and use it as needed.\n\n### Configuration\nCopy the webhook URL and add it to your PDFMonkey Webhooks dashboard ([PDFMonkey Webhooks]({{ $env.WEBHOOK_URL }} to define your N8N callback URL in your PDFMonkey account.\n\nFor more information, visit: [PDFMonkey Webhooks Documentation]({{ $env.WEBHOOK_URL }}\n\n\n### Usage\nOn success: Download the generated PDF.\nOn failure: Handle it as needed. \ud83d\ude09\n\n\n### Help\nNeed assistance? Reach out to us via chat on pdfmonkey.io, and we'll do our best to help you! \ud83d\ude80"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "31ef2b09-e36f-4a9d-8eef-724211d7e2d4", "name": "On PDFMonkey generation process end", "type": "n8n-nodes-base.webhook", "position": [-140, 160], "webhookId": "ed9c1bf7-efdd-4d17-8c28-e74c22d017ce", "parameters": {"path": "ed9c1bf7-efdd-4d17-8c28-e74c22d017ce", "options": {}, "httpMethod": "POST"}, "typeVersion": 2, "notes": "This webhook node performs automated tasks as part of the workflow."}, {"id": "08cfde4f-637b-4cf4-a2c2-92e4e15ad6cc", "name": "Check if generation was successful", "type": "n8n-nodes-base.if", "position": [120, 160], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "68eaaea7-d94b-40fd-819f-331261843c67", "operator": {"name": "filter.operator.equals", "type": "string", "operation": "equals"}, "leftValue": "={{ $json.body.document.status }}", "rightValue": "success"}]}}, "typeVersion": 2.2, "notes": "This if node performs automated tasks as part of the workflow."}, {"id": "051ec2f5-e96e-41dd-a753-db70cd1a1729", "name": "On success: download the PDF file", "type": "n8n-nodes-base.httpRequest", "position": [520, 140], "parameters": {"url": "{{ $env.BASE_URL }}", "options": {}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}], "active": false, "pinData": {}, "settings": {"callerPolicy": "workflowsFromSameOwner", "executionOrder": "v1", "saveManualExecutions": true, "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "versionId": "56e711af-d87a-4822-9b49-bf7bebd373df", "connections": {"31ef2b09-e36f-4a9d-8eef-724211d7e2d4": {"main": [[{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-ecd055ae", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-f8d6ce14", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-a7d22dc9", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-78400f95", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-3425788c", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-ab51bc49", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-da060f5b", "type": "main", "index": 0}], [{"node": "error-handler-31ef2b09-e36f-4a9d-8eef-724211d7e2d4-3a481ef7", "type": "main", "index": 0}]]}, "051ec2f5-e96e-41dd-a753-db70cd1a1729": {"main": [[{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-7f79f4a0", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-aae1a1bf", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-d88ddb48", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-5030a055", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-b8adbc40", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-47a943db", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-a458cb46", "type": "main", "index": 0}], [{"node": "error-handler-051ec2f5-e96e-41dd-a753-db70cd1a1729-da3f3470", "type": "main", "index": 0}]]}}, "description": "Automated workflow: React to PDFMonkey Callback. This workflow integrates 5 different services: webhook, stickyNote, httpRequest, stopAndError, if. It contains 8 nodes and follows best practices for error handling and security.", "notes": "Excellent quality workflow: React to PDFMonkey Callback. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}