Automation library · Lead generation

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.

LargeCalls a model: OpenAI

24 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 4Logic 10Service 9

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2SendPulse MCP ClientMcp Client ToolModel
  3. 3New Customer RegistrationWebhookStarts it
  4. 4Generate And Send Welcome EmailAgentModel
  5. 5Generate Welcome SMSAgentModel
  6. 6Workflow ConfigurationSetLogic
  7. 7Send SMS to ClientHttp RequestService
  8. 8Generate HashCodeLogic
  9. 9Get Token from StorageData TableService
  10. 10Is Token Expired?IfLogic
  11. 11Get New Access TokenHttp RequestService
  12. 12Set Access TokenSetLogic
  13. 13Save Token to StorageData TableService
  14. 14Get Mailing ListHttp RequestService
  15. 15Exists email?IfLogic
  16. 16Search Mailing Lists With EmailsCodeLogic
  17. 17Exists phone?IfLogic
  18. 18Exists Mailing List With Emails?IfLogic
  19. 19Search Mailing Lists With Phone NumbersCodeLogic
  20. 20Add Email to Mailing ListHttp RequestService
  21. 21Create Mailing List With EmailsHttp RequestService
  22. 22Is Exists Mailing List With Phone NumbersIfLogic
  23. 23Add Phone Number to Mailing ListHttp RequestService
  24. 24Create mailing list with phonesHttp RequestService

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.