← back to blog
guide
2026-06-25 11 min read

HubSpot Automation with n8n: Complete Integration Guide (2026)

HubSpot is powerful. n8n makes it limitless. Connect your CRM to every tool in your stack and automate lead nurturing, deal tracking, and sales ops without writing a single line of custom code.

HubSpot is one of the most widely used CRMs in the world - and it already has a decent automation layer built in. So why bother connecting it to n8n? Because HubSpot's native workflows only talk to HubSpot. n8n connects HubSpot to everything else: your billing system, your project management tool, your support desk, your Slack workspace, your data warehouse.

This guide covers eight automation workflows we regularly build for clients using HubSpot as their CRM. Every one solves a real problem that HubSpot's built-in workflows can't touch.

Connecting HubSpot to n8n

n8n has a dedicated HubSpot node with full support for contacts, companies, deals, tickets, and custom properties. Authentication uses OAuth2 or a Private App API key.

Core scopes for most workflows: crm.objects.contacts.read/write, crm.objects.deals.read/write, crm.objects.owners.read.

Workflow 1: New Contact to Multi-Channel Onboarding

When a new contact enters HubSpot, n8n fans out across every channel simultaneously - email to the contact, Slack to the owner, task in your PM tool, row in your pipeline sheet. One event, everything moves.

Trigger: HubSpot Webhook -- contact.creation Node: HubSpot -- get full contact record + company data Node: Code -- determine lead tier (enterprise / SMB / self-serve) Node: Gmail / SendGrid -- send personalised welcome email Node: Slack -- notify assigned rep with contact summary Node: Notion / Asana -- create onboarding task with due dates Node: Google Sheets -- log to pipeline tracker with timestamp

The tiering logic is what makes this valuable. Enterprise leads get a different email and a Slack ping to a senior AE. Self-serve gets the nurture sequence. One trigger, intelligent branching, no manual sorting.

Workflow 2: Deal Stage Change to Automated Next Steps

Every time a deal moves stages in HubSpot, n8n executes the right follow-on actions for that stage automatically. No manual triggers, no checklist dependency.

Trigger: HubSpot Webhook -- deal.propertyChange (dealstage) Node: Switch -- branch by new deal stage [Proposal Sent] Node: PandaDoc -- generate and send proposal document Node: Slack -- notify rep [Closed Won] Node: Stripe -- create customer + subscription record Node: Gmail -- send onboarding welcome email Node: Notion -- create client project workspace Node: Slack -- post to #wins with deal value [Closed Lost] Node: HubSpot -- set re-engage sequence for +90 days Node: Google Sheets -- log with loss reason

The moment a deal closes in HubSpot, a Stripe customer is created, the onboarding email goes out, and a Notion workspace appears - all before the rep refreshes their browser.

Workflow 3: Lead Score Threshold to Instant Sales Alert

HubSpot fires a webhook every time lead score changes. n8n catches the threshold crossing and turns it into an actionable sales alert with full enrichment context.

Trigger: HubSpot Webhook -- contact.propertyChange (hubspotscore) Node: IF -- new score >= 80 AND previous score < 80 Node: HubSpot -- get contact + deals + company associations Node: HTTP Request -- Clearbit enrich (company size, industry, ARR est.) Node: Code -- build formatted alert with score breakdown Node: Slack -- post to #hot-leads with full context Node: HubSpot -- create task: "Call within 2 hours"

Your rep calls informed, not cold. Company size, industry, which pages they viewed, which emails they opened - all in the Slack message. Sub-60-second response time to high-intent signals is a genuine competitive advantage.

Workflow 4: Bidirectional Contact Sync

HubSpot rarely lives in isolation. n8n handles bidirectional sync between HubSpot and your accounting system, project management tool, or customer success platform.

Trigger: HubSpot Webhook -- contact.propertyChange (any field) Node: Code -- map HubSpot fields to target system schema Node: HTTP Request -- upsert contact in target system Node: IF -- target returned new record ID? Node: HubSpot -- write back external ID to custom property [Reverse sync] Trigger: Webhook from target system -- contact update Node: HubSpot -- search by email Node: HubSpot -- update properties from source data

