Block 1 - When chat message received
- Type / Role
- @n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
- Config choices
- Version 1.3
This workflow is provided as-is. Please review and test before using in production.
This n8n template gives you a chat style assistant that can search your HubSpot CRM on demand. Ask natural language questions like “show me leads in Germany” or “what deals close next month,” and t...
@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.hubspottool, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenai
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Miha.
Original n8n.io sourceThis n8n template gives you a chat-style assistant that can search your HubSpot CRM on demand. Ask natural-language questions like “show me leads in Germany” or “what deals close next month,” and the agent translates your request into precise HubSpot searches—then answers in plain English.
Great for founders, AEs, and ops folks who want quick answers without clicking through the CRM.
Chat trigger starts a session from your n8n chat UI or embed.
AI Agent (Gemini 2.5 Pro) interprets the message and:
HubSpot tools execute live queries:
query.Memory buffer keeps the last turns so you can say “now only show closed won over 10k” and the agent understands context.
Connect credentials
Open the chat (the “When chat message received” node).
Ask questions like:
Refine with follow-ups:
email, lifecyclestage, hs_lead_status) and the operator (EQ, IN, BETWEEN in epoch ms for dates, etc.).hs_all_owner_ids; swap or extend to filter by pipeline/stage ranges.IN lists, broaden dates) or include a free-text query.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 | Chat with your HubSpot data |
|---|---|
| Complexity | intermediate |
| Nodes | 7 |
| Categories | CRM |
| Author | Miha |
| Published | 26 Sept 2025 |
Use the JSON export at /data/workflows/8971/8971.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.
This n8n template gives you a chat style assistant that can search your HubSpot CRM on demand. Ask natural language questions like “show me leads in Germany” or “what deals close next month,” and t...
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 use case.