This powerful automation agent manages a multi-stage email follow-up sequence for your sales leads, eliminating manual tracking and ensuring no prospect falls through the cracks. Running daily at 9 AM, it automatically reads your lead list from Google Sheets, evaluates each prospect's stage, and sends perfectly-timed follow-up emails at Day 1, Day 3, Day 7, and Day 14 intervals. The agent then intelligently updates your spreadsheet with sent dates, progression stages, and next follow-up dates—creating a self-managing sales pipeline.
Key benefits include:
Target use cases: Sales teams managing lead nurturing sequences, business development professionals handling multiple prospects, agencies coordinating client outreach, and any organization needing systematic follow-up workflows.
This agent is ideal for:
No coding experience required—just a Google Sheet and Gmail account!
Why it's needed: Google Sheets serves as your lead database and tracking system. The agent reads lead information from your sheet and updates it with follow-up history, ensuring a single source of truth for your pipeline.
Setup steps:
Create a Google Sheet with the following columns (minimum):
email - Lead's email addressname - Lead's full namefirst_name - Lead's first name (for personalization)stage - Current follow-up stage (Day 1, Day 3, Day 7, Day 14, or Complete)last_sent_date - Date of last email sentnext_follow_up_date - Calculated next follow-up datestatus - Current status (Active, Completed, or Skipped)Share your Google Sheet with edit permissions (you'll need the shareable link)
Copy your sheet URL from the browser address bar—it will look like:
https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/edit
In TaskAGI, navigate to Integrations and select Google Sheets
Authenticate by clicking "Connect" and granting TaskAGI permission to access your Google account
Paste your sheet URL into the sheet_url parameter fields (you'll see this in multiple nodes)
Verify column names match exactly—the agent references email, name, first_name, stage, etc.
Why it's needed: Gmail delivers your personalized follow-up emails to prospects at the right time, maintaining your professional communication channel.
Setup steps:
Use your existing Gmail account (no separate setup required if you already have Gmail)
In TaskAGI, navigate to Integrations and select Gmail
Click "Connect" and authenticate with your Gmail account
Grant permissions when prompted—TaskAGI needs permission to send emails on your behalf
Verify sender address shows your correct Gmail address (this is what recipients will see)
Enable "Less secure app access" if using a personal Gmail account (Google will prompt you, or enable in your Google Account settings under Security)
For Gmail Business accounts, ensure your administrator hasn't blocked third-party app access
Configuration in TaskAGI:
to field references [[nodes.7.email]] (the parsed lead email)[[nodes.7.name]] for personalizationThese informational nodes help you document your workflow:
No configuration needed—these are reference nodes.
Daily Schedule (9 AM)
schedule_interval
9:00 AM (or your preferred time)This ensures your follow-up sequence runs automatically every morning, checking for leads that need outreach.
Read Follow-Up Leads
googlesheets.getSheetFromUrl
sheet_url = Your Google Sheet URL (from integration setup)Configuration:
sheet_url: https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/edit
This node reads your entire lead list each morning, pulling fresh data.
Process Each Lead
core.loop
The loop ensures every lead gets evaluated and processed individually.
Parse Lead Data
core.function
email, name, first_name, stage, last_sent_date
This node extracts and formats lead information for use in subsequent steps.
Check if Should Process
core.if_condition
This prevents errors by ensuring leads have complete information before processing.
Route by Stage
core.switch
stage fieldstage == "Day 1" → Send Day 1 Email (Node 10)stage == "Day 3" → Send Day 3 Email (Node 11)stage == "Day 7" → Send Day 7 Email (Node 12)stage == "Day 14" → Send Day 14 Email (Node 13)This intelligent routing ensures each lead receives the appropriate email for their stage.
Send Day 1 Email
[[nodes.7.email]] (parsed lead email)Quick Follow-Up - [[nodes.7.name]]
Send Day 3 Email
Thought You'd Find This Helpful - [[nodes.7.name]]
Send Day 7 Email
Last Check-In - [[nodes.7.name]]
Send Day 14 Final Email
Final Note - Leaving This Open for You
Customization tips:
Merge After Send
core.merge
This node brings all pathways back together for consistent processing.
Calculate Next Stage
core.function
These nodes update your Google Sheet with follow-up history:
Update Last Sent Date (Node 16)
last_sent_date = Today's dateUpdate Stage (Node 17)
stage = Next calculated stageUpdate Next Follow-Up Date (Node 18)
next_follow_up_date = Calculated date (3, 7, or 14 days from today)Update Status (Node 19)
status = "Active" (or "Completed" if Day 14 sent)Before running your agent in production:
Verify integrations are connected
Test with sample data
Review email templates
| Step | What to Check | Success Indicator |
|---|---|---|
| Node 5 | Leads load from sheet | Count matches your sheet |
| Node 7 | Data parses correctly | Email and name fields populated |
| Node 8 | Validation passes | No leads skipped unexpectedly |
| Node 9 | Routing works | Leads route to correct stage |
| Nodes 10-13 | Emails send | Check your test inbox for emails |
| Nodes 16-19 | Sheet updates | Dates and stages update in real-time |
✅ Successful execution shows:
last_sent_date
stage column advances to next stage (Day 1 → Day 3, etc.)next_follow_up_date calculates correctly (3, 7, or 14 days ahead)status shows "Active" for ongoing sequences❌ Troubleshoot if you see:
Once testing succeeds:
Your lead follow-up automation is now ready to scale your sales pipeline! 🚀
Explore these powerful automation agents that complement your workflow.