Follow-Up Automation

Build an AI Follow-Up Email Agent with Gmail and HubSpot

Build an AI agent that tracks email threads in Gmail, detects unanswered follow-ups, and auto-generates context-aware drafts — one click to send. The follow-up references the original message and adds a new angle instead of a generic 'just checking in'. Send status synced back to HubSpot automatically.

Build This Agent Free See How It Works
Deploy in under 10 minutes
No code required
Production-ready from day one
Works With
Gmail
HubSpot
Google Sheets
How It Works

Follow-Ups That Actually Get Replies

The agent handles the hardest part of follow-up — knowing what to say next. It reads the thread, checks the deal context, and writes a follow-up that adds value instead of adding noise.

Gmail → HubSpot Follow-Up Pipeline

Scan threads → detect unanswered → get contact → draft follow-up → sync to HubSpot

Gmail HubSpot Google Sheets
1

List Threads

Agent scans Gmail for sent threads that haven't received a reply within your defined follow-up window

Thread Scan via Gmail
2

Read Full Thread

Full thread content fetched — original email, any prior follow-ups, and the rep's previous angle

Thread Fetch via Gmail
3

Fetch HubSpot Contact

HubSpot contact record retrieved — deal stage, last activity, and any notes added since the original email

Contact Fetch via HubSpot
4

Draft Follow-Up

AI writes a follow-up that references the original message, adds a fresh angle, and proposes a specific next step

Draft via Gmail
5

Sync to Sheets

Follow-up status, draft sent date, and thread outcome logged to Google Sheets for pipeline visibility

Status Sync via Sheets
Trigger
Thread with no reply after N days
Context
Full thread history + HubSpot contact
Draft
New angle follow-up, not 'just checking in'
Action
Rep reviews and sends with one click
Log
Status and outcome tracked in Sheets
What You Get

Follow-Ups That Actually Get Replies

The agent handles the hardest part of follow-up — knowing what to say next. It reads the thread, checks the deal context, and writes a follow-up that adds value instead of adding noise.

Automatic Thread Monitoring

Gmail scanned continuously for threads that go unanswered beyond your configured window — 2 days, 5 days, or a custom interval. No leads fall through because a rep forgot to follow up.

Context-Aware Drafts

AI reads the full thread and the HubSpot record before writing the follow-up. It knows what was said, what angle was already tried, and what stage the deal is at — so the follow-up adds something new.

New Angle Every Time

No 'just checking in' emails. The AI references a new signal — a recent company news item, a question from the original thread, or a different product angle — to give the prospect a reason to reply.

One-Click Send

Drafts land in the rep's Gmail draft folder — reviewed and sent with one click. Rep stays in control of what goes out. No emails sent without human approval unless configured for auto-send.

HubSpot Sync

When a follow-up draft is created, HubSpot contact last-activity date is updated and a note added. When the rep sends, status is marked as followed up. Deal stage updates trigger automatically for positive replies.

Pipeline Visibility

Every follow-up thread logged to Google Sheets — contact name, original email date, follow-up sent date, and reply outcome. Full pipeline view of which deals are stalling and how many touches they've had.

The Difference

Manual Follow-Up vs AI-Generated Drafts

THE OLD WAY
Manual Follow-Up Management
Done by the rep, when they remember to do it
~40%
Follow-Ups Missed
"Checking in"
Most Common Draft
2–5 days
Avg Delay
Threads followed up on within 3 days of no reply (vs 50 open threads)
0~15 of 50 threads followed up on time50
Rep relies on memory or a spreadsheet to track who needs a follow-up — half the threads get forgotten in the daily noise
Follow-up is a generic 'just checking in' — adds no value, signals desperation, rarely gets a reply
Rep has to re-read the thread to remember the context before writing — 5 minutes of work per follow-up
No visibility into which threads are stale — manager can't coach on follow-up effectiveness without digging through Gmail
VS
THE ARCHITECT WAY
AI Agent-Powered
Agent monitors all threads and drafts follow-ups automatically — rep just reviews and sends
0%
Follow-Ups Missed
New angle
Every Follow-Up
Same day
Draft Ready
Threads followed up on within 3 days of no reply (vs 50 open threads)
050/50 threads get a follow-up draft automatically50
Every thread monitored — no leads fall through because a rep forgot or was too busy to follow up
AI reads the full thread and writes a follow-up that references the original message and adds a fresh angle
Draft ready in the rep's inbox — reviewed and sent with one click, no re-reading the thread required
All follow-up activity logged to Google Sheets — full pipeline visibility for rep and manager
100%
Open threads get follow-up drafts
Zero
'Just checking in' emails
Same day
Draft ready when follow-up window expires
More replies with context-aware follow-ups
100%
Open threads get a follow-up draft — no leads forgotten
Same day
Draft ready the moment the follow-up window expires
Zero
Generic 'just checking in' emails — every draft adds a new angle
More replies when follow-ups reference specific context
Technical Details

