# Bulk personalized email campaigns – SmartLead with OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/bulk-personalized-email-campaigns-smartlead-with-openai (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)

# Bulk personalized email campaigns – SmartLead with OpenAI

Started by an event in a connected app, and works across Airtable. It hands the judgement calls to OpenAI. 24 steps, 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%2Fbulk-personalized-email-campaigns-smartlead-with-openai)

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

**0** Branches: places the flow splits

**3** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 1 Logic 9 Service 12

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

- 1 **When Executed by Another Workflow** Execute Workflow trigger *Starts it*
- 2 **HTTP Request** Http Request *Service*
- 3 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 4 **HTTP Request7** Http Request *Service*
- 5 **HTTP Request5** Http Request *Service*
- 6 **HTTP Request8** Http Request *Service*
- 7 **Split Out1** Split Out *Logic*
- 8 **HTTP Request9** Http Request *Service*
- 9 **Loop Over Items3** Split In Batches *Logic*
- 10 **HTTP Request3** Http Request *Service*
- 11 **HTTP Request6** Http Request *Service*
- 12 **Aggregate** Aggregate *Logic*
- 13 **Wait1** Wait *Logic*
- 14 **HTTP Request11** Http Request *Service*
- 15 **Edit Fields** Set *Logic*
- 16 **Code in JavaScript** Code *Logic*
- 17 **Loop Over Items** Split In Batches *Logic*
- 18 **Limit2** Limit *Logic*
- 19 **Get a record1** Airtable *Service*
- 20 **Edit Fields5** Set *Logic*
- 21 **Message a model1** Open Ai *Model*
- 22 **HTTP Request13** Http Request *Service*
- 23 **Update record** Airtable *Service*
- 24 **HTTP Request17** Http Request *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 24, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Airtable
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Airtable account, 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 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%2Fbulk-personalized-email-campaigns-smartlead-with-openai)
- **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.

[Airtable](https://millionrounds.com/workflows?service=Airtable#library)

## Workflows like it

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

- [**Generate and qualify LinkedIn leads with Apify and Clearbit** 24 steps · Airtable, Gmail](https://millionrounds.com/workflow/generate-and-qualify-linkedin-leads-with-apify-and-clearbit)
- [**Qualify and draft LinkedIn outreach sequences for Airtable leads** 25 steps · calls a model · Airtable](https://millionrounds.com/workflow/qualify-and-draft-linkedin-outreach-sequences-for-airtable-l)
- [**Qualify real estate WhatsApp leads with Gemini and Airtable** 23 steps · calls a model · Airtable, Google Calendar](https://millionrounds.com/workflow/qualify-real-estate-whatsapp-leads-with-gemini-and-airtable)
- [**Qualify LinkedIn leads and draft multi-step outreach** 26 steps · calls a model · Airtable](https://millionrounds.com/workflow/qualify-linkedin-leads-and-draft-multi-step-outreach)
- [**Qualify LinkedIn leads and draft outreach with Airtable** 26 steps · calls a model · Airtable](https://millionrounds.com/workflow/qualify-linkedin-leads-and-draft-outreach-with-airtable)
- [**Google Maps to Airtable lead scraper with OpenAI** 27 steps · calls a model · Airtable](https://millionrounds.com/workflow/google-maps-to-airtable-lead-scraper-with-openai)
