# Lead collection with SendPulse and SMS: n8n workflow template

> Started by another system calling it, and works across n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/lead-collection-with-sendpulse-and-sms (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)

# Lead collection with SendPulse and SMS

Started by another system calling it, and works across n8n data table. It hands the judgement calls to OpenAI. 24 steps, 5 branches: 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%2Flead-collection-with-sendpulse-and-sms)

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

**5** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 10 Service 9

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **SendPulse MCP Client** Mcp Client Tool *Model*
- 3 **New Customer Registration** Webhook *Starts it*
- 4 **Generate And Send Welcome Email** Agent *Model*
- 5 **Generate Welcome SMS** Agent *Model*
- 6 **Workflow Configuration** Set *Logic*
- 7 **Send SMS to Client** Http Request *Service*
- 8 **Generate Hash** Code *Logic*
- 9 **Get Token from Storage** Data Table *Service*
- 10 **Is Token Expired?** If *Logic*
- 11 **Get New Access Token** Http Request *Service*
- 12 **Set Access Token** Set *Logic*
- 13 **Save Token to Storage** Data Table *Service*
- 14 **Get Mailing List** Http Request *Service*
- 15 **Exists email?** If *Logic*
- 16 **Search Mailing Lists With Emails** Code *Logic*
- 17 **Exists phone?** If *Logic*
- 18 **Exists Mailing List With Emails?** If *Logic*
- 19 **Search Mailing Lists With Phone Numbers** Code *Logic*
- 20 **Add Email to Mailing List** Http Request *Service*
- 21 **Create Mailing List With Emails** Http Request *Service*
- 22 **Is Exists Mailing List With Phone Numbers** If *Logic*
- 23 **Add Phone Number to Mailing List** Http Request *Service*
- 24 **Create mailing list with phones** Http Request *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 24, with 5 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** n8n data table
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, 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%2Flead-collection-with-sendpulse-and-sms)
- **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.

[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

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

- [**Send daily AI competitor change digests with ScraperAPI** 24 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/send-daily-ai-competitor-change-digests-with-scraperapi)
- [**Route RB2B leads to multichannel outreach with HeyReach** 24 steps · n8n data table](https://millionrounds.com/workflow/route-rb2b-leads-to-multichannel-outreach-with-heyreach)
- [**Score funding newsletter leads from Gmail with Bright Data** 22 steps · calls a model · Gmail, n8n data table](https://millionrounds.com/workflow/score-funding-newsletter-leads-from-gmail-with-bright-data)
- [**Deduplicate inbound leads from a webhook** 22 steps · n8n data table](https://millionrounds.com/workflow/deduplicate-inbound-leads-from-a-webhook)
- [**Personalized email outreach with LinkedIn and Crunchbase** 27 steps · calls a model · n8n data table](https://millionrounds.com/workflow/personalized-email-outreach-with-linkedin-and-crunchbase)
- [**Enrich and deduplicate Slack-uploaded companies in HubSpot** 27 steps · HubSpot, Slack](https://millionrounds.com/workflow/enrich-and-deduplicate-slack-uploaded-companies-in-hubspot)
