{
  "name": "Motivational Buddy",
  "nodes": [
    {
      "parameters": {
        "options": {
          "systemMessage": "You are a famous motivational speaker helping people to stay motivated in their lives. Help the user with a short, powerful, and positive motivational message/quote and a small daily task. Output should include a morning message and a small daily task goal to improve by 1% each day. Include emojis. "
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        -48,
        -32
      ],
      "id": "1a61e0c1-f3b9-4ecb-b88c-6c87e4269c94",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "modelName": "models/gemini-2.5-flash",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "typeVersion": 1.1,
      "position": [
        -48,
        128
      ],
      "id": "0710136e-df2f-4259-9f3f-24122f1cb1ed",
      "name": "Google Gemini Chat Model",
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.4,
      "position": [
        -256,
        -32
      ],
      "id": "e1d600bf-4d61-4037-9bf1-234ac57d9535",
      "name": "When chat message received"
    }
  ],
  "connections": {
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        []
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "staticData": null,
  "triggerCount": 0,
  "meta": {
    "templateCredsSetupCompleted": true
  }
}