Auto-assign deals in Hubspot to fitting sales reps based on geo and company size
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on a schedule (every 2 days at 07:00). Along the way it connects HubSpot. It also calls api.hubapi.com over HTTP.
How it runs
Trigger: On a schedule (every 2 days at 07:00).
- Get Deals (HTTP Request): calls api.hubapi.com
- Split Out: splits a list into separate items
- Unassigned Deals (Filter): keeps only the items that match a condition
- Get contact for deals (HTTP Request): calls an HTTP API
- Get company of contact(s) (HTTP Request): calls an HTTP API
- Assign by Region (Switch): routes items into 2 branches
- Assign US deals by company size (Switch): routes items into 3 branches
- Assign DE deals by company size (Switch): routes items into 3 branches
- Assign to Peter (HubSpot): update (deal)
- Assign deal to John (HubSpot): update (deal)
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: api.hubapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Split Out
n8n-nodes-base.splitOut - Switch
n8n-nodes-base.switch - HubSpot
n8n-nodes-base.hubspot
From the author
Use case To guarantee an effective sales process deals must be distributed between sales reps in the best way. Normally, this involves manually assigning new deals that have come in. This workflow automates it for you! What this workflow does This workflow…