Create QuickBooks invoices from won HubSpot deals with Slack alerts
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs on a schedule (every hour). Along the way it connects HubSpot, Slack and QuickBooks Online. It also calls api.hubapi.com over HTTP.
How it runs
Trigger: On a schedule (every hour).
- Workflow Configuration (Edit Fields (Set)): sets 12 fields: wonDealStage, startFromCloseDate, hubspotPortalId…
- Find Won Deals Without Invoice (HubSpot): search (deal)
- Keep New Deals With Amount (Filter): keeps only the items that match a condition
- Loop Over Deals (Loop Over Items (Split in Batches)): loops over the items in batches
- Get Deal Contacts and Line Items (HTTP Request): calls an HTTP API
- Get Deal Contact (HubSpot): get
- Alert Finance About Failed Deal (Slack): uses Slack
- Contact Has Email? (If): checks a condition and branches into true / false
- Get Line Item Details (HTTP Request): calls api.hubapi.com (POST)
- Flag Deal as Missing Contact (HubSpot): update (deal)
…plus 11 more steps. See the full node list below.
Services it uses
Other HubSpot + Slack templates (137) · Other QuickBooks + Slack templates (10)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HubSpot
n8n-nodes-base.hubspot - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - QuickBooks Online
n8n-nodes-base.quickbooks - Code
n8n-nodes-base.code
From the author
Quick overview This workflow runs hourly to find won HubSpot deals without a QuickBooks invoice number, then creates the matching customer and invoice in QuickBooks Online and posts Slack alerts when a contact email is missing, an invoice needs review, or a…