Multi-Agent Conversation

Multi-Agent Conversation

Manual
High
18
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
18
Node Types
9

Node Types

chat Trigger
When chat message received
1 node
agent
AI Agent
1 node
split In Batches
Loop Over Items
1 node
code
Extract mentions, Combine and format responses, Define Global Settings, Define Agent Settings
4 nodes
memory Buffer Window
Simple Memory
1 node
set
Set last Assistant message as input, Set user message as input, Set lastAssistantMessage
3 nodes
if
First loop?
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4
5 nodes
lm Chat Open Router
OpenRouter Chat Model
1 node

Workflow JSON

18.8 KB
{
  "id": "0QQxgdQABUbbDJ0G",
  "meta": {
    "instanceId": "c98909b50b05c4069bd93ee5a4753d07322c9680e81da8568e96de2c713adb5c"
  },
  "name": "Multi-Agent Conversation",
  "tags": [],
  "nodes": [
    {
      "id": "218308e2-dc68-43ee-ae84-d931ad7a4ac5",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1880,
        -3280
      ],
      "webhookId": "a74752f3-419a-4510-856f-3efeaceec019",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "a519fe1e-8739-46e0-9770-deb256ab96cf",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -340,
        -3280
      ],
      "parameters": {
        "text": "={{ $json.chatInput }}",
        "options": {
          "systemMessage": "=Current date is {{ $now.format('yyyy-MM-dd') }}. The current time is {{ $now.format('HH:MM:ss') }}.\n\nThe user is {{ $('Define Global Setting...

Showing first 1000 characters. Click "Expand" to view the full JSON.