Issue warehouse packing slips with pdfmill, Gmail, and Google Drive
UnknownWhat this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Google Drive and Pdfmill (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate and build the packing slip (Code): runs custom JavaScript code
- Is the entire order valid? (If): checks a condition and branches into true / false
- Generate the packing slip PDF (Pdfmill): template
- Return one 400 order error (Respond to Webhook): sends the response back to the webhook caller
- Email the packing slip to the warehouse (Gmail): uses Gmail
- Archive the packing slip in Google Drive (Google Drive): upload (file)
- Wait for warehouse email and archive (Merge): merges the data from its input branches
- Return packing_slip_ready (Respond to Webhook): sends the response back to the webhook caller
Services it uses
Other Gmail + Google Drive templates (465)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-pdfmill is verified or supports 3.0 (used in Generate the packing slip PDF).
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Pdfmill
n8n-nodes-pdfmill.pdfmill - Gmail
n8n-nodes-base.gmail - Google Drive
n8n-nodes-base.googleDrive - Merge
n8n-nodes-base.merge - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives a paid-order webhook, validates the full fulfilment payload, generates a price-free packing slip PDF with pdfmill, emails it to the warehouse via Gmail, and archives the same PDF in Google Drive before returning a JSON…