Build a Slack-based CRM assistant with HubSpot and Google Gemini
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs on Slack events. Along the way it connects Slack, HubSpot and Google Gemini Chat Model.
How it runs
Trigger: On Slack events.
- Code: runs custom JavaScript code
- Get many companies (HubSpot): get many (company)
- Get Contacts (HubSpot): get many
- Get Deals (HubSpot): search (deal)
- Filter: keeps only the items that match a condition
- Filter: keeps only the items that match a condition
- Filter: keeps only the items that match a condition
- Merge: merges the data from its input branches
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
- Send a message (Slack): uses Slack
Services it uses
Other Google Gemini + Slack templates (309) · Other HubSpot + Slack templates (137) · Other Google Gemini + HubSpot templates (26)
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.
- Still check Slack Trigger requires a signing secret on the Slack API credential (Slack Trigger).
Nodes used (8)
- Slack
n8n-nodes-base.slack - Code
n8n-nodes-base.code - HubSpot
n8n-nodes-base.hubspot - Slack Trigger
n8n-nodes-base.slackTrigger - Filter
n8n-nodes-base.filter - Merge
n8n-nodes-base.merge - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
How it works This workflow creates a Slack-based CRM assistant that allows users to query HubSpot data using natural language. When a user mentions the bot in Slack, the message is cleaned and processed to remove Slack-specific formatting. The workflow then…