Maximum time to detect a customer reply in Gmail and halt follow-ups
Tailored follow-ups for Opened, Clicked, and Unopened leads
Leads accidentally chased after they already replied
The client was sending the exact same follow-up email to every lead regardless of what they did with the previous message—someone who clicked a link got the same follow-up as someone who never opened it. Worse, replies were easy to miss, so leads sometimes kept getting automated follow-ups after they had already answered.
Built a behavior-driven email campaign manager using three coordinated n8n workflows and a Supabase lead database. Every lead gets a tailored next email based on whether they opened, clicked a link, or ignored the last message—and a 15-minute Gmail reply check immediately stops the sequence and alerts the team in Slack the moment a prospect responds.
Separates scheduled follow-up dispatching, engagement tracking, and a 15-minute reply polling loop so sends and stops happen reliably.
Tracks every lead, which step of the campaign they are on, and their latest action (Opened, Clicked a link, Not opened, or Replied) with instant updates after each event.
Generates behavior-matched follow-up templates when needed—giving link-clickers a warmer next step while non-openers get a fresh angle and subject line.
Dispatches emails and checks Gmail threads every 15 minutes for replies. As soon as a reply is detected, the lead's sequence stops and #sales gets an instant Slack alert.
Architected a Supabase schema tracking lead stage, send history, open/click behavior, and reply status
Built three modular n8n workflows for scheduled sending, engagement branching, and 15-minute reply detection
Integrated OpenAI to tailor follow-up messaging for Opened vs. Clicked vs. Unopened leads
Connected Gmail API to send messages and inspect thread replies every 15 minutes
Added automatic sequence termination and #sales Slack notifications the moment a lead replies
Maximum time to detect a customer reply in Gmail and halt follow-ups
Tailored follow-ups for Opened, Clicked, and Unopened leads
Leads accidentally chased after they already replied
Watch the 22-second walkthrough showing how this system runs from start to finish.
Our Role
Email Automation Developer
Client
B2B Growth Team
Industry
Marketing Analytics
Delivery Timeline
3 weeks
Book a free discovery call and we'll map out how to build this for your exact data sources and tools.
VideoPublishing strong LinkedIn content every day was taking the founder hours—finding a real source worth writing about, drafting the post, and designing a matching carousel. On busy days nothing went out, yet the owner still wanted 100% final approval before anything was published under their name.
View Case Study
VideoThe client publishes weekly music and sports content, but keeping up with breaking news, picking trending stories, writing posts, and creating visuals took hours every week—and by the time assets were finished manually, some stories were already stale.
View Case Study
VideoThe business had 693 customers but no clear way to tell them apart. Everyone got the same emails and offers—whether they bought every week or hadn't ordered in almost a year. There was no quick way to see who the best customers were or who had stopped buying.
View Case Study
VideoThe client's analysts were pulling social media data by hand every week—logging into YouTube, Facebook, Instagram, TikTok, and other platforms one by one, exporting CSVs, and pasting numbers into reports. That took 8+ hours every week, and because each platform names and counts metrics differently, reports never matched.
View Case Study
VideoA sales team in Spain was running its entire pipeline by hand. Three people spent their days inside the CRM: checking Gmail to see who had replied, moving leads from one stage to the next, setting follow-up reminders, and fixing contact records. It was slow, error-prone, and the only way to handle more leads was to hire more people.
View Case Study
VideoBuilding local business lead lists by hand took hours. To build a single prospect list—like coffee shop owners in Miami—someone had to search Yelp, then Google Maps, then US business directories, and manually open every business's website to hunt for an email address or phone number.
View Case Study