# Automate personalized B2B outreach with LinkedIn: n8n workflow

> Started by an event in a connected app, and works across Apify, Gmail, Google Sheets and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automate-personalized-b2b-outreach-with-linkedin (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 personalized B2B outreach with LinkedIn

Started by an event in a connected app, and works across Apify, Gmail, Google Sheets and Slack. It hands the judgement calls to OpenAI. 25 steps, 2 branches, 3 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-personalized-b2b-outreach-with-linkedin)

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

**2** Branches: places the flow splits

**3** Loops or waits

**4** Services it connects to

## The flow

Starts it 1 Model 4 Logic 9 Service 11

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

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **LinkedIn Profile Scraper** Apify *Service*
- 3 **Extract Key LinkedIn Data** Code *Logic*
- 4 **Email Finder** Hunter *Service*
- 5 **Consolidate Prospect Data** Code *Logic*
- 6 **Initial Prospect Storage** Google Sheets *Service*
- 7 **Retrieve Prospects for Outreach** Google Sheets *Service*
- 8 **Prepare Data for AI Agents** Code *Logic*
- 9 **Personalization Writer - Opening Line** Open Ai *Model*
- 10 **Value Proposition Tailor - Body** Open Ai *Model*
- 11 **Subject Line & CTA Optimizer** Open Ai *Model*
- 12 **Assemble Final Email** Code *Logic*
- 13 **Send Personalized Email** Gmail *Service*
- 14 **Update Email Sent Status** Google Sheets *Service*
- 15 **For Engagement Tracking** Wait *Logic*
- 16 **Retrieve Prospect for Follow-up** Google Sheets *Service*
- 17 **Check for Reply** If *Logic*
- 18 **Check Follow-up Limit** If *Logic*
- 19 **Notify Sales Team** Slack *Service*
- 20 **Follow-up Email Generator** Open Ai *Model*
- 21 **Archive Prospect** Google Sheets *Service*
- 22 **Send Follow-up Email** Gmail *Service*
- 23 **Update Follow-up Status** Google Sheets *Service*
- 24 **For Next Follow-up or Nurture** Wait *Logic*
- 25 **Loop Over Items** Split In Batches *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 25, with 2 branches, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Apify, Gmail, Google Sheets, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

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 25 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 25 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-personalized-b2b-outreach-with-linkedin)
- **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.

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

## Workflows like it

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

- [**AI-powered lead generation with Apollo and LinkedIn** 25 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-lead-generation-with-apollo-and-linkedin)
- [**Scrape US auto transport leads with SerpAPI and OpenAI** 25 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/scrape-us-auto-transport-leads-with-serpapi-and-openai)
- [**Send dental clinic audit outreach with DeepSeek and SerpAPI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/send-dental-clinic-audit-outreach-with-deepseek-and-serpapi)
- [**Find and email website-less local businesses** 25 steps · Gmail, Google Drive](https://millionrounds.com/workflow/find-and-email-website-less-local-businesses)
- [**Generate scored B2B leads from Google Maps websites** 25 steps · Google Sheets](https://millionrounds.com/workflow/generate-scored-b2b-leads-from-google-maps-websites)
- [**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)
