Automation library · Lead generation

Qualify CSV leads, enrich emails, and deliver results

Started by someone submitting a form, and works across Gmail, Google Drive, Google Sheets and WhatsApp. It hands the judgement calls to Gemini and OpenAI. 93 steps, 12 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAI

93 stepsLarge: read it before trusting it with anything live
12Branches: places the flow splits
5Loops or waits
4Services it connects to

The flow

Starts it 1Model 5Logic 36Service 18

The steps in the order they run, from what starts it. The first 60 of 93.

  1. 1On form submissionForm triggerStarts it
  2. 2B: GeminiLm Chat Google GeminiModel
  3. 35 nanoLm Chat Open AiModel
  4. 4OpenAI Chat ModelLm Chat Open AiModel
  5. 5CodeCodeLogic
  6. 6Personalize MessageChain LlmModel
  7. 7Output ParserOutput Parser StructuredModel
  8. 8CSV LoopSplit In BatchesLogic
  9. 9Set AI ResponseSetLogic
  10. 10Remove Duplicate WebsitesRemove DuplicatesLogic
  11. 11Extract from FileExtract From FileService
  12. 12P: MergeMergeLogic
  13. 13Remove Duplicate NameRemove DuplicatesLogic
  14. 14Replace ValueCodeLogic
  15. 15Personalization LoopSplit In BatchesLogic
  16. 16Send to SwitchSwitchLogic
  17. 17Email SwitchSwitchLogic
  18. 18Convert to FileConvert To FileService
  19. 19Convert to File.Convert To FileService
  20. 20Detect Wrong Website URLs SetLogic
  21. 21Rename New Email KeysRename KeysService
  22. 22+1 Email MergeMergeLogic
  23. 23Rename PE KeysRename KeysService
  24. 24+2 Email MergeMergeLogic
  25. 25Rename PE + New Email KeysRename KeysService
  26. 26Upload fileGoogle DriveService
  27. 27Send CSVWhats AppService
  28. 28Data Processing SwitchSwitchLogic
  29. 29+1: Replace with "-"CodeLogic
  30. 30+2: Replace with "-"CodeLogic
  31. 31Send a messageGmailService
  32. 32x Website DataGoogle SheetsService
  33. 33No Website LoopSplit In BatchesLogic
  34. 34LoopSplit In BatchesLogic
  35. 35Web Scrap LoopSplit In BatchesLogic
  36. 36+1 EmailGoogle SheetsService
  37. 37+2 EmailGoogle SheetsService
  38. 38Email exist or notIfLogic
  39. 39No Website MergeMergeLogic
  40. 40Processed Data MergeMergeLogic
  41. 41E: MergeMergeLogic
  42. 42E: exist or notIfLogic
  43. 43PR: Exist or notIfLogic
  44. 44HTTP RequestHttp RequestService
  45. 45MergeMergeLogic
  46. 46LimitLimitLogic
  47. 47Verify.Http RequestService
  48. 48Set invalid EmailSetLogic
  49. 49- Website +- Email +- Phone NumberGoogle SheetsService
  50. 50Remove No Email RecordsFilterLogic
  51. 51Full MergeMergeLogic
  52. 52E: VerifyHttp RequestService
  53. 53E: Email not existSetLogic
  54. 54PE: Not ExistSetLogic
  55. 55PE: VerifyHttp RequestService
  56. 56Extract Website DetailsCodeLogic
  57. 57Extract Tag & AttributeeHtmlLogic
  58. 58Website Scrapping ErrorSetLogic
  59. 59Send a Success MessageGmailService
  60. 60Right or Wrong.IfLogic

How it's built

Starts on
Someone submitting a form
Steps
93, with 12 branches, 5 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Drive, Google Sheets, WhatsApp
Model
Gemini, OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Drive, Google Sheets and WhatsApp accounts, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 93 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 93 steps before you point it at anything that matters.