Library / Documents, PDF & OCR
Documents, PDF & OCR
Generate warehouse packing slips from paid orders with pdfmill, Gmail and Drive
Receives paid order payloads via webhook, builds a packing slip PDF with pdfmill, saves it to Google Drive and emails it to the warehouse through Gmail.
What it does
## Expected payload POST a paid order to the Production webhook URL: json { "orderNumber": "SO-2026-3187", "orderedAt": "2026-08-25", "shippedAt": "2026-08-26", "warehouseEmail": "warehouse@example.com", "shipFrom": { "name": "North Dock", "address": "1 Fulfilment Way, Austin, TX 78701" }, "shipTo": { "name": "Ana Popescu", "address": "22 Aviatorilor, Bucharest" }, "carrier": "DHL Express", "trackingNumber": "JD014600003118872291", "items": [ { "sku": "NTS-TENT-02", "description": "Alpine two-person tent", "quantity": 1 }, { "sku": "NTS-BTL-07", "description": "Insulated steel bottle", "quantity": 2 } ] } ### Required order fields - orderNumber, orderedAt as YYYY-MM-DD, and one standard mailbox in warehouseEmail - shipFrom.name, shipFrom.address, shipTo.name, and shipTo.address - A non-empty items array; every item needs a SKU, description, and positive integer quantity shippedAt defaults to today's UTC date. Carrier, tracking number, weight, and notes are optional. Common Shopify/WooCommerce aliases such as line_items, order_number, created_at, variant_sku, and qty are accepted. Source price fields are ignored. Connect a pdfmill API credential, Gmail, and Google Drive. Select the Drive folder where packing slips should be archived.
The steps
- When a paid order is ready to fulfil
- Validate and build the packing slip
- Is the entire order valid?
- Generate the packing slip PDF
- Email the packing slip to the warehouse
- Archive the packing slip in Google Drive
- Wait for warehouse email and archive
- Return packing_slip_ready
- Return one 400 order error
Similar automations
Documents, PDF & OCRIssue cohort completion certificates with Pdfmill, Gmail and Google Drive9 stepsRAG & Knowledge BasesGenerate Weather Packing Lists with Claude RAG10 stepsFinance, Invoices & AccountingUpdate HubSpot and Alert Slack on Paid Stripe Invoices8 stepsFinance, Invoices & AccountingMark HubSpot Deals Paid from Stripe Invoices9 steps