Skip to main content
Community template Uses AILead NurturingAI Chatbot

Personalized email outreach with LinkedIn & Crunchbase data and Gemini AI review - n8n workflow template

AI-Enriched Cold Outreach: Research → Draft → QA → Write-back ============================================================ What this template does ----------------------- Automates cold email drafting from a lead list by: 1. Enriching each lead with LinkedIn profile, LinkedIn…

Template by Johnny Rafael · Original listing (opens in a new tab)

Starts on
App event
Nodes
27 nodes
Level
Advanced
Setup
About 16 min

Workflow preview

How this workflow runs

  1. 1

    When clicking ‘Execute workflow’

    Starts the workflow manually when you click 'Execute workflow' — used for testing and manual runs.

  2. 2

    When Executed by Another Workflow

    Entry point used when this workflow is executed by another workflow.

  3. 3

    Structured Output Parser

    Forces the AI output into a structured JSON schema for reliable downstream use.

  4. 4

    Structured Output Parser1

    Forces the AI output into a structured JSON schema for reliable downstream use.

  5. 5

    Google Gemini Chat Model

    Provides Google Gemini as the chat model for the AI steps.

  6. 6

    RapidAPI-Key

    Sets or transforms workflow data — prepares, renames, or injects fields before the next step.

  7. 7

    Get row(s)

    Reads or writes rows in an n8n Data Table.

  8. 8

    Get row(s)1

    Reads or writes rows in an n8n Data Table.

  9. 9

    Main Loop

    Loops over items in batches, processing each one in turn (used for iteration).

  10. 10

    Linkedin_URL

    Makes an external API call (HTTP request) to send or retrieve data from a third-party service.

Creator's notes and setup

Written by Johnny Rafael for the original listing.

AI-Enriched Cold Outreach: Research → Draft → QA → Write-back

What this template does

Automates cold email drafting from a lead list by:

  1. Enriching each lead with LinkedIn profile, LinkedIn company, and Crunchbase data
  2. Generating a personalized subject + body with Gemini
  3. Auto-reviewing with a Judge agent and writing back only APPROVED drafts to your Data Table

Highlights

  • Hands-off enrichment via RapidAPI; raw JSON stored back on each row
  • Two-agent pattern: Creative Outreach Agent (draft) + Outreach Email Judge (QA)
  • Structured outputs guaranteed by LangChain Structured Output Parsers
  • Data Table–native: reads “unprocessed” rows, writes results to the same row
  • Async polling with Wait nodes for scraper task results

How it works (flow)

  1. Trigger: Manual (replace with Cron if needed)
  2. Fetch leads: Data Table “Get row(s)” filters rows where email_subject is empty (pending)
  3. Loop: Split in Batches iterates rows
  4. Enrichment (runs in parallel):
    • LinkedIn profile: HTTP (company_url) → Wait → Results → Data Table update → linkedin_profile_scrape
    • LinkedIn company: HTTP (company_url) → Wait → Results → Data Table update → linkedin_company_scrape
    • Crunchbase company: HTTP (url_search) → Wait → Results → Data Table update → crunchbase_company_scrape
      (All calls use host cold-outreach-enrichment-scraper with a RapidAPI key.)
  5. Draft (Gemini): “Agent One” composes a concise, personalized email using row fields + enrichment + ABOUT ME block.
    • Structured Output Parser enforces:
      {
        "email_subject": "text",
        "email_content": "text"
      }
      
  6. Prep for QA: “Email Context” maps email_subject, email_content, and email for the judge.
  7. QA (Judge): “Judge Agent” returns APPROVED or REVISE (brief feedback allowed).
  8. Route:
    • If APPROVED → Data Table “Update row(s)” writes email_subject + email_body (a.k.a. email_content) back to the row.
    • If REVISE → Skipped; loop continues.

Required setup

Data Table: “email_linkedin_list” (or your own) with at least:

  • email, First_name, Last_name, Title, Location, Company_Name, Company_site,
    Linkedin_URL, company_linkedin (if used), Crunchbase_URL,
    email_subject, email_body,
    linkedin_profile_scrape, linkedin_company_scrape, crunchbase_company_scrape (string fields for JSON).

Credentials:

  • RapidAPI key for cold-outreach-enrichment-scraper (store securely as credential, not hardcoded)
  • Google Gemini (PaLM) API configured in the Google Gemini Chat Model node

ABOUT ME block:
Replace the sample persona (James / CEO / Company Sample / AI Automations) with your own.

Nodes used

  • Data Table
  • HTTP Request:
  • AI Agent:
  • Google Gemini Chat Model
  • Split in Batches: Main Loop
  • Set: RapidAPI-Key

Customization ideas

  • Process flags: Add email_generated_at or processed boolean to prevent reprocessing.
  • Human-in-the-loop: Send drafts to Slack/Email for spot check before write-back.
  • Delivery: After approval, optionally email the draft to the sender for review.

