Skip to main content

Sync HubSpot and Linear customers daily using Snowflake data

Workflow preview

Workflow preview
100%
Sync HubSpot and Linear customers daily using Snowflake data preview
Open on n8n.io

1. Workflow Overview

HubSpot → Linear Customers Sync Keeps your Linear Customers list automatically in sync with HubSpot CRM data, using Snowflake as the data warehouse source. Runs on a daily schedule and handles both...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.switch, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.limit, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Romain Jouhannet.

Original n8n.io source

1.1 Workflow description

Title
Sync HubSpot and Linear customers daily using Snowflake data
Workflow name
Sync HubSpot and Linear customers daily using Snowflake data

HubSpot → Linear Customers Sync

Keeps your Linear Customers list automatically in sync with HubSpot CRM data, using Snowflake as the data warehouse source.

Runs on a daily schedule and handles both creates and updates — only touching records where ARR or seat count has actually changed. No unnecessary API calls.

How it works

  1. A Schedule Trigger fires daily at a configurable time
  2. Snowflake is queried to retrieve all customer accounts with aggregated ARR and seat count from your CRM (e.g. Hubspot) product table
  3. All existing Linear Customers are fetched via cursor-based pagination (250 records/page)
  4. A matching step compares records using HubSpot COMPANY_ID as the Linear externalId, with a domain-based fallback for re-keyed accounts
  5. Unmatched companies are created as new Linear Customers
  6. Changed records (ARR or seats) are updated in Linear
  7. A Slack notification is sent for every sync action

Setup

  1. Add your Snowflake credential and adapt the SQL query to your schema
  2. Connect your Linear API credential (requires Customer read + write permissions)
  3. Set up a Slack Bot credential and update the target channel in the Slack node
  4. Adjust the Schedule Trigger to your preferred sync time

Notes

  • The Limit Snowflake (Testing) node is disabled by default — enable it during testing to cap the number of Snowflake rows processed
  • Matching uses externalIds (HubSpot company ID) first, then falls back to domains
  • Only records with changed revenue or size values trigger a Linear update

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Post Update to Linear

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Post Create to Linear

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Route by Customer Action

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 11 - Format Output Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Set Next Page Parameters

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - If More Pages Exist

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 14 - Process Customer Page

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Fetch Customer Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Set Initial Pagination

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Limit HubSpot Records

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 18 - When Scheduled at 2 PM

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.1

Block 19 - Match and Update Customers

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Post Slack Notification

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 21 - Retrieve HubSpot Data from Snowflake

Type / Role
n8n-nodes-base.snowflake - snowflake
Config choices
Version 1

3. Summary Table

Workflow Sync HubSpot and Linear customers daily using Snowflake data
Complexity advanced
Nodes 21
Categories CRM
Author Romain Jouhannet
Published 31 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14518/14518.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Sync HubSpot and Linear customers daily using Snowflake data do?

HubSpot → Linear Customers Sync Keeps your Linear Customers list automatically in sync with HubSpot CRM data, using Snowflake as the data warehouse source. Runs on a daily schedule and handles both...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.