{
  "name": "Manage Google Calendar & Gmail with a Gemini/GPT powered AI assistant",
  "nodes": [
    {
      "id": null,
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        760,
        -160
      ]
    },
    {
      "id": null,
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        272,
        16
      ]
    },
    {
      "id": null,
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        448,
        64
      ]
    },
    {
      "id": null,
      "name": "Send a message in Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        592,
        64
      ]
    },
    {
      "id": null,
      "name": "Get many messages in Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        752,
        80
      ]
    },
    {
      "id": null,
      "name": "Get many events in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        896,
        80
      ]
    },
    {
      "id": null,
      "name": "Date & Time",
      "type": "n8n-nodes-base.dateTimeTool",
      "position": [
        1040,
        64
      ]
    },
    {
      "id": null,
      "name": "Get availability in a calendar in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1184,
        64
      ]
    },
    {
      "id": null,
      "name": "Create an event in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1360,
        64
      ]
    },
    {
      "id": null,
      "name": "Update an event in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1536,
        64
      ]
    },
    {
      "id": null,
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -176,
        -192
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "### 🗣️ Chat Node\nIf you wish to, you can switch to a different Messenger app like discord,Whatsapp and Telegram"
      }
    },
    {
      "id": null,
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -336
      ],
      "parameters": {
        "width": 320,
        "height": 144,
        "content": "### 🤖 AI Agent  \nThe “brain” of the workflow. Interprets your requests and chooses the right tool. Asks for clarification if details are missing and confirms before important actions."
      }
    },
    {
      "id": null,
      "name": "Chat Node",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        96,
        -160
      ]
    },
    {
      "id": null,
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        48
      ],
      "parameters": {
        "width": 272,
        "height": 192,
        "content": "### 🧠 Google Gemini Chat Model (or any LLM)  \nThe AI language model that powers the assistant. You can swap Gemini with OpenAI, Claude, or another model. (i have used gemini since its free and easy to"
      }
    },
    {
      "id": null,
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        240
      ],
      "parameters": {
        "width": 272,
        "height": 128,
        "content": "### 📌 Simple Memory  \nKeeps short-term context of the last ~10 interactions so the agent remembers what “it” refers to in your requests."
      }
    },
    {
      "id": null,
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        272
      ],
      "parameters": {
        "width": 1024,
        "height": 624,
        "content": "## Tools\nThe tools consists of the following\n\n\n### 📧 Send a message in Gmail  \nSends emails from your Gmail account. Requires recipient, subject, and body. Generates clear, professional text.\n\n### 📥 G"
      }
    }
  ],
  "connections": {
    "Chat Node": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Send a message in Gmail": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get many messages in Gmail": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create an event in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many events in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update an event in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get availability in a calendar in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}