AI Global Academy Join the waitlist

Courses / The CRM

Lesson 5.8 · 40 minThe follow-up email sequence

Prerequisites: Checkpoint lesson-5.7; the Resend sender domain verified in 4.5; the rule from 4.7 that personal data must be deletable.

Goal: every lead gets a second and third touch without anyone remembering to send it.

Materials: the Resend API key from 4.5; the lead form from 4.3; the rule from 4.7 that personal data must be deletable.

Video

The video for this lesson is not recorded yet.

Do along

  1. Build the followups schedule table and the Supabase scheduled function that sends due emails through Resend.
  2. Send the three templates to your own address; unsubscribe and confirm the sequence stops.
  3. Write the three emails in your own voice for your own business; set the day-2 and day-5 delays to fit how fast your customers decide.
  4. Show "sequence stopped" on the lead card when they unsubscribe or reply.

Common problems

  • "The sequence sends an email to a lead who unsubscribed." → The suppression table is checked before the send, not after; the function reads it in the same transaction.
  • "The sequence sends an email to a lead who was deleted." → Deletion removes the schedule rows in the same transaction; the function never sends a row whose lead is gone.
  • "The emails read like a newsletter." → They are about the lead's enquiry only; one useful sentence and one easy yes. No bought lists, nothing after a deletion request.
  • "The unsubscribe link opens the home page." → It sets the suppression row and stops the sequence; it does not redirect to the home page.