Skip to main content

Workflow for two-way sync between Airtable and HubSpot

Workflow preview

Workflow preview
100%
Workflow for two-way sync between Airtable and HubSpot preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who's it for This template is for sales teams, marketing operations (M Ops), or freelancers who use Airtable as a "control panel" or staging area for new leads. If you're tired of manually copying ...

Best for

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

Tools used

n8n-nodes-base.set, n8n-nodes-base.hubspot, n8n-nodes-base.merge, n8n-nodes-base.airtable, n8n-nodes-base.if, n8n-nodes-base.scheduletrigger, n8n-nodes-base.splitinbatches, n8n-nodes-base.noop

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Workflow for two-way sync between Airtable and HubSpot
Workflow name
Workflow for two-way sync between Airtable and HubSpot

Who's it for

This template is for sales teams, marketing operations (M-Ops), or freelancers who use Airtable as a "control panel" or staging area for new leads. If you're tired of manually copying and pasting approved leads into HubSpot, this workflow automates the entire process for you.

How it works

This workflow runs on a schedule (e.g., every 5 minutes) to check for new leads.

1. Before: Your Airtable has new leads with a '📥 New Lead' status.

2. The Trigger: You (or a teammate) manually review and change a lead's status to '👍 Ready to Sync'. 3. The Workflow Runs: n8n fetches all leads in that view (up to 50 at a time) and loops through them one by one. For each lead, it:

  • Finds (or creates) a Company in HubSpot based on the email domain.
  • Creates (or updates) a Contact in HubSpot based on the email.
  • Automatically associates that Contact with that Company.

4. After: The workflow automatically updates the same Airtable row with the new HubSpot IDs and a '✅ Synced' status, completing the 2-way sync. This template includes a full batch-processing loop, robust error-handling (it logs failures back to Airtable), and detailed sticky notes to guide you.

How to set up

Setup should take less than 10 minutes. All detailed instructions are in the sticky notes inside the workflow.

  1. Copy the Airtable Base: This is a mandatory first step! You must use this template.

  2. Add Your Credentials:

  3. Configure 3 Nodes:

    • Schedule Trigger: Set how often you want it to run (e.g., every 5 minutes).
    • get 👍Ready to Sync: Select your Airtable credential and the Base you copied. Also, Do this for the other Airtable nodes.
    • Search company: Select your HubSpot credential. Also, Do this for the othe HubSpot nodes.
  4. Activate! Save and activate the workflow. To test it, just change a lead's 'Status' in Airtable to '👍 Ready to Sync'.

Requirements

  • An Airtable account.
  • A HubSpot account (a free developer sandbox account is recommended for testing).
  • n8n credentials for both Airtable and HubSpot (using a Private App Token for HubSpot).

How to customize the workflow

  • Add More Fields: Easily sync more data (like 'Phone Number' or 'Lead Source') by adding columns in your Airtable, then adding those fields to the Create or update a contact node in n8n.
  • Change the Schedule: Adjust the Schedule Trigger to run more or less frequently.
  • Add Notifications: Connect a Slack or email node to the 👍Done! Going for next record (success) or specially 👎Failed! Going for next record1 (error) paths to get real-time alerts.

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 - get domain

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

Block 2 - Search company

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.2

Block 3 - Create a company

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.2

Block 4 - Merge

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

Block 5 - Create or update a contact

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.2

Block 6 - Sync back

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

Block 7 - Report Failure

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

Block 8 - change status to Syncing...

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

Block 9 - If company exists

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

Block 10 - Schedule Trigger

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

Block 11 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 12 - 🎉All Records Completed!🎉

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

Block 13 - 👍Done! Going for next record

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

Block 14 - 👎Failed! Going for next record1

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

Block 15 - Sticky Note

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

Block 16 - Sticky Note1

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

Block 17 - Sticky Note2

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

Block 18 - Sticky Note3

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

Block 19 - Sticky Note4

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

Block 20 - Sticky Note5

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

Block 21 - Sticky Note6

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

Block 22 - Sticky Note7

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

Block 23 - Sticky Note8

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

Block 24 - Sticky Note9

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

Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Workflow for two-way sync between Airtable and HubSpot
Complexity advanced
Nodes 32
Categories CRM
Author Ehsan
Published 15 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10866/10866.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 Workflow for two-way sync between Airtable and HubSpot do?

Who's it for This template is for sales teams, marketing operations (M Ops), or freelancers who use Airtable as a "control panel" or staging area for new leads. If you're tired of manually copying ...

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.