How can we help?
Guides for Workflow Documents: design PDF invoices, packing slips and your own documents in HTML and Liquid, and generate them from Shopify Flow.
Popular:Introduction to Workflow DocumentsCreate your first templateThe template editorSet up the Generate document action in Shopify Flow
Getting started
- Introduction to Workflow DocumentsDesign invoices, packing slips and your own PDF documents in HTML, CSS and Liquid, and generate them for orders, products and customers from Shopify Flow.
- Create your first templateStart from a ready-made invoice, packing slip, product data sheet, customer summary or a blank page, in the visual builder or in code, make it yours and save it.
- The template editorThe HTML, CSS, Branding and Settings tabs, the live preview with sample data or a real order, product or customer, and the PDF preview.
- Set up the Generate document action in Shopify FlowConnect a template to a Shopify Flow workflow: the trigger, the Generate document action, the template name and language, and the download link it returns.
- Example workflowsShopify Flow workflows that generate a PDF with Workflow Documents: the invoice as an email attachment when an order is paid, a product data sheet for your team, a packing slip for the warehouse and a customer summary. Two come with a .flow file to import.
- Email the invoice as PDF when an order is paidA Shopify Flow workflow that generates the invoice with Workflow Documents when an order is paid and emails it to the customer as a PDF attachment with Workflow Transactional Email. With the .flow file to import.
- Email the product data sheet when a product is createdA Shopify Flow workflow that renders a product data sheet with Workflow Documents when a product is created and emails it to your team as a PDF with Workflow Transactional Email. With the .flow file to import.
Templates
- Template variables and LiquidThe data a template can print for an order, a product or a customer, the brand object, the money, percent and br filters, and what Liquid in a document template does not support.
- Paper size, margins and file nameSet the paper size, orientation and margin of a document template, and name the PDF with a Liquid file name pattern.
- Branding your documentsLogo, colors, fonts (built-in, Google Fonts or your own font files) and company details for every document, and how a single template overrides them.
- Templates in several languagesAdd languages to a document template, translate its HTML and file name, set the main language, and see how the language of a document is chosen.
Documents & usage
- Document history and downloadsFind every generated document with its status, source and size, create one by hand from a template, download stored PDFs again, and see how long PDFs are kept on your plan.
- Plans and pricingThe Free, Starter and Unlimited plans of Workflow Documents: prices, documents per rolling 30 days, how long PDFs are kept, what counts as a document and what happens at the limit.
Developer
Reference
- TroubleshootingFix template errors, missing data in a document, failed Generate document steps in Shopify Flow, and orders older than 60 days.
- Frequently asked questionsCommon questions about generating PDF documents from Shopify Flow: templates, languages, the download link, plans and usage, the developer API and data handling.
- SecurityWhat Workflow Documents is built on, where it runs, how your documents and store data are encrypted and isolated, and how we keep the app up to date. No PHP anywhere.
