# Automate lead qualification & personalized outreach: n8n workflow

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

Source: https://millionrounds.com/workflow/automate-lead-qualification-and-personalized-outreach (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 qualification & personalized outreach

Started by an event in a connected app, and works across Gmail. It hands the judgement calls to OpenAI. 12 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: OpenAI

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

**12 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 3 Service 4

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **Jotform Trigger** Jot Form trigger *Starts it*
- 4 **AI Sales Agent** Agent *Model*
- 5 **Extract Domain** Code *Logic*
- 6 **Wait for Approval** Gmail *Service*
- 7 **Flag personal email addresses** Code *Logic*
- 8 **Send Welcome Email** Gmail *Service*
- 9 **Is Personal Email?** If *Logic*
- 10 **Send Regret Email** Gmail *Service*
- 11 **Scrape Website** Url To Html *Service*
- 12 **Summarize website** Open Ai *Model*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 12, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail 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?

Plan an afternoon. 12 steps is enough that you should read each one before running it.

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 12 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-qualification-and-personalized-outreach)
- **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)

## Workflows like it

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

- [**AI SaaS leads scoring & email automation | Turn business** 12 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-saas-leads-scoring-and-email-automation-turn-business)
- [**AI-Powered Contact Form Lead Analyzer with CRM** 12 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-contact-form-lead-analyzer-with-crm)
- [**AI-powered outreach with Gemini and Gmail** 12 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-outreach-with-gemini-and-gmail)
- [**Automate Lead Qualification & Multi-Channel Follow-up** 12 steps · calls a model · Gmail](https://millionrounds.com/workflow/automate-lead-qualification-and-multi-channel-follow-up)
- [**Freelance Lead Machine – Apollo AI Lead Qualifier + Gmail Drafts** 12 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/freelance-lead-machine-apollo-ai-lead-qualifier-gmail-drafts)
- [**Monitor Reddit brand mentions and send lead alerts with Apify** 12 steps · calls a model · Apify, Discord](https://millionrounds.com/workflow/monitor-reddit-brand-mentions-and-send-lead-alerts-with-apif)
