Templates / Send branded PDF receipts for Stripe payments with PDFMint, Gmail and Drive

Send branded PDF receipts for Stripe payments with PDFMint, Gmail and Drive

Unknown

by Florian Standhartinger ✓ · 8 views · created 2026-08-28 · Invoice Processing

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 11 nodes and runs on Stripe events (payment intent.succeeded). Along the way it connects Stripe, Gmail, Google Drive and Pdfmint (community).

How it runs

Trigger: On Stripe events (payment intent.succeeded).

  1. Fetch Stripe Customer (Stripe): get (customer)
  2. Check Customer Attached (If): checks a condition and branches into true / false
  3. Set Receipt Branding (Edit Fields (Set)): sets 8 fields: seller_name, seller_address, seller_vat_id…
  4. Log Errors for Action (Edit Fields (Set)): sets 4 fields: stage, payment_intent_id, message…
  5. Generate Receipt Model (Code): runs custom JavaScript code
  6. Check Customer Email (If): checks a condition and branches into true / false
  7. Generate PDF Receipt (Pdf Mint): pdf
  8. Verify PDF Receipt (If): checks a condition and branches into true / false
  9. Send Receipt via Gmail (Gmail): uses Gmail
  10. Store Receipt in Drive (Google Drive): upload (file)

Services it uses

StripeGmailGoogle DrivePdfmint (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-pdfmint is verified or supports 3.0 (used in Generate PDF Receipt).

Nodes used (8)

From the author

Quick overview This workflow listens for successful Stripe payments, fetches the associated Stripe customer, generates a branded VAT-inclusive receipt PDF with PDFMint, emails it via Gmail, and archives the PDF in Google Drive, while routing missing customer…

Excerpt from Florian Standhartinger'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.