Automatically close cold HubSpot deals with Gmail feedback & Slack notifications
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on a schedule (every day). Along the way it connects HubSpot, Gmail and Slack.
How it runs
Trigger: On a schedule (every day).
- Get HubSpot Deals (HubSpot): get many (deal)
- Extract Deal Fields (Code): runs custom JavaScript code
- Filter: keeps only the items that match a condition
- Update Deal to Closed Lost (HubSpot): update (deal)
- Fetch Deal Associations (HTTP Request): calls an HTTP API
- Extract Contact IDs (Code): runs custom JavaScript code
- Get Contact Details (HubSpot): get
- Extract Contact Email (Code): runs custom JavaScript code
- Send Gmail Feedback Request (Gmail): uses Gmail
- Send Slack Notification (Slack): uses Slack
Services it uses
Other Gmail + Slack templates (957) · Other HubSpot + Slack templates (137) · Other HubSpot + Gmail templates (102)
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 (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HubSpot
n8n-nodes-base.hubspot - Code
n8n-nodes-base.code - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
How it works This workflow identifies HubSpot deals that have gone untouched for 21+ days and automatically updates their status to Closed Lost. It fetches associated contacts, retrieves their details, and sends personalized follow-up emails requesting…