{
  "name": "Gamify fitness tracking with GPT-4o-mini multi-agents and Google Sheets",
  "nodes": [
    {
      "id": "6dddaa54-8c31-4f0c-957f-0ec667467054",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -2096,
        320
      ]
    },
    {
      "id": "376adaf9-f32b-4340-ace6-2adca92777db",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -864,
        832
      ]
    },
    {
      "id": "f68af433-7f89-469c-b505-7d13df6e3a5f",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -592,
        288
      ]
    },
    {
      "id": "f183455e-69d5-4fb4-86ac-a58fde7e2a44",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2176,
        192
      ],
      "parameters": {
        "width": 528,
        "height": 384,
        "content": "Step 1: Input & Data"
      }
    },
    {
      "id": "494f98c8-2dea-4508-94c9-f171c7d6ee58",
      "name": "Chef Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        144,
        240
      ]
    },
    {
      "id": "3b363cf4-95f6-4ca9-b366-8b0aad1364de",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        192
      ],
      "parameters": {
        "width": 960,
        "height": 768,
        "content": "Step 4: Agent Responses"
      }
    },
    {
      "id": "75ae9199-e7a2-4e30-b48e-09b34fdfcb34",
      "name": "Samurai Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        144,
        400
      ]
    },
    {
      "id": "85845c9d-9f47-4071-a71c-d0790da18c5f",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1792,
        320
      ]
    },
    {
      "id": "8979d8ee-2aac-4c08-8d53-197542bb525e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        192
      ],
      "parameters": {
        "width": 512,
        "height": 288,
        "content": "Step 3: Intent Routing"
      }
    },
    {
      "id": "390cc928-bbba-4e3d-be2e-dd211bb26baa",
      "name": "Navigator Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        160,
        800
      ]
    },
    {
      "id": "87fdb6cc-84b5-48df-9827-625722590698",
      "name": "Doctor Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        160,
        624
      ]
    },
    {
      "id": "a1deedd6-0e24-4fcb-a9ea-7f9d736d93ec",
      "name": "AI Scorer & Intent Classifier",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -1536,
        320
      ]
    },
    {
      "id": "85219555-43a3-4462-bae8-d18c1688f2e8",
      "name": "Bounty Calculator (JS Logic)",
      "type": "n8n-nodes-base.set",
      "position": [
        -1168,
        320
      ]
    },
    {
      "id": "7db7f66c-91ef-4b08-81a6-2da5bd1c46e7",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3008,
        -224
      ],
      "parameters": {
        "width": 816,
        "height": 784,
        "content": "Title:\nGamify fitness tracking with AI multi-agents and Google Sheets\n## Overview\nThis template transforms fitness tracking into a gamified pirate adventure using AI multi-agents. It scores your healt"
      }
    },
    {
      "id": "737df75e-9a75-487b-afc3-7e5a64c2c4c6",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1648,
        192
      ],
      "parameters": {
        "width": 832,
        "height": 384,
        "content": "Step 2: AI Appraisal "
      }
    },
    {
      "id": "defed2a9-8285-4023-8366-e793f9249fcb",
      "name": "Update User Bounty",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -992,
        320
      ]
    },
    {
      "id": "b066f2a6-62a6-4fc5-b321-091c6cd71efd",
      "name": "Save Samurai Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        464,
        400
      ]
    },
    {
      "id": "5d6edc0b-1647-403a-a4c9-976fb08bd845",
      "name": "Save Doctor Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        464,
        624
      ]
    },
    {
      "id": "3557055c-91ba-4c03-8c7b-dfe733c33969",
      "name": "Save Navigator Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        464,
        800
      ]
    },
    {
      "id": "14730ff4-6a70-4e66-b4ab-924f9147cf8f",
      "name": "Save Chef Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        464,
        240
      ]
    }
  ],
  "connections": {
    "Switch": {
      "main": [
        [
          {
            "node": "Chef Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Samurai Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Doctor Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Navigator Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chef Agent": {
      "main": [
        [
          {
            "node": "Save Chef Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Doctor Agent": {
      "main": [
        [
          {
            "node": "Save Doctor Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Samurai Agent": {
      "main": [
        [
          {
            "node": "Save Samurai Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Navigator Agent": {
      "main": [
        [
          {
            "node": "Save Navigator Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update User Bounty": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "AI Scorer & Intent Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Scorer & Intent Classifier",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Chef Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Samurai Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Navigator Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Doctor Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bounty Calculator (JS Logic)": {
      "main": [
        [
          {
            "node": "Update User Bounty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Scorer & Intent Classifier": {
      "main": [
        [
          {
            "node": "Bounty Calculator (JS Logic)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}