Skip to product information

Stripe Receipt Automation in n8n: Branded PDF via PDFMint

Stripe Receipt Automation in n8n: Branded PDF via PDFMint

 (200+Reviews)
Regular price £68.99
Regular price £68.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Stripe Receipt Automation in n8n: Branded PDF via PDFMint

Stripe Receipt Automation in n8n: Branded PDF via PDFMint

Regular price £68.99
Regular price £68.99 Sale price
SAVE Sold out

Automatically send branded Stripe receipts as A4 PDFs from n8n—complete with VAT and archiving

This n8n workflow listens for Stripe payment_intent.succeeded events, generates a branded, VAT-inclusive receipt PDF using PDFMint, emails it to the customer via Gmail, and archives the same PDF in Google Drive—with clear error routing for missing customer data, missing email, and delivery/rendering failures.

What this workflow does

  • Triggers on successful payment: Starts when a Stripe payment_intent.succeeded event is received.
  • Fetches the Stripe customer: Retrieves the associated Stripe Customer and stops for review if no customer is attached to the payment.
  • Builds a receipt model + HTML: Applies receipt branding details (seller name, address, VAT rate, locale, and footer note) and uses the Stripe payment amount and description.
  • Validates email availability: Checks the customer record for an email address; routes missing-email cases to an actionable error path.
  • Renders an A4 PDF via PDFMint: Sends the receipt HTML to PDFMint, then validates that a PDF binary is returned.
  • Sends and archives the PDF: Emails the PDF receipt using Gmail and uploads the same PDF to Google Drive, routing any delivery or upload errors to the error path.

Use cases

  • SaaS operators who need instant, compliant Stripe receipt automation without manual PDF creation.
  • Teams standardizing VAT-inclusive billing documents for customers in a specific locale.
  • Operations workflows that must keep a reliable Google Drive archive of every emailed receipt.

Technical details

  • Stripe: Trigger on payment_intent.succeeded and customer lookup tied to the Payment Intent.
  • PDFMint: PDF rendering from generated receipt HTML (A4 output) and PDF binary validation.
  • Gmail: Sends the rendered PDF receipt to the customer.
  • Google Drive: Uploads the same receipt PDF for archiving.
  • n8n logic: Uses nodes such as if, set, code, and sticky note to handle routing and data preparation.

Setup note: Provide Stripe credentials for both the trigger and customer lookup, add PDFMint API credentials, and configure Gmail + Google Drive OAuth2. Then update the seller identity, VAT percentage, locale, and footer text.

View full details