{"product_id":"n8n-workflow-create-quickbooks-invoices-from-won-hubspot-deals","title":"n8n Workflow: Create QuickBooks Invoices from Won HubSpot Deals","description":"\u003ch3\u003eCreate QuickBooks invoices automatically from Won HubSpot deals (with Slack alerts)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow finds \u003cstrong\u003eWon\u003c\/strong\u003e HubSpot deals missing a \u003ccode\u003equickbooks_invoice_number\u003c\/code\u003e, then creates the matching \u003cstrong\u003ecustomer and invoice in QuickBooks Online\u003c\/strong\u003e—and sends \u003cstrong\u003eSlack alerts\u003c\/strong\u003e whenever a contact email is missing, an invoice needs review, or any step fails.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns hourly\u003c\/strong\u003e on a schedule.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSearches HubSpot\u003c\/strong\u003e for deals in your configured \u003cem\u003ewon\u003c\/em\u003e stage that do not have \u003ccode\u003equickbooks_invoice_number\u003c\/code\u003e, are closed on\/after a configured start date, and have an amount greater than zero.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads deal context\u003c\/strong\u003e by fetching the associated contact and HubSpot line item IDs, then retrieves primary contact details.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates contact email\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003eIf the contact has \u003cstrong\u003eno email\u003c\/strong\u003e, the workflow updates the HubSpot deal to \u003ccode\u003eMISSING-CONTACT\u003c\/code\u003e and posts a \u003cstrong\u003eSlack** message\u003c\/strong\u003e asking sales to add a contact email.\u003c\/li\u003e\n      \u003cli\u003eIf an \u003cstrong\u003eemail exists\u003c\/strong\u003e, it proceeds with invoice creation.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds invoices from HubSpot line items\u003c\/strong\u003e, finds (or creates) the matching \u003cstrong\u003eQuickBooks Online customer\u003c\/strong\u003e by email, and creates the invoice in QuickBooks Online.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents double billing\u003c\/strong\u003e by writing the generated \u003cstrong\u003eQuickBooks invoice number back to HubSpot\u003c\/strong\u003e as \u003ccode\u003equickbooks_invoice_number\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoute invoice delivery\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003eWhen enabled (and within the configured amount limit), it emails the invoice via QuickBooks.\u003c\/li\u003e\n      \u003cli\u003eOtherwise, it posts a Slack message for finance to review and send.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFailure visibility:\u003c\/strong\u003e on any invoice-processing error, it posts a Slack alert with the deal, failing step, and error details.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eReduce manual work by converting newly won HubSpot deals into QuickBooks Online invoices automatically.\u003c\/li\u003e\n  \u003cli\u003eCatch data issues early by flagging missing contact emails directly in Slack and marking HubSpot deals as \u003ccode\u003eMISSING-CONTACT\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eEnsure finance review for higher-value invoices or cases where automated emailing is disabled.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e HubSpot (private app token), QuickBooks Online, Slack\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ logic:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eslack\u003c\/code\u003e, \u003ccode\u003efilter\u003c\/code\u003e, \u003ccode\u003ehubspot\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore behavior:\u003c\/strong\u003e hourly schedule, deal filtering, customer lookup\/creation by email, invoice creation, HubSpot field update to avoid duplicates, and Slack alerts on both business exceptions and technical failures.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46326520152243,"sku":"N8N-21827","price":74.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/NIdIAyGIKbEvUKE8_4Yh-_usbCkUfO.png?v=1793351311","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-create-quickbooks-invoices-from-won-hubspot-deals","provider":"N8N Commerce","version":"1.0","type":"link"}