Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Документы, PDF и OCR

Документы, PDF и OCR

Генерация упаковочных листов для склада из оплаченных заказов с pdfmill, Gmail и Drive

Получает данные оплаченных заказов через webhook, создаёт PDF упаковочного листа с pdfmill, сохраняет его в Google Drive и отправляет на склад по почте через Gmail.

Что делает

## 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.

Шаги

  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

Похожие автоматизации