Library / Documents, PDF & OCR
Documents, PDF & OCR
Send Stripe payment PDF receipts via PDFMint, Gmail and Google Drive
Runs on each successful Stripe payment, builds a VAT-inclusive branded PDF receipt, emails it to the customer and archives it in Google Drive.
What it does
## Send Stripe customers a PDF receipt ### How it works This workflow starts when a Stripe payment succeeds, retrieves the related customer, and checks that the payment has a usable customer record. It builds a branded, VAT-inclusive receipt model, verifies the customer has an email address, renders a PDF receipt, then emails it to the customer and archives it in Google Drive. Along the way, failed prerequisites or delivery/archive issues are routed to an actionable error record. ### Setup steps - Configure Stripe credentials for both the Stripe trigger and customer lookup, and select the successful payment event to listen for. - Update the branding Set node with the seller name, address, VAT ID, and sender email details. - Configure pdfMint with the receipt template or HTML used to generate the branded PDF. - Connect Gmail credentials and set the sender, recipient mapping, subject, body, and PDF attachment field. - Connect Google Drive credentials and choose the destination folder for archived receipts. - Review the conditional checks and error fields so missing customer, missing email, PDF generation failure, or delivery/archive problems are recorded clearly. ### Customization You can customize the receipt branding fields, VAT/formatting logic in the code node, the PDF template, the email copy, and the Google Drive archive location.
The steps
- Stripe Payment Success Trigger
- Fetch Stripe Customer
- Check Customer Attached
- Set Receipt Branding
- Generate Receipt Model
- Check Customer Email
- Generate PDF Receipt
- Verify PDF Receipt
- Send Receipt via Gmail
- Store Receipt in Drive
- Log Errors for Action
Similar automations
Documents, PDF & OCRConvert Markdown into a branded PDF with table of contents using PDFMint11 stepsDocuments, PDF & OCRTurn form submissions into branded PDF reports with PDFMint11 stepsEmail AutomationSend weekly AR ageing reports with Invoice Ninja, PDFMint and Gmail7 stepsEmail AutomationSend branded overdue invoice statements from Xero with PDFMint and Gmail7 steps