Automation library · Lead generation

Capture website leads to HubSpot or Google Sheets with Slack

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

Large

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

The flow

Starts it 6Logic 11Service 7

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

  1. 1Webhook TriggerWebhookStarts it
  2. 2Parse Webhook bodyCodeLogic
  3. 3Normalize leadsSetLogic
  4. 4Code - Validate LeadCodeLogic
  5. 5IF node, Is Valid?IfLogic
  6. 6IF node, Enrichment enabled?IfLogic
  7. 7Respond to Webhook, 400 Bad Request (invalid path)Respond To WebhookStarts it
  8. 8Set - Snapshot dataSetLogic
  9. 9HTTP Request - Enrich (Optional)Http RequestService
  10. 10Set - Merge Enrichment into leadSetLogic
  11. 11MergeMergeLogic
  12. 12Switch - Choose destination (Sheets vs HubSpot)SwitchLogic
  13. 13Google Sheets- Lookup by emailGoogle SheetsService
  14. 14Hubspot - Create/Update contactsHubspotService
  15. 15IF - Sheets update Failed?IfLogic
  16. 16IF - HubSpot Failed?IfLogic
  17. 17Slack - update failedSlackService
  18. 18Slack - Successfully updatedSlackService
  19. 19Slack - HubSpot update failedSlackService
  20. 20Slack - HubSpot Successfully updatedSlackService
  21. 21Respond to Webhook - 500 - SheetsRespond To WebhookStarts it
  22. 22Respond to Webhook - 200 - SheetsRespond To WebhookStarts it
  23. 23Respond to Webhook - 500 - HubSpotRespond To WebhookStarts it
  24. 24Respond to Webhook - 200 - HubSpotRespond To WebhookStarts it

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
Google Sheets, HubSpot, Slack
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Sheets, HubSpot and Slack 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.