Templates / Generate branded invoice PDFs from webhook orders with PolyDoc and email

Generate branded invoice PDFs from webhook orders with PolyDoc and email

Unknown

by polydoc.tech ✓ · 5 views · created 2026-07-03 · Invoice Processing, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Polydoc (community).

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Valid order? (If): checks a condition and branches into true / false
  2. Build invoice (Code): runs custom JavaScript code
  3. Reject (422) (Respond to Webhook): sends the response back to the webhook caller
  4. Render invoice PDF (Poly Doc): uses Poly Doc
  5. Email invoice (Send Email): sends an email over SMTP
  6. Return PDF (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Polydoc (community)

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-polydoc is verified or supports 3.0 (used in Render invoice PDF).

Nodes used (6)

From the author

Quick overview This workflow receives an order via webhook, validates required fields, calculates invoice totals, renders a branded invoice PDF using a saved PolyDoc template, emails the PDF to the customer, and returns the same PDF in the webhook response.…

Excerpt from polydoc.tech's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.