# Smart email outreach sequence – AI-powered & customizable: n8n workflow

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

Source: https://millionrounds.com/workflow/smart-email-outreach-sequence-ai-powered-and-customizable (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)

# Smart email outreach sequence – AI-powered & customizable

Started by an event in a connected app, and works across Gmail and Google Sheets. It hands the judgement calls to OpenAI. 56 steps, 7 branches, 11 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%2Fsmart-email-outreach-sequence-ai-powered-and-customizable)

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

**7** Branches: places the flow splits

**11** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 3 Logic 33 Service 9

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

- 1 **When clicking Test workflow1** Manual trigger *Starts it*
- 2 **Get website with Jina.ai** Http Request *Service*
- 3 **Get website with Jina.ai1** Http Request *Service*
- 4 **Get website with Jina.ai2** Http Request *Service*
- 5 **Read List of Leads** Google Sheets *Service*
- 6 **Is it an Email?** If *Logic*
- 7 **Loop Over Emails** Split In Batches *Logic*
- 8 **Loop Over Emails1** Split In Batches *Logic*
- 9 **Loop Over Emails2** Split In Batches *Logic*
- 10 **Wait1** Wait *Logic*
- 11 **Extract Domain Name** Code *Logic*
- 12 **Wait3** Wait *Logic*
- 13 **Extract Domain Name1** Code *Logic*
- 14 **Extract Domain Name2** Code *Logic*
- 15 **Gmail** Gmail *Service*
- 16 **Wait** Wait *Logic*
- 17 **Code** Code *Logic*
- 18 **Wait2** Wait *Logic*
- 19 **Code1** Code *Logic*
- 20 **Wait4** Wait *Logic*
- 21 **If1** If *Logic*
- 22 **Limit Markdown** Code *Logic*
- 23 **Gmail1** Gmail *Service*
- 24 **If2** If *Logic*
- 25 **Limit Markdown1** Code *Logic*
- 26 **Code2** Code *Logic*
- 27 **Gmail2** Gmail *Service*
- 28 **If3** If *Logic*
- 29 **Limit Markdown2** Code *Logic*
- 30 **Product link** Set *Logic*
- 31 **Product Link** Set *Logic*
- 32 **Product Link1** Set *Logic*
- 33 **Generate Email content** Open Ai *Model*
- 34 **Limit Markdown** Code *Logic*
- 35 **Gmail1** Gmail *Service*
- 36 **If2** If *Logic*
- 37 **Limit Markdown1** Code *Logic*
- 38 **Code2** Code *Logic*
- 39 **Gmail2** Gmail *Service*
- 40 **If3** If *Logic*
- 41 **Limit Markdown2** Code *Logic*
- 42 **Product link** Set *Logic*
- 43 **Product Link** Set *Logic*
- 44 **Product Link1** Set *Logic*
- 45 **Generate Email Follow-up 1** Open Ai *Model*
- 46 **Generate Email Final Follow-up** Open Ai *Model*

## How it's built

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

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets 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 56 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 56 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%2Fsmart-email-outreach-sequence-ai-powered-and-customizable)
- **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)

## Workflows like it

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

- [**AI sales agent: fully email handling & lead scoring system** 57 steps · calls a model · Gmail, NocoDB](https://millionrounds.com/workflow/ai-sales-agent-fully-email-handling-and-lead-scoring-system)
- [**Automate business partner outreach with Google Maps and OpenAI** 55 steps · calls a model · Apify, Google Drive](https://millionrounds.com/workflow/automate-business-partner-outreach-with-google-maps-and-open)
- [**Gmail Cold Email Sequence with Google Sheets Tracking** 55 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/gmail-cold-email-sequence-with-google-sheets-tracking)
- [**End-to-end B2B real estate lead enrichment & outreach** 58 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/end-to-end-b2b-real-estate-lead-enrichment-and-outreach)
- [**Run a full lead-to-meeting pipeline with Google Sheets** 52 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/run-a-full-lead-to-meeting-pipeline-with-google-sheets)
- [**Local business leads and run AI-powered cold email sequences** 62 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/local-business-leads-and-run-ai-powered-cold-email-sequences)
