{"product_id":"stripe-invoice-pdf-automation-with-pdfops-s3-gmail-slack","title":"Stripe Invoice PDF Automation with PDFops, S3, Gmail \u0026 Slack","description":"\u003ch3\u003eAutomatically generate, store, and deliver Stripe invoice PDFs—end to end\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for successful \u003cstrong\u003eStripe\u003c\/strong\u003e payments, generates a branded invoice PDF using \u003cstrong\u003ePDFops\u003c\/strong\u003e, archives it to \u003cstrong\u003eAmazon S3\u003c\/strong\u003e, emails it to your customer via \u003cstrong\u003eGmail\u003c\/strong\u003e, logs the transaction in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, and notifies your team in \u003cstrong\u003eSlack\u003c\/strong\u003e—with error alerts included.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on Stripe success:\u003c\/strong\u003e Starts on \u003ccode\u003epayment_intent.succeeded\u003c\/code\u003e events and ignores payments below your configured minimum amount.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches customer details:\u003c\/strong\u003e Retrieves the Stripe customer to determine the billing name and email, falling back to the payment receipt email when needed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds an invoice payload correctly:\u003c\/strong\u003e Converts Stripe smallest-unit amounts properly, including support for \u003cstrong\u003ezero-decimal currencies\u003c\/strong\u003e. Optionally derives the net amount when a tax rate is provided.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRenders the invoice with PDFops:\u003c\/strong\u003e Uses PDFops to transform the invoice payload into a PDF file.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArchives and records invoices:\u003c\/strong\u003e Uploads the PDF to an \u003cstrong\u003eAmazon S3\u003c\/strong\u003e bucket and appends an invoice record to a \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e “Invoices” ledger.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDelivers via Gmail (when available):\u003c\/strong\u003e If a customer email exists, sends the PDF as an attachment using \u003cstrong\u003eGmail\u003c\/strong\u003e. If not, posts a Slack message noting the invoice was archived but not emailed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack error alerts:\u003c\/strong\u003e If payload generation or PDF rendering fails, posts an error alert to Slack with the Stripe payment ID.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS teams that need automatic invoice PDFs after successful Stripe charges.\u003c\/li\u003e\n  \u003cli\u003eE-commerce operators who want secure PDF storage in Amazon S3 and auditable logging in Google Sheets.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers who want reliable delivery via Gmail and visibility via Slack alerts.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePDFops\u003c\/strong\u003e (community node: \u003ccode\u003en8n-nodes-pdfops\u003c\/code\u003e) for invoice PDF rendering\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStripe\u003c\/strong\u003e event trigger (\u003ccode\u003epayment_intent.succeeded\u003c\/code\u003e)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAmazon S3\u003c\/strong\u003e upload for PDF archiving\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e to email the invoice PDF attachment\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e to maintain an “Invoices” ledger\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack\u003c\/strong\u003e for operational notifications and error alerts\u003c\/li\u003e\n  \u003cli\u003eUses core logic nodes such as \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, and \u003cstrong\u003eno op\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eIdeal for:\u003c\/strong\u003e n8n users, automation engineers, and SaaS operators who want a Stripe invoice PDF workflow that’s accurate (including zero-decimal currencies) and production-aware.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45837417087155,"sku":"N8N-18284","price":62.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/6SXpcEYfcJVyUEYrk0VO3_TIoBnVyT.png?v=1786794017","url":"https:\/\/buyflowscripts.com\/products\/stripe-invoice-pdf-automation-with-pdfops-s3-gmail-slack","provider":"N8N Commerce","version":"1.0","type":"link"}