Store the external system's ID as a custom HubSpot property. This prevents duplicate creation and gives you a stable join key that survives email changes.

Workflow 5: Behaviour-Triggered Follow-Ups

HubSpot Sequences are structured but not reactive. n8n can trigger personalised follow-ups the moment a meaningful signal fires - like a contact opening your proposal email.

Trigger: HubSpot Webhook -- contact.propertyChange (hs_email_last_open_date) Node: HubSpot -- get contact + email engagement history Node: Code -- check: opened within last 30 minutes? Node: IF -- has active deal? (yes / no) [Has deal] Node: Slack -- "Hot signal: {Name} just opened your proposal" Node: HubSpot -- create task: "Call now while intent is high" [Nurture contact] Node: HubSpot -- enroll in re-engagement sequence Node: Gmail -- send personalised check-in 2 hours later

A rep who calls within 5 minutes of an email open converts at 3x the rate of one who calls the next day. This workflow makes sub-5-minute response the default, not the exception.

Workflow 6: Win/Loss Analysis Automation

Consistent win/loss data is invaluable. Collecting it manually is unreliable. n8n automates the collection and structures the data for analysis.

Trigger: HubSpot Webhook -- dealstage = Closed Won / Closed Lost Node: HubSpot -- get full deal record [Won] Node: Gmail -- send win survey to deal contact Node: Google Sheets -- log to Win Analysis sheet [Lost] Node: OpenAI -- classify loss reason into category Node: HubSpot -- update deal with categorised reason Node: Google Sheets -- log to Loss Analysis sheet [Both] Node: Code -- update rolling win rate Node: Google Sheets -- update dashboard metrics tab

The OpenAI classification maps free-text loss reasons to consistent categories. After 30 deals you have clean data. After 100, you have real strategy signal.

Workflow 7: HubSpot to Data Warehouse Sync

For real BI work, you need CRM data in a warehouse - not just in HubSpot's dashboards. n8n runs nightly ETL that pushes clean, flattened data to BigQuery or Postgres.

Trigger: Schedule -- daily at 02:00 UTC Node: HubSpot -- get deals modified in last 24 hours Node: HubSpot -- get contacts modified in last 24 hours Node: Code -- transform + flatten nested HubSpot objects Node: Code -- deduplicate against existing warehouse records Node: Postgres / BigQuery -- upsert to target warehouse Node: Slack -- "Nightly sync: 47 deals, 312 contacts updated"

HubSpot's API returns deals with associations as nested arrays. Your warehouse wants flat rows. The Code node gives you full JavaScript to reshape data exactly as needed - no brittle CSV exports, no third-party ETL tools to pay for.

Workflow 8: Automated Reporting to Stakeholders

Executives don't want to log into HubSpot. They want a clean summary in their inbox every Monday. n8n generates and sends it without any manual work.

Trigger: Schedule -- every Monday at 08:00 Node: HubSpot -- get deals closed last week (won + lost) Node: HubSpot -- get new contacts created last week Node: HubSpot -- get pipeline value by stage Node: Code -- calculate metrics: close rate, avg deal size, velocity Node: Code -- generate HTML email with metrics table Node: Gmail -- send to stakeholder list Node: Google Sheets -- append weekly metrics to history sheet

After 12 weeks you have trend lines. After a year, seasonality patterns and real forecasting data rather than gut feel.

// time savings measured across clients
Post-close setup (Stripe + project): 2 hours to under 2 minutes
Lead routing and notification delay: 4 hours to under 60 seconds
Weekly reporting prep: 3 hours to zero
Contact sync errors across tools: reduced by 90%+

Common Mistakes

These are the patterns that trip up teams new to HubSpot automation:

Where to Start

Start with Workflow 2 - the deal stage change automation. It has the highest visible impact and gives your team confidence the integration works before you build anything more complex.

Workflow 3 (hot lead alerts) typically delivers the fastest revenue impact after that. Sales speed matters more than most teams realise - and sub-60-second response time to high-intent signals is a genuine competitive advantage that HubSpot's native tools can't provide.

If you want this built and running rather than DIY'd, get in touch and we'll scope it out.

further reading