{
  "name": "Email-to-task automation with AI (Gmail/Outlook to Google Tasks/Microsoft To Do)",
  "nodes": [
    {
      "id": "e441807f-9188-4fa1-878c-58a2c36b4dd5",
      "name": "Create task1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1488,
        896
      ]
    },
    {
      "id": "dab15547-8b7f-449f-8d3b-d30286352225",
      "name": "Delete task1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1376,
        880
      ]
    },
    {
      "id": "819ac3c9-5b6f-4f2b-a33a-22de4608dea8",
      "name": "Update task1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1264,
        896
      ]
    },
    {
      "id": "6d69d1bb-c3b0-4125-868e-7aa726d8d917",
      "name": "Get many tasks1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1152,
        880
      ]
    },
    {
      "id": "a324b41f-53c6-4fab-8adc-553d145ccf3e",
      "name": "Get completed task1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1040,
        896
      ]
    },
    {
      "id": "d4b85278-70c1-4d91-b776-d6662481dc7e",
      "name": "Create task",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -592,
        896
      ]
    },
    {
      "id": "76866e85-0d04-4784-aa7e-1da748f20126",
      "name": "Delete task",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -480,
        880
      ]
    },
    {
      "id": "2207ae03-9014-464a-b557-248161f0d1de",
      "name": "Update task",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -368,
        896
      ]
    },
    {
      "id": "d2b295eb-1e63-48db-8741-8e8daf4151eb",
      "name": "Get Many Tasks",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -256,
        880
      ]
    },
    {
      "id": "45bcdec1-2a8c-4048-b11a-427e8f3b437c",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1328,
        528
      ]
    },
    {
      "id": "9514b8a9-7b12-47cd-ba75-e8497eac6b8b",
      "name": "Simple Memory1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -704,
        880
      ]
    },
    {
      "id": "21b9ce43-123d-49b2-9a0e-01413da44e29",
      "name": "Mistral Cloud Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        -1488,
        528
      ]
    },
    {
      "id": "57275573-9c83-4363-9348-812c2f8cc1ee",
      "name": "Simple Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1600,
        880
      ]
    },
    {
      "id": "9c5674ba-5560-435b-b125-169a9e9a113c",
      "name": "Google Tasks Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1184,
        672
      ]
    },
    {
      "id": "004cc0c2-e37e-418b-ac6b-62f86945414a",
      "name": "Microsoft To Do Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -832,
        672
      ]
    },
    {
      "id": "4d3084a5-471e-4ed7-bde6-4438a5aca73e",
      "name": "Mistral Cloud Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        -1728,
        896
      ]
    },
    {
      "id": "96834390-9ef1-4b1d-9fa1-a5c9ffbd1132",
      "name": "Mistral Cloud Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        -832,
        896
      ]
    },
    {
      "id": "522a7b94-5175-4410-b291-d05b96ecaa02",
      "name": "Tasks AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1216,
        320
      ]
    },
    {
      "id": "e81c0be6-8635-4ab6-914d-65b98800dd38",
      "name": "Get many messages",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -1984,
        224
      ]
    },
    {
      "id": "72b180e6-330b-4846-83b2-6130c27a2c9c",
      "name": "Get many messages1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        -1984,
        384
      ]
    },
    {
      "id": "a1453d3a-3d3a-4bbb-bc64-17d699ac311d",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        -1808,
        384
      ]
    },
    {
      "id": "25430738-ecfe-4d9f-a15b-be04834875b4",
      "name": "Get row(s) in Data table",
      "type": "n8n-nodes-base.dataTableTool",
      "position": [
        -1184,
        528
      ]
    },
    {
      "id": "740ecbb6-4283-4423-b76c-ae8b2a38a504",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1392,
        320
      ]
    },
    {
      "id": "4e31c404-9fa3-4699-8756-aa10ac247e59",
      "name": "Upsert row(s)",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -1632,
        224
      ]
    },
    {
      "id": "6659169a-229e-4a6f-8eae-fe002c7a2bce",
      "name": "Upsert row(s)1",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -1632,
        384
      ]
    },
    {
      "id": "cd554ef7-28e9-4148-880f-cfe60a84c268",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2304,
        112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "07077813-39cd-46d7-8814-074350482f7a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2016,
        208
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8953ea30-4ff8-48f2-8ced-6ab25963756f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1776,
        656
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "36ed050f-5897-426a-8203-e6192b6e8850",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        656
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ed0bb970-9bdb-4b14-9928-f4669c44af75",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5d55528e-49dd-491f-9f7e-fe8d29430faf",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1072,
        1056
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "de57cf7c-1906-4e9d-861c-8fda6cfdd593",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1824,
        112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "921d69cc-bbba-4106-9f75-8e2080a55f97",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2480,
        720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3ad44b74-c9eb-4d78-aed5-36624e615ce7",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "02a5159a-9766-4a13-88c2-5a238ad3b5ee",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2224,
        304
      ]
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Tasks AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create task": {
      "ai_tool": [
        [
          {
            "node": "Microsoft To Do Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete task": {
      "ai_tool": [
        [
          {
            "node": "Microsoft To Do Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update task": {
      "ai_tool": [
        [
          {
            "node": "Microsoft To Do Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create task1": {
      "ai_tool": [
        [
          {
            "node": "Google Tasks Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete task1": {
      "ai_tool": [
        [
          {
            "node": "Google Tasks Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update task1": {
      "ai_tool": [
        [
          {
            "node": "Google Tasks Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Tasks AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Upsert row(s)": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Many Tasks": {
      "ai_tool": [
        [
          {
            "node": "Microsoft To Do Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory1": {
      "ai_memory": [
        [
          {
            "node": "Microsoft To Do Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory2": {
      "ai_memory": [
        [
          {
            "node": "Google Tasks Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Upsert row(s)1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get many tasks1": {
      "ai_tool": [
        [
          {
            "node": "Google Tasks Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get many messages",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many messages1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many messages": {
      "main": [
        [
          {
            "node": "Upsert row(s)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Upsert row(s)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many messages1": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Tasks Agent": {
      "ai_tool": [
        [
          {
            "node": "Tasks AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get completed task1": {
      "ai_tool": [
        [
          {
            "node": "Google Tasks Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Microsoft To Do Agent": {
      "ai_tool": [
        [
          {
            "node": "Tasks AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in Data table": {
      "ai_tool": [
        [
          {
            "node": "Tasks AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Tasks AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Google Tasks Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Microsoft To Do Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}