Workflow Flow
Cart Abandoned Event (Shopify / WooCommerce)
↓
n8n Webhook Trigger
↓
Wait 30 minutes
↓
Check: Did they purchase?
┌──────────┴──────────┐
Yes No
↓ ↓
Stop OpenAI: Personalize
sequence recovery copy
↓
Email 1 (30 min)
↓
Wait 24h → Email 2
↓
Wait 48h → Email 3 (10% off) Nodes Required
| Node | Purpose |
|---|---|
| Webhook | Shopify / WooCommerce cart events |
| Wait | 30min, 24h, 48h delays |
| HTTP Request (Shopify) | Check if purchase completed |
| OpenAI Chat | Personalize copy based on cart items |
| HTTP Request (Resend) | Send recovery emails |
| Code | Generate discount code |
| Google Sheets | Track recovery rates |
ROI Calculation
| Before | After |
|---|---|
| 70% cart abandonment rate (industry avg) | 15–25% recovery rate with 3-email sequence |
| No personalization | AI copy tailored to exact cart items |
| $0 recovery revenue | $2,000–$8,000/mo at $50 avg order value |
Configuration Variables
SHOPIFY_API_KEY Store API credentials
OPENAI_API_KEY Personalized email copy
RESEND_API_KEY Email delivery
DISCOUNT_PERCENT e.g. 10 (for 10% off on email 3)
BRAND_NAME For personalized email signature