{
  "name": "Bayer PH - Workflow 1",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.4,
      "position": [
        -208,
        -64
      ],
      "id": "49f5c467-8b97-45cd-9723-9a6d7c61fc5b",
      "name": "When chat message received",
      "webhookId": "25d760cc-2ee8-4acb-9568-aa24814fafcc"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        16,
        -64
      ],
      "id": "d783f50c-879b-48b0-bade-c9504de6e71e",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-5-mini"
        },
        "responsesApiEnabled": false,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.3,
      "position": [
        -16,
        160
      ],
      "id": "f8732280-7af8-4141-ada7-f8bc9e78de48",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "id": "8VD37B3VjsV90xtg",
          "name": "MGA - Bayer"
        }
      }
    },
    {
      "parameters": {
        "toolDescription": "Makes an HTTP request and returns the response data about users",
        "url": "https://jsonplaceholder.typicode.com/users",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.4,
      "position": [
        192,
        160
      ],
      "id": "b43d3b91-3193-423d-a4a4-ab1fa23f9e74",
      "name": "Get Users Tool"
    }
  ],
  "pinData": {},
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Users Tool": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "33058c4f-b4ed-428f-952e-b6ccc43ec546",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "001309b9a164202f2985c1d8d866889efcbea70a119463cc5254d24cb015b3cd"
  },
  "nodeGroups": [],
  "id": "rlX6hT8uzmiuON7q",
  "tags": []
}