
Client's Goal: An independent artist wanted their astrology readings to sell and deliver themselves—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 (headless browser), and delivers it in a personalized email with attachment and secure links. Automatic retries, detailed logging, and error alerts keep it reliable at volume.
Key Features:
Real-time Stripe webhook trigger: Filters the exact product via metadata; pulls custom fields (birth data, location, notes) for personalization.
AI-written reading: OpenAI GPT model turns the customer’s inputs into a coherent, empathetic, on-brand astrology report.
Branded PDF generation: HTML/CSS template rendered into a clean, consistent, print-ready PDF.
Personalized email delivery: Sends the PDF with a branded message through SendGrid.
Reliability at scale: Designed to handle up to 50,000 runs/month on current hosting.
Data handling & compliance: Payment data stays in Stripe; email delivered through a transactional infrastructure with domain authentication.
Results:
100% automated fulfilment from payment to inbox, typically delivered in 2–5 minutes.
Up to 8–12 hours/week saved vs. manual writing and sending.
Up to 99% successful first-attempt delivery with automatic retries and clear failure alerts.
Incremental passive revenue uplift from instant delivery and improved customer experience.
Ready to turn paid orders into polished PDFs without lifting a finger? Hire me on Contra

n8n workflow to generate digital products on demand
1 like · 63 views · Sep 17, 2025
Automated digital product creation and fulfilment using n8n, OpenAI, and SendGrid. This workflow allows passive income generation and runs in autopilot.
Timeline
Sep 10, 2025 - Sep 17, 2025