Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. When a paid order is ready to fulfil
  2. Validate and build the packing slip
  3. Is the entire order valid?
  4. Generate the packing slip PDF
  5. Email the packing slip to the warehouse
  6. Archive the packing slip in Google Drive
  7. Wait for warehouse email and archive
  8. Return packing_slip_ready
  9. Return one 400 order error

Similar automations