n8n+HubSpot

How to Connect n8n with HubSpot — and What You Can Automate

The n8n HubSpot integration lets you auto-create contacts, build AI lead scoring agents, trigger follow-up sequences, sync CRM data across your stack, and manage your entire sales pipeline on autopilot.

Five CRM automations with n8n + HubSpot

📥
Auto-create contacts from forms
Every form submission, chat lead or webhook event instantly creates or updates a HubSpot contact with all relevant fields populated.
🧠
AI-enriched lead scoring
An n8n AI Agent analyzes lead data — job title, company size, behavior — and writes a lead score and qualification summary directly to HubSpot custom properties.
📧
Automated follow-up sequences
Enroll contacts into HubSpot sequences automatically based on deal stage changes, score thresholds, or time-based triggers — no manual work required.
🔄
Deal stage triggers
When a deal moves stages in HubSpot, n8n can notify Slack, create a Notion task, send an internal email, or trigger any downstream action instantly.
🔗
CRM data sync
Keep HubSpot in sync with your other tools — Airtable, Google Sheets, Notion or a custom database — with bi-directional data flows and conflict resolution.
📊
Pipeline reporting automation
Pull HubSpot deal and contact data on a schedule, format it with AI, and push it to Slack, email or Google Sheets as a daily pipeline digest.

Setting Up n8n + HubSpot

1
Connect HubSpot credentials in n8n
In HubSpot, go to Settings → Integrations → Private Apps and create a new app. Grant scopes for contacts, deals, companies and tickets based on what you need. Copy the access token, then in n8n add a new HubSpot credential and paste it in. The credential is now available across all HubSpot nodes.
2
Configure your trigger node
Choose what starts your workflow. Use a HubSpot Trigger node to react to CRM events (contact created, deal stage changed), a Webhook node for form submissions, or a Schedule node for batch processing. Connect any required credentials for the trigger source.
3
Add the HubSpot action node
Add a HubSpot node and configure the resource (Contact, Deal, Company, Ticket) and operation (Create, Update, Get, Search). Map incoming data fields using n8n's expression editor to HubSpot properties.
Example: Create Contact
Email: {{ $json.email }}
First name: {{ $json.firstName }}
Lead score: {{ $json.aiScore }}
Source: {{ $json.utmSource }}
4
Test and activate
Click Test workflow to execute a live run with real data. Check HubSpot to verify the contact or deal was created/updated correctly. Fix any field mapping errors, then set the workflow to Active for continuous automation.

Real workflows Xelionlabs has delivered

Workflow 01
AI Lead Qualification Agent
Inbound leads from a website form trigger n8n, which sends the lead data to GPT-4o for qualification scoring. The agent writes a score (0–100) and a one-line qualifier to HubSpot custom properties, then enrolls high-score leads in a sequence automatically.
n8nHubSpotOpenAITypeform
Workflow 02
Deal Stage Automation Hub
Every HubSpot deal stage change triggers a branching n8n workflow: notify the sales rep via Slack, create a follow-up task in Notion, update a Google Sheet pipeline tracker, and send a personalized email via Gmail — all without manual intervention.
n8nHubSpotSlackNotion
Workflow 03
CRM → Airtable Sync
A bi-directional sync keeps HubSpot contacts and deals mirrored in an Airtable base used by the operations team. Changes in either system propagate automatically with conflict detection and an audit log.
n8nHubSpotAirtable

n8n + HubSpot — Common Questions

Can n8n create contacts in HubSpot automatically?
Yes. n8n's HubSpot node can create, update, and manage contacts, deals, companies and tickets automatically when triggered by form submissions, webhooks, or any other data source. It maps any field — including custom properties.
How do I build an n8n HubSpot AI agent?
Combine n8n's AI Agent node (connected to OpenAI) with the HubSpot node. The agent can read CRM data, score leads with GPT, generate personalized outreach copy, and update HubSpot fields — all within one visual workflow.
Can n8n trigger HubSpot email sequences?
Yes. You can use n8n to enroll contacts into HubSpot sequences via the API, or trigger HubSpot workflows by updating contact properties that serve as enrollment triggers. Both approaches work reliably.
Is n8n better than Zapier for HubSpot automation?
For complex, multi-step CRM workflows with AI, n8n is significantly more powerful and cost-effective than Zapier. It supports loops, conditional logic, AI agents, and unlimited data processing without per-task pricing — making it ideal for high-volume HubSpot automation.

Want a custom n8n + HubSpot workflow built for you?

We scope, build and deploy production-ready CRM automations — from lead scoring agents to full pipeline orchestration.

Get in Touch →