# Automate lead enrichment & personalized outreach with HubSpot: n8n workflow

> Started by another system calling it, and works across Gmail, Google Sheets and HubSpot. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automate-lead-enrichment-and-personalized-outreach-with-hubs (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Automate lead enrichment & personalized outreach with HubSpot

Started by another system calling it, and works across Gmail, Google Sheets and HubSpot. It hands the judgement calls to OpenAI. 24 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-lead-enrichment-and-personalized-outreach-with-hubs)

**24 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 2 Logic 10 Service 11

The steps in the order they run, from what starts it.

- 1 **🔗 HubSpot Contact Webhook** Webhook *Starts it*
- 2 **🤖 OpenAI Language Model** Lm Chat Open Ai *Model*
- 3 **👤 Fetch Contact** Hubspot *Service*
- 4 **🧠 Generate Personalized Email** Agent *Model*
- 5 **📝 Update Sheet with Users Twitter/LinkedIn** Google Sheets *Service*
- 6 **✂️ Parse Email Content** Code *Logic*
- 7 **✅ Validate Twitter/LinkedIn Exists** If *Logic*
- 8 **📧 Sends Email** Gmail *Service*
- 9 **🚀 Launch Profile Scraper** Http Request *Service*
- 10 **🎯 Launch Tweet Scraper** Http Request *Service*
- 11 **⏳ Wait for Profile Processing** Wait *Logic*
- 12 **⏳ Wait for Tweet Processing** Wait *Logic*
- 13 **📊 Fetch Profile Results** Http Request *Service*
- 14 **📊 Fetch Tweet Results** Http Request *Service*
- 15 **🔍 Extract Profile URL** Code *Logic*
- 16 **🔍 Extract Tweet URL** Code *Logic*
- 17 **📥 Download Profile Data** Http Request *Service*
- 18 **📋 Download Tweet JSON** Http Request *Service*
- 19 **📋 Parse Profile JSON** Extract From File *Service*
- 20 **📋 Parse Tweet JSON** Extract From File *Service*
- 21 **🏷️ Format Profile Fields** Set *Logic*
- 22 **🏷️ Format Tweet Fields** Set *Logic*
- 23 **🔄 Merge Data Streams** Merge *Logic*
- 24 **🧩 Combine All Data** Code *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 24, with 1 branch, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, HubSpot
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and HubSpot accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-lead-enrichment-and-personalized-outreach-with-hubs)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[HubSpot](https://millionrounds.com/workflows?service=HubSpot#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**AI-powered Google Maps business scraper with OpenRouter** 24 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-google-maps-business-scraper-with-openrouter)
- [**Digitize business cards with Thai OCR** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/digitize-business-cards-with-thai-ocr)
- [**Lead automation with OpenAI and Gmail** 24 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/lead-automation-with-openai-and-gmail)
- [**Qualify mortgage leads and collect documents with Gemini** 24 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/qualify-mortgage-leads-and-collect-documents-with-gemini)
- [**Qualify real estate leads and answer EMI queries with Telegram** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/qualify-real-estate-leads-and-answer-emi-queries-with-telegr)
- [**Score, route, and reply to inbound leads with OpenAI and Gmail** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/score-route-and-reply-to-inbound-leads-with-openai-and-gmail)
