yug
kjbb
Shared 8/18/2025
293 views
Visual Workflow
JSON Code
{
"id": "DWaWxinUtdPbmbKp",
"meta": {
"instanceId": "8c8703da14b8dd7d022473060ac68cc06e97a80ed9c6a44943f9d3bf5f76df6b",
"templateCredsSetupCompleted": true
},
"name": "My workflow 2",
"tags": [],
"nodes": [
{
"id": "0818d851-d492-4b36-881c-45f95509fefa",
"name": "When chat message received",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-240,
-48
],
"webhookId": "0eb60d92-d187-4a97-bb18-a2744703844e",
"parameters": {
"options": {}
},
"typeVersion": 1.3
},
{
"id": "ac3bb6bf-dc21-4c12-a604-61a43a675d11",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-96,
-48
],
"parameters": {
"options": {}
},
"typeVersion": 2.2
},
{
"id": "bba3c821-0ea5-45a5-9021-94b036acc115",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-240,
160
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "1lGQGbmVhMh6ecHV",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "00be126b-912c-4019-992d-dd6389da57e5",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-96,
160
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "d0130ed7-f26a-4ac8-b05d-47e782f935d3",
"name": "Calculator",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
240,
128
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5d1481ff-6214-4920-91eb-cd2a81fca439",
"name": "SerpAPI",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
96,
208
],
"parameters": {
"options": {}
},
"credentials": {
"serpApi": {
"id": "JlHB5QLYa35hHAQ8",
"name": "SerpAPI account"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "23781d40-e791-4e44-b666-02143f04fce4",
"connections": {
"SerpAPI": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}