{
  "name": "Route user requests to specialized agents with GPT-4o Mini",
  "nodes": [
    {
      "id": "54183edb-119c-4365-b47c-ac79f4ee2775",
      "name": "Auto-fixing Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        700,
        1040
      ]
    },
    {
      "id": "c5e21204-5f21-45a4-a0bd-5726cff56263",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        840,
        1220
      ]
    },
    {
      "id": "c303a2b1-ced5-4377-9ba4-8f70428adfa1",
      "name": "Reminder Agent",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1280,
        500
      ]
    },
    {
      "id": "d35aa37d-bdd5-463e-9f0c-1e71f9184953",
      "name": "Agent Route",
      "type": "n8n-nodes-base.switch",
      "position": [
        1080,
        780
      ]
    },
    {
      "id": "51b86d8d-df0e-4d94-91c8-66ca0a9ff342",
      "name": "Output Parser Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        720,
        1220
      ]
    },
    {
      "id": "c8028cb9-968f-4c1d-b12d-e51e1f54a54b",
      "name": "GPT 4o Mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        460,
        1020
      ]
    },
    {
      "id": "c8d1de1c-2ffa-4ff8-a4d6-5ee6e23e9dda",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        800
      ]
    },
    {
      "id": "a0c65c65-8262-43f9-9b32-f24912a2809c",
      "name": "Reminder Agent Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1500,
        500
      ]
    },
    {
      "id": "6abd2c48-0f25-4b40-922e-34670c71153e",
      "name": "Email Agent Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1500,
        700
      ]
    },
    {
      "id": "bb4f7714-4205-468e-92c1-8edb2608ec26",
      "name": "Email Agent",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1280,
        700
      ]
    },
    {
      "id": "221bd09f-e4cd-4cda-ae35-9522745f9e63",
      "name": "Postgres Chat Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        580,
        1020
      ]
    },
    {
      "id": "e903e5e0-49c9-4a67-b3f3-617ea0208b27",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        500,
        800
      ]
    },
    {
      "id": "9fe41651-229f-4e87-9ff9-5a8ebe92fb2b",
      "name": "Meeting Agent",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1280,
        900
      ]
    },
    {
      "id": "38a77737-bfcb-4d47-af7e-1e57601a3665",
      "name": "Meeting Agent Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1500,
        900
      ]
    },
    {
      "id": "327aba89-42b7-476c-81d6-6598eb050730",
      "name": "Document Agent",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1280,
        1100
      ]
    },
    {
      "id": "a3f07618-cb55-4c53-8bfa-3044f2b9a399",
      "name": "Document Agent2",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1520,
        1100
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Agent Route",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Agent Route": {
      "main": [
        [
          {
            "node": "Reminder Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Email Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Meeting Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Document Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Agent": {
      "main": [
        [
          {
            "node": "Email Agent Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT 4o Mini": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Meeting Agent": {
      "main": [
        [
          {
            "node": "Meeting Agent Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Document Agent": {
      "main": [
        [
          {
            "node": "Document Agent2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reminder Agent": {
      "main": [
        [
          {
            "node": "Reminder Agent Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Output Parser Model": {
      "ai_languageModel": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Postgres Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Auto-fixing Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}