Get Started
Screenshot of n8n workflow
PRO TEMPLATE
Automate HubSpot Deal Assignment
12
Views
0
Downloads
22
Nodes
Download Template
Pro required
Preview Template
Utility Rating
8 / 10
Business Function
Sales
Automation Orchestrator
n8n
Integrations
HubSpot
Trigger Type
Schedule
Approx setup time ≈ 25 min
Need help setting up this template?
Ask in our Futurise Pro community
About
Community
Courses
Events
Members
Templates

How to Automate HubSpot Deal Assignment?

Leon Petrou
PRO TEMPLATE
Automate HubSpot Deal Assignment
12
Views
0
Downloads
22
Nodes
Download Template
Pro required
Preview Template
Utility Rating
8 / 10
Business Function
Sales
Automation Orchestrator
n8n
Integrations
HubSpot
Trigger Type
Schedule
Approximate setup time ≈ 25 minutes
Need help setting up this template?
Ask in our Futurise Pro community

Description

Route new HubSpot deals to the right sales reps without manual sorting. Great for sales teams that want fair assignment by region and company size and need a simple way to keep follow ups fast.

A scheduled run every two days at 7 AM pulls deals from HubSpot with deal name, amount, current owner, and linked contacts. It keeps only deals with no owner, then handles them one by one. For each deal, it fetches the contact and the associated company, then uses rules to route by region. US and DE paths add an extra check for company size to send the deal to the right rep. If no rule fits, a fallback owner is used so nothing is missed.

Setup is simple. Connect your HubSpot account in n8n Cloud and edit the region and size rules to match your territory model. Expect faster response times, fewer handoff errors, and steady coverage as volume grows. This is ideal for teams selling across the US and Germany or anyone who wants clear, rule based deal assignment inside HubSpot.

Copy link

Tools Required

n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
HubSpot
Sign up
Free: $0 / mo; API access included (private app or OAuth). Limits on Free: 250,000 API calls/day and 100 requests per 10 seconds per private app.

What this workflow does?

  • Scheduled run every two days at 7 AM so routing happens on time
  • Pulls HubSpot deals with deal name, amount, owner, and contact links
  • Filters to unassigned deals and processes each record separately
  • Looks up the associated contact and company for better routing data
  • Routes by region with a switch node and a safe fallback path
  • Applies company size rules for US and DE to pick the right rep
  • Updates HubSpot deal owner using dedicated update nodes
  • Fallback owner ensures no deal stays unassigned

What are the benefits?

  • Reduce manual routing from 60 minutes to 5 minutes per day
  • Automate 90% of deal assignment steps
  • Improve owner accuracy by 95% through rule based logic
  • Handle 5 times more new deals without extra staff
  • Connect n8n and HubSpot CRM for seamless updates

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with HubSpot. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a new HubSpot credential. Choose OAuth2 and connect your HubSpot account. Name the credential clearly, for example HubSpot Sales OAuth.
  4. Open the Get Deals node and select your HubSpot credential. Keep the provided URL that includes properties and contact associations unless you have a different need.
  5. Check the Split out deals node to ensure the field to split is results. This feeds one deal at a time to the next steps.
  6. Open the Unassigned Deals filter and confirm the condition checks that hubspot_owner_id is empty. This prevents reassigning owned deals.
  7. In Get contact for deals, keep the contact association expression. If some deals have no contacts, add a fallback route later or ensure deals are linked to contacts in HubSpot.
  8. In Get company of contact(s), confirm the company association is requested. This is used for region and size rules.
  9. Edit Assign by Region and set your regions such as US and DE. Keep the fallback output active so unmatched deals still move forward.
  10. Edit Assign US deals by company size and Assign DE deals by company size to reflect your size tiers. Map each path to the correct owner output.
  11. Open each HubSpot update node like Assign to John or Assign to Michael and choose the correct HubSpot owner from the dropdown. Make sure the dealId field uses the incoming deal id.
  12. Set the Schedule Trigger to your preferred interval and time. Confirm the server time zone matches your expectation in n8n Cloud.
  13. Test by clicking Execute Workflow and watch each node output. Then check a few deals in HubSpot to confirm the owner changed as expected.
  14. Troubleshoot common issues: If you see permission errors, reconnect the HubSpot credential with CRM scopes. If a node fails on missing associations, add a fallback rule or ensure contacts and companies are linked in HubSpot. If no rule matches, verify the fallback owner node is connected.

Need help or want to customize this?

Similar Templates

n8n
Sales
Automate HubSpot to Gmail Sales Outreach
Create personal sales emails at scale without guesswork. The flow pulls contacts from your CRM, studies past emails in Gmail, builds a quick persona, and writes a tailored draft for each person. Great for sales teams that want faster outreach with real context. It runs on demand and reads a target list from HubSpot. Each contact moves through a loop where the Variables step maps name, email, and the product you want to sell. Gmail pulls recent messages from that contact. An AI step using Google Gemini extracts traits like tone, decision style, and interests. A second AI step turns that persona into a subject line and HTML body. The email is saved as a Gmail draft so a rep can review and send. You will need HubSpot, Gmail, and a Google Gemini API key. Set your product in the Variables node and refine the Gmail search so only useful messages are used. Teams often cut drafting time from 30 minutes per contact to 2 minutes and can process hundreds of contacts in one run. Use it for account based outreach, reactivation, and upsell follow ups.
14 views
view
n8n
Sales
Automate Google Sheets HubSpot Lead Alerts
New leads flow from a Google Sheet straight into your CRM while your team gets instant alerts. It helps sales react fast and keeps contacts clean and organized without copy paste work. A Google Sheets trigger checks for new rows every minute. When a lead arrives, the data is sent to HubSpot as a contact with mapped fields like name, email, phone, interest level, and notes. At the same time, a Slack message posts to a chosen channel and a Gmail alert lands in the inbox. The flow then waits for a set time and checks the Followed Up? column. If it is still empty and interest is high, a reminder email is sent. If follow up happened, the flow ends quietly. Setup is simple for teams that already use Google Forms and Google Sheets to collect leads. Expect faster first responses, fewer missed leads, and consistent CRM records. It works well for small sales teams who want a sheet based follow up tracker with timed nudges. Adjust the wait time, Slack channel, and email settings to match your process.
5 views
view
n8n
Sales
Automate Email to HubSpot Lead Capture
Turn inbound emails into clean CRM records. Sales teams get contacts created and each message logged as an engagement in the CRM, without typing. Great for handling contact requests and demo emails. An email inbox watched by IMAP receives a new message. An AI model reads the email and pulls key details like name, email, phone, company, and location into a structured JSON. The flow checks HubSpot for a matching contact by email. If found, it maps the HubSpot contact id and records the email as an engagement. If not found, it creates the contact first, then adds the engagement with the original subject and body. The setup uses an OpenAI chat model with a defined output schema to keep fields consistent. You will need access to an IMAP email inbox, a HubSpot account with OAuth, and an OpenAI API key. Expect faster lead intake, fewer typos, and complete timelines in HubSpot. Good fits include inbound sales requests, replies to outreach, and leads sent by third party forms that forward email. After connecting credentials, test by sending a sample email and check that the contact and engagement appear in HubSpot.
4 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.