Client's Goal:
An independent artist wanted their astrology readings to sell and deliver automatically—no inbox triage, no copy-paste—so their site could earn on autopilot.
Challenges:
- Orders arrived through Stripe, but fulfilment was manual and error-prone.
- Customer inputs (birth date, time, location) had to be captured and used reliably.
- Readings needed to look polished, brand-aligned, and send securely at scale.
Solution & Approach:
I built a fully automated fulfilment system in n8n that listens for Stripe Checkout completion, generates a personalized reading with an OpenAI GPT model, renders a branded PDF, and emails it via SendGrid—end-to-end, hands-off. The workflow filters by product using Stripe metadata, pulls the customer’s custom fields, crafts a tailored reading, converts it to a designed PDF with an HTML-to-PDF engine, and delivers it in a personalized email with attachment and secure links. Automatic retries, detailed logging, and error alerts ensure reliability at scale.
Key Features:
- Real-time Stripe webhook trigger: filters product via metadata and pulls custom fields for personalization.
- AI-written reading: generates coherent, empathetic, on-brand astrology reports.
- Branded PDF generation: HTML/CSS templates rendered into print-ready PDFs.
- Personalized email delivery: sends PDFs with a branded message via SendGrid.
- Reliability at scale: supports up to 50,000 runs/month.
- Data handling & compliance: payment data stays in Stripe; emails sent through authenticated transactional infrastructure.
Results:
- 100% automated fulfilment from payment to inbox, typically delivered in 2–5 minutes.
- Saves 8–12 hours/week compared to manual writing and sending.
- Up to 99% successful first-attempt delivery with automatic retries and alerts.
- Incremental passive revenue uplift from instant delivery and improved customer experience.
n8n workflow to generate digital products on demand
Tools & Tech Stack
This automation was built using the following tools and platforms
Ready to turn paid orders into polished PDFs without lifting a finger?
Automate your digital product delivery—instantly generate branded PDFs from customer orders and send them securely, hands-free.