Smart Automated Follow-Up Email System
Generate a personalized email sequence to engage customers post-purchase.
Customer & Purchase Info
Generated Email Sequence
Enter customer details to generate the follow-up sequence.
Automated Email Follow-Up Sequence
Generated on:
Generating sequence...
'; placeholder.classList.remove('hidden'); resultsContainer.classList.add('hidden'); setTimeout(() => { currentSequence = generateSequence(name, product); renderSequence(currentSequence); placeholder.classList.add('hidden'); resultsContainer.classList.remove('hidden'); }, 1500); }; const generateSequence = (name, product) => { return [ { delay: 'Immediately', title: 'Order Confirmation', subject: `Your order for the ${product} is confirmed!`, body: `Hi ${name},\n\nThank you for your purchase! We've received your order for the ${product} and are getting it ready for shipment. We'll notify you as soon as it's on its way.\n\nWe appreciate your business!\n\nBest,\nThe Team` }, { delay: '3 Days Post-Purchase', title: 'Tips & Tricks', subject: `Getting the most out of your new ${product}`, body: `Hi ${name},\n\nWe hope you're enjoying your new ${product}!\n\nHere are a few tips to help you get started:\n- Tip 1: [Insert relevant tip]\n- Tip 2: [Insert relevant tip]\n- Tip 3: [Insert relevant tip]\n\nIf you have any questions, feel free to reply to this email. We're happy to help!\n\nBest,\nThe Team` }, { delay: '7 Days Post-Purchase', title: 'Review Request', subject: `How are you finding the ${product}?`, body: `Hi ${name},\n\nIt's been a week since you received your ${product}, and we'd love to hear what you think! Your feedback helps us improve and assists other customers in making informed decisions.\n\nWould you mind leaving a review on our website? [Link to product page]\n\nThank you for your time!\n\nBest,\nThe Team` }, { delay: '14 Days Post-Purchase', title: 'Related Product Offer', subject: `A special offer just for you, ${name}`, body: `Hi ${name},\n\nAs a thank you for your recent purchase, we'd like to offer you an exclusive 15% discount on your next order!\n\nWe noticed you love the ${product}, and we think you might also like [Related Product].\n\nUse code THANKS15 at checkout to claim your discount.\n\nHappy shopping!\n\nBest,\nThe Team` } ]; }; const renderSequence = (sequence) => { sequenceTimeline.innerHTML = sequence.map((email, index) => `${index + 1}
${index < sequence.length - 1 ? '' : ''}
${email.delay}
${email.title}
Subject: ${email.subject}
Step ${index + 1}: ${email.title}
${email.delay}
Subject: ${email.subject}
Body:\n${email.body}
