πŸ’¬ Run AI-scored cold email outreach and follow-ups with Ollama and Gmail

⚑ 124 views Β· πŸ’¬ Lead Nurturing & AI Sales Agents

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Who is this for?

This workflow is built for founders, sales teams, solopreneurs, and agencies who want to automate outbound sales without expensive tools. Perfect for anyone doing cold email outreach who wants AI-powered personalization at scale.

What it does

The workflow runs three automated flows:

Flow 1 β€” New Lead Processing (8 AM weekdays):

Flow 2 β€” Follow-up Engine (every 2 hours weekdays):

Flow 3 β€” Reply Detection (every 2 hours weekdays):

Setup steps

  1. Google Sheets β€” Create a spreadsheet with columns: Lead Name, Email, Company, Website, Role/Title, Status, Reply Date, Reply Subject, Reply Snippet, and email tracking columns (see sticky notes in the workflow for full list)
  2. Gmail OAuth2 β€” Connect your Gmail account for sending emails and searching replies
  3. Ollama β€” Install locally and pull your preferred model (e.g., ollama pull mistral). You can also swap for OpenAI or Anthropic
  4. Telegram Bot β€” Create via @BotFather, get your bot token and chat ID
  5. AI Lead Scorer prompt β€” Edit the system prompt with your product, ICP, and scoring criteria
  6. AI Email Writer prompt β€” Edit with your name, company, value prop, and one specific result
  7. Sender name β€” Update the sender name in the Extract Emails code node (line 12) and Find Follow-ups code node (line 9)
  8. Gmail address β€” Set your sending Gmail address in the Filter Active Leads code node (line 10) and Check Reply Results code node (line 10)
  9. Test β€” Add a test lead with status β€œnew”, run the research flow manually, verify emails generate correctly, then enable all schedules

Requirements

How to customize

πŸ”— Nodes Used

Google Sheets, Telegram, Gmail, Schedule Trigger, AI Agent, Ollama Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup