Automation library · Alerts and monitoring

Sync HubSpot contacts with LinkedIn URLs

Started by an event in a connected app, and works across Gmail and Google Sheets. 36 steps, 5 branches: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 2Logic 25Service 9

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2When Executed by Another WorkflowExecute Workflow triggerStarts it
  3. 3Set data hereSetLogic
  4. 4EditSetLogic
  5. 5Get list of ownersHttp RequestService
  6. 6Get list of clients for ownerHttp RequestService
  7. 7Split Out ownersSplit OutLogic
  8. 8Increment PageSetLogic
  9. 9Get current ownerFilterLogic
  10. 10IfIfLogic
  11. 11Get list of clientsExecute WorkflowLogic
  12. 12Merge al the entriesCodeLogic
  13. 13Change this for testingFilterLogic
  14. 14Split Out1Split OutLogic
  15. 15Create entry with emailGoogle SheetsService
  16. 16Get rows from documentGoogle SheetsService
  17. 17If linkedin url is emptyIfLogic
  18. 18Search for user profile by namesHttp RequestService
  19. 19Set the profile URL1SetLogic
  20. 20Profile URL not found?IfLogic
  21. 21Merge profileURLCodeLogic
  22. 22Do nothingNo OpLogic
  23. 23Set the profile URLSetLogic
  24. 24Search for user by linkHttp RequestService
  25. 25Get last postExecute WorkflowLogic
  26. 26Set last_positionSetLogic
  27. 27Set last_postSetLogic
  28. 28if new positionIfLogic
  29. 29if new postIfLogic
  30. 30Updates last positionGoogle SheetsService
  31. 31Update last postGoogle SheetsService
  32. 32Set position_updatedSetLogic
  33. 33Set post_updatedSetLogic
  34. 34Merge on emailMergeLogic
  35. 35Generate the email textCodeLogic
  36. 36GmailGmailService

How it's built

Starts on
An event in a connected app
Steps
36, with 5 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

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 36 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 36 steps before you point it at anything that matters.