{
  "name": "Build your first AI agent",
  "nodes": [
    {
      "id": "2c408b32-7862-4411-9ad1-b6e9ff4e41f7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        592,
        -256
      ],
      "parameters": {
        "width": 512,
        "height": 352,
        "content": "## [Video Tutorial](https://youtu.be/laHIzhsz12E)\n@[youtube](laHIzhsz12E)"
      }
    },
    {
      "id": "3808de8d-ef18-47f5-9621-b08ba961ae01",
      "name": "Introduction Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -256
      ],
      "parameters": {
        "width": 392,
        "height": 460,
        "content": "## Try It Out!\n\n**Launch your first AI agent—a chatbot that uses tools to fetch live info, send emails, and automate tasks.**\n\n### To get started:\n1.  **Connect Gemini** (see red sticky note below)\n2."
      }
    },
    {
      "id": "2b55763c-0541-4133-aa79-87c3ce9f0564",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        -160
      ],
      "parameters": {
        "width": 300,
        "height": 252,
        "content": "💡 Later, activate this workflow and share the public chat URL to let others talk to your AI Agent!"
      }
    },
    {
      "id": "f09c396a-dab8-41f8-a6e5-3dbd1dd70323",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        -256
      ],
      "parameters": {
        "width": 396,
        "height": 348,
        "content": "Your AI agent can:\n1. **Receive** messages from the chat\n2. **Select** the right tools (e.g., weather, news, email)\n3. **Respond** with live, helpful answers\n\n\n**Open the AI agent node** and edit the "
      }
    },
    {
      "id": "f7c57d33-2318-409d-9084-13990299db3d",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        176
      ],
      "parameters": {
        "width": 308,
        "height": 260,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node helps your agent remember the last few messages to stay on topic."
      }
    },
    {
      "id": "07ed7ed3-91d0-432f-9327-d2a30601082c",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        176
      ],
      "parameters": {
        "width": 372,
        "height": 324,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\nThese tools let your agent access real-world data or take actions. Add more to expand its abilities!\n\nClick the ➕ under the agent’s Tool input to add:\n- Google Calendar (Get Upcoming Even"
      }
    },
    {
      "id": "24fc1fd5-ed10-43d9-9b35-8facb7f357d5",
      "name": "Get News",
      "type": "n8n-nodes-base.rssFeedReadTool",
      "position": [
        656,
        224
      ]
    },
    {
      "id": "ac7d0dd1-8885-41c1-abda-f3742c838992",
      "name": "Get Weather",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        544,
        224
      ]
    },
    {
      "id": "332af12a-45ab-4e5d-8dab-da21ba2111f9",
      "name": "Your First AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        192,
        -64
      ]
    },
    {
      "id": "95421925-c5ad-48bd-9638-c84ff5b5e3c6",
      "name": "Example Chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -176,
        -64
      ]
    },
    {
      "id": "56d2684a-7f83-4ffd-8501-3253d999b4c6",
      "name": "Conversation Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        224,
        224
      ]
    },
    {
      "id": "c218a5da-bec7-4034-8d2b-f4bca34e551e",
      "name": "Connect Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -176,
        224
      ]
    },
    {
      "id": "199eb2cd-bc6b-4f61-bbf1-f196c7869b43",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        176
      ],
      "parameters": {
        "width": 294,
        "height": 316,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n1. [In Google AI Studio](https://aistudio.google.com/app/apikey) click **“Create API key in new project”** and copy it.\n\n2. Open the ```Connect Gemini``` node:\n   * **Select Credential → C"
      }
    }
  ],
  "connections": {
    "Get News": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Weather": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Example Chat": {
      "main": [
        [
          {
            "node": "Your First AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Connect Gemini": {
      "ai_languageModel": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Conversation Memory": {
      "ai_memory": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    }
  }
}