Generate and track invoices with HubSpot, Gmail, Slack, Sheets, and Notion
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs on HubSpot events (plus 1 other trigger). Along the way it connects HubSpot, Google Sheets, Notion and Gmail and 1 more. It also calls api.html2pdf.app over HTTP.
How it runs
Trigger: On HubSpot events (plus 1 other trigger).
- If: checks a condition and branches into true / false
- Slack: uses Slack
- 🏷️ HTTP - Get Deal Details (HTTP Request): calls an HTTP API
- 🔗 HTTP - Get Deal Associations (HTTP Request): calls an HTTP API
- Code: runs custom JavaScript code
- 👤 HTTP - Get Contact Details (HTTP Request): calls an HTTP API
- Code: runs custom JavaScript code
- 🖨️ HTTP - Generate PDF (HTTP Request): calls api.html2pdf.app (POST)
- Google Sheets: append
- Notion: uses Notion
…plus 13 more steps. See the full node list below.
Services it uses
HTTP calls to: api.html2pdf.app
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 (10)
- HubSpot Trigger
n8n-nodes-base.hubspotTrigger - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Notion
n8n-nodes-base.notion - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - Error Trigger
n8n-nodes-base.errorTrigger
From the author
How it works This workflow triggers when a HubSpot deal stage changes to Closed Won and automatically generates an invoice. It collects deal and contact data, builds a styled invoice, converts it into a PDF, and sends it to the client. The system logs all…