Automation library · Lead generation

Real-time lead response across social channels with Llama

Started by another system calling it, and works across Gmail, Google Sheets and WhatsApp. 24 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 5Logic 12Service 7

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

  1. 1Incomming Lead whatsapp1WebhookStarts it
  2. 2Incomming Lead facebook1WebhookStarts it
  3. 3Incomming Lead instagram1WebhookStarts it
  4. 4Incomming Lead linkdin1WebhookStarts it
  5. 5Incomming Lead Website1WebhookStarts it
  6. 6Normalize Lead Data6SetLogic
  7. 7Normalize Lead Data7SetLogic
  8. 8Normalize Lead Data8SetLogic
  9. 9Normalize Lead Data9SetLogic
  10. 10Normalize Lead Data5SetLogic
  11. 11Switch2SwitchLogic
  12. 12Extract Day and Hours1CodeLogic
  13. 13Is Working Day and Working Hour?1IfLogic
  14. 14Code in JavaScript3CodeLogic
  15. 15Get Ai Response1Http RequestService
  16. 16Code in JavaScript4CodeLogic
  17. 17Switch3SwitchLogic
  18. 18Send messageWhats AppService
  19. 19Send Instagram Message1Http RequestService
  20. 20Send Facebook Messages1Http RequestService
  21. 21Send Linkdin Messages1Http RequestService
  22. 22Send a message1GmailService
  23. 23Code in JavaScript5CodeLogic
  24. 24google-sheet-nameGoogle SheetsService

How it's built

Starts on
Another system calling it
Steps
24, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, WhatsApp
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and WhatsApp accounts. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

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.