Templates / Send a daily unanswered leads digest with Gmail and OpenAI

Send a daily unanswered leads digest with Gmail and OpenAI

Ready for 3.0

by AI Agent Starter Kit ✓ · 0 views · created 2026-11-02 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 19 nodes and runs on a schedule (cron 0 8 * * 1-5) (plus 1 other trigger). Along the way it connects Gmail and OpenAI Chat Model.

How it runs

Trigger: On a schedule (cron 0 8 * * 1-5) (plus 1 other trigger).

  1. Configure your settings (Edit Fields (Set)): sets 10 fields: test_mode, your_email, your_business…
  2. Use the sample inbox? (If): checks a condition and branches into true / false
  3. Sample inbox (test mode) (Code): runs custom JavaScript code
  4. Get your sent mail and drafts (Gmail): get many
  5. Find threads nobody answered (Code): runs custom JavaScript code
  6. Get recent incoming mail (Gmail): get many
  7. Screen out noise and risky mail (Code): runs custom JavaScript code
  8. Classify with AI? (If): checks a condition and branches into true / false
  9. Classify each email with AI (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI model; output parser: Classification fields
  10. Build the digest (Code): runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (9)

From the author

Quick overview This workflow runs every weekday morning to scan Gmail for recent threads where someone emailed you but you haven’t replied or drafted a response, then uses OpenAI to prioritize and summarize the most important leads and delivers a single…

Excerpt from AI Agent Starter Kit's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.