Block 1 - AI Agent
- Type / Role
- @n8n/n8n-nodes-langchain.agent - agent
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
This workflow contains community nodes that are only compatible with the self hosted version of n8n. How it works This workflow listens for an incoming chat message and routes it to an AI Agent . T...
@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.mcpclienttool, @n8n/n8n-nodes-langchain.chattrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Nansen.
Original n8n.io sourceThis workflow contains community nodes that are only compatible with the self-hosted version of n8n.
This workflow listens for an incoming chat message and routes it to an AI Agent. The agent is powered by your preferred Chat Model (such as OpenAI or Anthropic) and extended with the Nansen MCP tool, which enables it to retrieve onchain wallet data, token movements, and address-level insights in real time.
The Nansen MCP tool uses HTTP Streamable transport and requires API Key authentication via Header Auth.
Read the Documentation: https://docs.nansen.ai/nansen-mcp/overview
Get your Nansen MCP API key
Create a credential for authentication
Header Auth as the method. NANSEN-API-KEY Nansen MCP Credentials).Configure the Nansen MCP tool
https://mcp.nansen.ai/ra/mcp/ HTTP Streamable Header Auth Nansen MCP Credentials All (or restrict as needed)Configure the AI Agent
Chat Model input. Tool input. Memory block to preserve conversational context.Set up the chat trigger
Test your setup
Try sending prompts like:
What tokens are being swapped by 0xabc...123?Get recent wallet activity for this address.Show top holders of token XYZ.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 | Get blockchain insights from chat using GPT-4 and Nansen MCP |
|---|---|
| Complexity | beginner |
| Nodes | 4 |
| Categories | Crypto Trading, AI Chatbot |
| Author | Nansen |
| Published | 23 Jul 2025 |
Use the JSON export at /data/workflows/6303/6303.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 workflow contains community nodes that are only compatible with the self hosted version of n8n. How it works This workflow listens for an incoming chat message and routes it to an AI Agent . 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 Crypto Trading, AI Chatbot use case.