Block 1 - Send a message
- Type / Role
- n8n-nodes-base.slack - slack
- Config choices
- Version 2.4
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 proc...
n8n-nodes-base.slack, n8n-nodes-base.code, n8n-nodes-base.hubspot, n8n-nodes-base.slacktrigger, n8n-nodes-base.filter, n8n-nodes-base.merge, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatgooglegemini
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.
Original n8n.io sourceThis 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 retrieves and filters relevant data from HubSpot (deals, companies, and contacts). Finally, an AI agent formats the response and sends a structured reply back to Slack.
Trigger on Slack mention
Slack Trigger – Listens for app mentions in Slack channels.
Code in JavaScript – Cleans the message by removing Slack IDs and formatting.
Fetch and filter CRM data
Get Deals – Retrieves deals from HubSpot.
Filter Deals – Filters deals based on the user query.
Get many companies – Fetches company records from HubSpot.
Filter Companies – Matches companies against the query.
Get Contacts – Retrieves contact data from HubSpot.
Filter Contacts – Filters contacts using name-based matching.
Merge – Combines filtered deals, companies, and contacts into one dataset.
Generate and send AI response
AI Agent – Uses AI to format and structure the CRM data into a readable response.
Google Gemini Chat Model – Provides the language model for the AI agent.
Send a message – Sends the final response back to the Slack channel.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Build a Slack-based CRM assistant with HubSpot and Google Gemini |
|---|---|
| Complexity | advanced |
| Nodes | 16 |
| Categories | CRM, AI Chatbot |
| Author | Avkash Kakdiya |
| Published | 01 Apr 2026 |
Use the JSON export at /data/workflows/14555/14555.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 proc...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Chatbot use case.