This workflow corresponds to n8n.io template #6303 — we link there as the canonical source.
This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e726395c-acbe-4985-a860-833983686681",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
144,
-480
],
"parameters": {
"options": {
"systemMessage": "=You are a helpful assistant with access to Nansen MCP Tool. Nansen MCP tool allows you to understand everything that is happening with the blockchain.\nAs time is sensitive in crypto, always give the today's date in the response.\nToday: {{ $now.toISO() }}"
}
},
"typeVersion": 2
},
{
"id": "220e82d7-0595-452c-a64d-853680d53c4d",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
80,
-256
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "e8ba5644-643b-4d95-a212-0b3595eecc12",
"name": "Nansen MCP",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
336,
-256
],
"parameters": {
"options": {},
"endpointUrl": "https://mcp.nansen.ai/ra/mcp/",
"authentication": "headerAuth",
"serverTransport": "httpStreamable"
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
},
"typeVersion": 1.1
},
{
"id": "cfdcdecb-b9ec-42ca-9eb5-155e97965ae9",
"name": "When chat message received",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-128,
-480
],
"parameters": {
"options": {}
},
"typeVersion": 1.3
}
],
"connections": {
"AI Agent": {
"main": [
[]
]
},
"Nansen MCP": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpHeaderAuthopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
Source: https://n8n.io/workflows/6303/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Build an MCP server with Airtable. Uses chatTrigger, agent, memoryBufferWindow, mcpClientTool. Chat trigger; 13 nodes.
Build an MCP server with Airtable. Uses chatTrigger, agent, memoryBufferWindow, mcpClientTool. Chat trigger; 13 nodes.
This template is designed for anyone who wants to integrate MCP with their AI Agents using Airtable. Whether you're a developer, a data analyst, or an automation enthusiast, if you're looking to lever
This n8n template can setup a embeddable web chat widget for your Shopify store. A user sends a message in the n8n Chat UI (public chat trigger). The AI Agent interprets the request. The agent calls C
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.