# Sync HubSpot contacts with LinkedIn URLs: n8n workflow template

> 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...

Source: https://millionrounds.com/workflow/sync-hubspot-contacts-with-linkedin-urls (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# 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

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-hubspot-contacts-with-linkedin-urls)

**36 steps** Large: read it before trusting it with anything live

**5** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Logic 25 Service 9

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

- 1 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 2 **When Executed by Another Workflow** Execute Workflow trigger *Starts it*
- 3 **Set data here** Set *Logic*
- 4 **Edit** Set *Logic*
- 5 **Get list of owners** Http Request *Service*
- 6 **Get list of clients for owner** Http Request *Service*
- 7 **Split Out owners** Split Out *Logic*
- 8 **Increment Page** Set *Logic*
- 9 **Get current owner** Filter *Logic*
- 10 **If** If *Logic*
- 11 **Get list of clients** Execute Workflow *Logic*
- 12 **Merge al the entries** Code *Logic*
- 13 **Change this for testing** Filter *Logic*
- 14 **Split Out1** Split Out *Logic*
- 15 **Create entry with email** Google Sheets *Service*
- 16 **Get rows from document** Google Sheets *Service*
- 17 **If linkedin url is empty** If *Logic*
- 18 **Search for user profile by names** Http Request *Service*
- 19 **Set the profile URL1** Set *Logic*
- 20 **Profile URL not found?** If *Logic*
- 21 **Merge profileURL** Code *Logic*
- 22 **Do nothing** No Op *Logic*
- 23 **Set the profile URL** Set *Logic*
- 24 **Search for user by link** Http Request *Service*
- 25 **Get last post** Execute Workflow *Logic*
- 26 **Set last_position** Set *Logic*
- 27 **Set last_post** Set *Logic*
- 28 **if new position** If *Logic*
- 29 **if new post** If *Logic*
- 30 **Updates last position** Google Sheets *Service*
- 31 **Update last post** Google Sheets *Service*
- 32 **Set position_updated** Set *Logic*
- 33 **Set post_updated** Set *Logic*
- 34 **Merge on email** Merge *Logic*
- 35 **Generate the email text** Code *Logic*
- 36 **Gmail** Gmail *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-hubspot-contacts-with-linkedin-urls)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Manage on-campus event attendance with Google Sheets** 35 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-on-campus-event-attendance-with-google-sheets)
- [**Meta ads bulk launcher with Google Drive and Slack** 34 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/meta-ads-bulk-launcher-with-google-drive-and-slack)
- [**Monitor IP conflicts and governance with OpenAI and Slack** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/monitor-ip-conflicts-and-governance-with-openai-and-slack)
- [**Synchronize Slack status updates with Pinecone** 39 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/synchronize-slack-status-updates-with-pinecone)
- [**Automate delivery confirmation with Telegram Bot** 32 steps · Gmail, Google Drive](https://millionrounds.com/workflow/automate-delivery-confirmation-with-telegram-bot)
- [**Receive Meta Ads ad account webhooks, log** 32 steps · Google Sheets, Slack](https://millionrounds.com/workflow/receive-meta-ads-ad-account-webhooks-log)
