Utiliser GPT-4 et Nansen MCP pour obtenir des informations sur la blockchain à partir de chats
Ceci est unCrypto Trading, AI Chatbotworkflow d'automatisation du domainecontenant 4 nœuds.Utilise principalement des nœuds comme Agent, ChatTrigger, LmChatOpenAi, McpClientTool. Obtenir des informations sur la blockchain à partir de chats avec GPT-4 et Nansen MCP
- •Clé API OpenAI
Nœuds utilisés (4)
Catégorie
{
"meta": {
"instanceId": "14630d736b5286035550ed196e4794a20eff7bd4ef192df8a384d03a0d2775ec",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "acb45838-b8bf-4b50-920a-694ae0778d60",
"name": "Lorsqu'un message de chat est reçu",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
224,
0
],
"webhookId": "8d13f3c6-4adf-43df-bbd2-a305f5369ec0",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "b875a807-ab0b-4b27-bcd4-b876a9162858",
"name": "Agent IA",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
448,
0
],
"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.\n\ntoday: {{ $now.toISO() }}"
}
},
"typeVersion": 2
},
{
"id": "1208d743-f57e-45d1-a645-cd0f381c73ee",
"name": "Client MCP",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
608,
224
],
"parameters": {
"endpointUrl": "https://mcp.nansen.ai/ra/mcp/",
"authentication": "headerAuth",
"serverTransport": "httpStreamable"
},
"credentials": {
"httpHeaderAuth": {
"id": "BfnK5rNcXiv87Bz9",
"name": "Nansen MCP - HS"
}
},
"typeVersion": 1.1
},
{
"id": "4886277e-a5fb-40db-b7bf-442c40ce90f6",
"name": "Modèle de chat OpenAI",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
480,
224
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "zCrsxmDQSF3rDzqr",
"name": "OpenAi account - hs"
}
},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"1208d743-f57e-45d1-a645-cd0f381c73ee": {
"ai_tool": [
[
{
"node": "b875a807-ab0b-4b27-bcd4-b876a9162858",
"type": "ai_tool",
"index": 0
}
]
]
},
"4886277e-a5fb-40db-b7bf-442c40ce90f6": {
"ai_languageModel": [
[
{
"node": "b875a807-ab0b-4b27-bcd4-b876a9162858",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"acb45838-b8bf-4b50-920a-694ae0778d60": {
"main": [
[
{
"node": "b875a807-ab0b-4b27-bcd4-b876a9162858",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Débutant - Trading crypto, Chatbot IA
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Partager ce workflow