Gmail + HubSpot + Google Sheets Deep Dive

How the agent connects Gmail's thread API, HubSpot's contact data, and Google Sheets to run a production-grade follow-up pipeline that monitors every open thread and drafts the right message at the right time.

Gmail Thread Scanning

Thread listing via Gmail returns all sent threads with no inbound reply. Full thread content fetched for context. Smart filters exclude internal threads, auto-replies, and threads where a reply has been received but not yet read.

HubSpot Contact Fetch

Contact retrieval via HubSpot pulls the full record for the email recipient — deal stage, last activity, deal value, and any notes added since the original email was sent. Used to add deal context to the follow-up.

AI Draft Generation

AI reads thread history and HubSpot context to write a follow-up that avoids repeating previous angles, references something specific, and proposes a clear next step. Draft created as Gmail draft — not sent automatically.

Google Sheets Status Tracking

Follow-up log updated via Google Sheets when a draft is created and when the rep sends it. Tracks: contact name, thread subject, draft created date, sent date, and reply outcome. Feeds pipeline visibility reports.

Error Handling

Gmail API failures, missing HubSpot records, and Sheets write errors handled gracefully with retry logic. If HubSpot data is unavailable, draft is created from thread context alone — no follow-up dropped.

Security & Auth

OAuth2 for Gmail and HubSpot with automatic token refresh. Gmail access scoped to sent mail and drafts only — agent cannot read other emails in the inbox. All credentials stored encrypted.

Agent Prompt
Build an AI agent that monitors Gmail threads and generates context-aware follow-up drafts:

1. Thread Scanning — Poll Gmail for sent email threads that have not received a reply after a defined window (e.g. 3 business days). Return all qualifying threads with their full message history.

2. Thread Context — For each unanswered thread, fetch the complete message content: original email, any previous follow-ups sent, and the date of last activity.

3. HubSpot Contact Lookup — Search HubSpot by the recipient's email address. Retrieve: deal stage, deal value, last activity date, last meeting notes, and any open items from previous interactions.

4. Follow-Up Draft — Generate a follow-up email that:
   - References a specific element from the original message
   - Adds a new angle (recent company news, a different product benefit, a relevant case study)
   - Proposes a concrete next step (specific meeting time, a short question, a resource link)
   - Never uses phrases like "just checking in" or "following up on my last email"
   Create the follow-up as a Gmail draft — do NOT send automatically.

5. HubSpot Update — Update the HubSpot contact's last activity date and add a note indicating a follow-up draft has been created.

6. Sheets Log — Append a row to Google Sheets: contact name, company, original email date, follow-up draft date, and thread subject.

Integrations: Gmail (thread scanning & draft creation), HubSpot (contact data & activity update), Google Sheets (pipeline tracking).
Frequently Asked Questions

Common Questions

Will the agent send the follow-up automatically or does the rep review it?
By default, the agent creates a Gmail draft and does not send. The rep reviews the draft in their Gmail drafts folder and sends with one click. This keeps the rep in control of outgoing communication. Auto-send can be configured for specific scenarios — for example, a low-touch follow-up after a trial signup — but human review is the recommended default.
How does it know not to follow up on a thread where the rep has already replied?
The agent checks the thread's reply history before drafting. If the rep has sent a message after the prospect's last response (or vice versa), it skips that thread. It only queues threads where the last message in the chain was sent by the rep and has received no inbound reply within the follow-up window.
Can I set different follow-up windows for different deal stages?
Yes — follow-up windows are configurable by HubSpot deal stage. Hot deals in late pipeline stages might get a 1-day window; early-stage deals might wait 5 days. You define the rules during setup, and the agent applies the right window to each thread based on the associated deal stage in HubSpot.
What makes the follow-up different from the original email?
The AI reads the original message and any prior follow-ups to understand what angles have already been tried. It then writes from a different perspective — a new value angle, a question the prospect might have had, a relevant news item, or a case study. It never repeats what was said before. The result reads as a new message, not a copy of the last one.
Does it work for cold email threads or only warm prospects?
Both. For cold threads, the agent uses the email content and any Apollo enrichment available. For warm threads (existing HubSpot contacts with deal history), it adds deal context, stage-appropriate language, and references previous interactions. The depth of personalisation scales with the data available.
Related Use Cases

More Sales Agents You Can Build

Get Started

Never Miss a Follow-Up Again

No code. No credit card to start. Production-ready in under 10 minutes.

Read the Docs