Quotas & costs

  • RapidAPI: Multiple calls per row (three tasks + result polls).
  • Gemini: Token usage for generator + judge per row.
    Tune batch size and schedule accordingly.

Privacy & compliance

You are scraping and storing person/company data.
Ensure lawful basis, respect ToS, and minimize stored data.

n8n nodes used (12 types)

What every node does (27)
  • Structured Output Parser (Output Parser Structured)Forces the AI output into a structured JSON schema for reliable downstream use.
  • Structured Output Parser1 (Output Parser Structured)Forces the AI output into a structured JSON schema for reliable downstream use.
  • Main Loop (Split In Batches)Loops over items in batches, processing each one in turn (used for iteration).
  • Approval Route (If)Branches the workflow based on a true/false condition.
  • Agent One (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • Email Context (Set)Sets or transforms workflow data — prepares, renames, or injects fields before the next step.
  • Judge Agent (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • Google Gemini Chat Model (LLM Chat Google Gemini)Provides Google Gemini as the chat model for the AI steps.
  • When clicking ‘Execute workflow’ (Manual Trigger)Starts the workflow manually when you click 'Execute workflow' — used for testing and manual runs.
  • Get row(s) (Data Table)Reads or writes rows in an n8n Data Table.
  • Update row(s) (Data Table)Reads or writes rows in an n8n Data Table.
  • Get row(s)1 (Data Table)Reads or writes rows in an n8n Data Table.
  • When Executed by Another Workflow (Execute Workflow Trigger)Entry point used when this workflow is executed by another workflow.
  • Linkedin_URL (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Wait (Wait)Pauses the workflow for a set time or until a condition is met (used for polling / async jobs).
  • RapidAPI-Key (Set)Sets or transforms workflow data — prepares, renames, or injects fields before the next step.
  • results (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Update row(s)1 (Data Table)Reads or writes rows in an n8n Data Table.
  • Wait1 (Wait)Pauses the workflow for a set time or until a condition is met (used for polling / async jobs).
  • results1 (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Update row(s)2 (Data Table)Reads or writes rows in an n8n Data Table.
  • Linkedin_URL_COMPANY (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Wait2 (Wait)Pauses the workflow for a set time or until a condition is met (used for polling / async jobs).
  • results2 (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Update row(s)3 (Data Table)Reads or writes rows in an n8n Data Table.
  • Crunchbase_URL (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Call 'My workflow' (Execute Workflow)Handles the Execute Workflow step in this workflow.

FAQ

Personalized email outreach with LinkedIn & Crunchbase data and Gemini AI review: questions

How do I import the "Personalized email outreach with LinkedIn & Crunchbase data and Gemini AI review" workflow into n8n?

Copy the workflow JSON from this page, open the n8n editor, click on an empty canvas and paste with Ctrl+V (Cmd+V on macOS). You can also download the .json file and choose Import from File in the workflow menu. Save the workflow, then attach credentials before activating it.

Which nodes and credentials does "Personalized email outreach with LinkedIn & Crunchbase data and Gemini AI review" use?

It uses HTTP Request, If, Set, Split In Batches, Execute Workflow and Wait, plus 6 more. Any node that connects to an external service needs your own credential — open each node after import and select or create one. Trigger, logic and transformation nodes usually need no credentials.

Can it run on n8n Cloud and on self-hosted n8n?

The workflow format is the same on both. If a node appears as unknown or outdated after import, update n8n to a recent version or, on self-hosted instances, install the required community node package. Features such as $env access are available on self-hosted instances only.

How can I customise "Personalized email outreach with LinkedIn & Crunchbase data and Gemini AI review"?

Start by changing the trigger (schedule, webhook or app event) and the destination nodes to match your stack — it is listed under Lead Nurturing, AI Chatbot. Edit prompts, field mappings and filters in the relevant nodes, use expressions like {{ $json.field }} to map data, and test with a manual execution before activating.

n8n is a trademark of n8n GmbH. AltFTool is not affiliated with, endorsed by or sponsored by n8n. Community templates are credited to their creators and link to the original listing; AltFTool originals are written and tested by the AltFTool team.

About this page

Free n8n workflow templates to copy and import

The AltFTool n8n library collects free n8n workflow templates for AI agents, Gmail, Google Sheets, Telegram and other apps. Each workflow page shows a preview, the list of nodes and the credentials it needs, and lets you copy or download the JSON to import into your own n8n.

Search the templates by app or task, or browse them by category and by node. The Workflow Inspector checks any workflow JSON for triggers, credentials and hardcoded keys before you share it, and the expressions cheat sheet gives copy-paste n8n expression examples. AltFTool is not affiliated with n8n.

People also search for

  • n8n workflow templates
  • n8n templates
  • n8n automation examples
  • n8n json workflows
  • n8n nodes
  • free n8n workflow templates
  • n8n ai agent template
  • n8n expressions cheat sheet