Skip to main content

Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook

Workflow preview

Workflow preview
100%
Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Lead Intelligence & Outreach: Verified Emails, HubSpot Sync & Outlook Drafts Who is this for? This workflow ...

Best for

  • Lead Generation automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googledrivetrigger, n8n-nodes-base.hubspot, n8n-nodes-base.splitinbatches, n8n-nodes-base.filter, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.toolcalculator

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Kumar Shivam.

Original n8n.io source

1.1 Workflow description

Title
Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook
Workflow name
Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook

AI Lead Intelligence & Outreach: Verified Emails, HubSpot Sync & Outlook Drafts

Who is this for?

This workflow is designed for sales/RevOps teams, B2B founders, SDR/AE teams, and agencies who live in HubSpot and need consistent, compliant first-touch outreach at scale. If you regularly build reusable, multi-client n8n automations, this template will save you hours of manual work.


What problem is this workflow solving? / Use case

Manual lead handling is slow and inconsistent:

  • Leads arrive messy across forms, lists, and imports; ownership and priority are unclear.
  • Finding the right decision-maker and a deliverable email takes too long.
  • Outreach copy drifts from brand guidelines, and CRM updates get missed.

This workflow solves the problem by creating a reliable pipeline from capture → enrichment → verification → CRM sync → Outlook draft, cutting handoffs and preserving auditability.


What this workflow does

  1. Capture and batching - Triggers on new/updated leads in HubSpot or pulls "ready" rows from Google Sheets; processes items sequentially to stay rate-safe.

  2. Normalize and score (ICP) - Cleans names, company, and domains; applies configurable ICP rules and writes score plus reasoning back to HubSpot/Sheets.

  3. Enrich contacts - Confirms official company details and identifies likely decision-makers via focused people searches; dedupes and role-normalizes.

  4. Verify emails - Finds work emails, checks deliverability, and logs confidence and timestamps to a tracking sheet immediately after each result.

  5. Compose outreach - Calls the approved template in Email content; personalizes only the first name; validates structure via Structured Output Parser.

  6. Draft in Outlook - Uses Microsoft Graph to create an HTML draft; embeds an inline signature image fetched from Google Drive.

  7. CRM sync and tasks - Creates/updates HubSpot contacts and associations, stores the composed email in properties, and opens a next-day follow-up task for the owner.

  8. Safety and observability - Deterministic prompts, strict parsing, idempotent writes, and clear flags prevent duplicates; optional Slack/Teams alerts for failures.


Setup

  1. Connect your accounts:

    • HubSpot (app token)
    • Microsoft Graph (OAuth2)
    • Google Sheets
    • Google Drive
    • Your LLM provider (for Level 2 Orchestrator and Email content)
  2. Set your credentials in the respective nodes.

  3. Adjust the Google Sheet IDs to match your own sheet structure.

  4. Map HubSpot properties (owner, contact/company IDs, custom fields for score, reasoning, and email content).

  5. Paste your approved HTML in Email content and upload your signature image to Drive.

  6. Configure schedule, batch size, and any Slack/Teams webhooks for notifications.


How to customize this workflow to your needs

  • ICP logic: Edit scoring weights and required qualifiers (industry, region, size, tech stack).
  • Personas: Change role detection and caps (e.g., Ops, Finance, Procurement).
  • Copy control: Swap the template in Email content or add A/B variants while keeping structure validation.
  • Triggers: Use webhook capture from forms, list-based pulls, or time-based recrawls.
  • Delivery: Switch the mail node to Gmail API if preferred; keep the same compose/verify/track sequence.
  • Governance: Add holdouts, opt-out checks, and rate limits per domain or owner; expand logs for export to a data warehouse.

✨ With this workflow, you go from messy inbound leads → verified contacts → synchronized HubSpot records → ready-to-send Outlook drafts in just minutes, with almost no manual work.


Need help customizing?

Contact me for consulting and support:
click here

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Google Drive Trigger

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 2 - Get many companies

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.1

Block 3 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 4 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 5 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Edit Fields1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 8 - Calculator

Type / Role
@n8n/n8n-nodes-langchain.toolCalculator - toolCalculator
Config choices
Version 1

Block 9 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 10 - Update a company

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.1

Block 11 - Edit Fields2

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - OpenRouter Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 13 - Simple Memory1

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 14 - OpenRouter Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 15 - Create or update a contact in HubSpot

Type / Role
n8n-nodes-base.hubspotTool - hubspotTool
Config choices
Version 2.1

Block 16 - OpenRouter Chat Model3

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 17 - Message a model in Perplexity

Type / Role
n8n-nodes-base.perplexityTool - perplexityTool
Config choices
Version 1

Block 18 - Message a model in Perplexity1

Type / Role
n8n-nodes-base.perplexityTool - perplexityTool
Config choices
Version 1

Block 19 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 20 - OpenRouter Chat Model4

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 23 - ICP Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 24 - OpenRouter Chat Model6

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Showing the first 24 of 114 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook
Complexity advanced
Nodes 114
Categories Lead Generation, AI Chatbot
Author Kumar Shivam
Published 25 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10156/10156.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate lead intelligence & outreach with GPT-4o, LinkedIn, HubSpot & Outlook do?

AI Lead Intelligence & Outreach: Verified Emails, HubSpot Sync & Outlook Drafts Who is this for? This workflow ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Chatbot use case.