Automatisation de la conversion e-mail en tâche basée sur Mistral AI (Gmail/Outlook vers Google Tasks/Microsoft To Do)

Avancé

Ceci est unPersonal Productivity, AI Summarizationworkflow d'automatisation du domainecontenant 35 nœuds.Utilise principalement des nœuds comme Code, Gmail, Merge, DataTable, DataTableTool. Automatisation de la conversion des courriels en tâches avec Mistral AI (Gmail/Outlook vers Google Tasks/Microsoft To Do)

Prérequis
  • Compte Google et informations d'identification Gmail API
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "meta": {
    "instanceId": "b8bca2081b6c394c24ae4b81e9aa6d613d549c27564693b18550c263bcbb0c03",
    "templateCredsSetupCompleted": false
  },
  "nodes": [
    {
      "id": "e441807f-9188-4fa1-878c-58a2c36b4dd5",
      "name": "Créer tâche1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1488,
        896
      ],
      "parameters": {
        "task": "RmhtQ0kzY1ltOTJvdGxNSA",
        "title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
        "additionalFields": {
          "notes": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Notes', ``, 'string') }}",
          "dueDate": "={{ new Date($fromAI('Due_Date', '', 'string')).toISOString() }}"
        }
      },
      "credentials": {
        "googleTasksOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Google Tasks account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "dab15547-8b7f-449f-8d3b-d30286352225",
      "name": "Supprimer tâche1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1376,
        880
      ],
      "parameters": {
        "task": "RmhtQ0kzY1ltOTJvdGxNSA",
        "taskId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Task_ID', ``, 'string') }}",
        "operation": "delete"
      },
      "credentials": {
        "googleTasksOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Google Tasks account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "819ac3c9-5b6f-4f2b-a33a-22de4608dea8",
      "name": "Mettre à jour tâche1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1264,
        896
      ],
      "parameters": {
        "task": "RmhtQ0kzY1ltOTJvdGxNSA",
        "taskId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Task_ID', ``, 'string') }}",
        "operation": "update",
        "updateFields": {
          "notes": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Notes', ``, 'string') }}",
          "dueDate": "={{ new Date($fromAI('Due_Date', '', 'string')).toISOString() }}"
        }
      },
      "credentials": {
        "googleTasksOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Google Tasks account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6d69d1bb-c3b0-4125-868e-7aa726d8d917",
      "name": "Obtenir plusieurs tâches1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1152,
        880
      ],
      "parameters": {
        "task": "RmhtQ0kzY1ltOTJvdGxNSA",
        "operation": "getAll",
        "returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
        "additionalFields": {
          "showHidden": true,
          "showCompleted": true
        }
      },
      "credentials": {
        "googleTasksOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Google Tasks account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a324b41f-53c6-4fab-8adc-553d145ccf3e",
      "name": "Obtenir tâche terminée1",
      "type": "n8n-nodes-base.googleTasksTool",
      "position": [
        -1040,
        896
      ],
      "parameters": {
        "task": "RmhtQ0kzY1ltOTJvdGxNSA",
        "operation": "getAll",
        "returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
        "additionalFields": {
          "showHidden": true,
          "showCompleted": true
        }
      },
      "credentials": {
        "googleTasksOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Google Tasks account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d4b85278-70c1-4d91-b776-d6662481dc7e",
      "name": "Créer tâche",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -592,
        896
      ],
      "parameters": {
        "title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}",
        "operation": "create",
        "taskListId": "AQMkADAwATM3ZmYAZS1jNzU4LTI5ZTItMDACLTAwCgAuAAAD-41I92S2gkOdLSmebX317AEABAQAWb7gEtlDlEENcbtVvg8ACWYwFq0AAAA=",
        "additionalFields": {}
      },
      "credentials": {
        "microsoftToDoOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Microsoft To Do account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "76866e85-0d04-4784-aa7e-1da748f20126",
      "name": "Supprimer tâche",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -480,
        880
      ],
      "parameters": {
        "taskId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Task_ID', ``, 'string') }}",
        "operation": "delete",
        "taskListId": "AQMkADAwATM3ZmYAZS1jNzU4LTI5ZTItMDACLTAwCgAuAAAD-41I92S2gkOdLSmebX317AEABAQAWb7gEtlDlEENcbtVvg8ACWYwFq0AAAA="
      },
      "credentials": {
        "microsoftToDoOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Microsoft To Do account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2207ae03-9014-464a-b557-248161f0d1de",
      "name": "Mettre à jour tâche",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -368,
        896
      ],
      "parameters": {
        "taskId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Task_ID', ``, 'string') }}",
        "operation": "update",
        "taskListId": "AQMkADAwATM3ZmYAZS1jNzU4LTI5ZTItMDACLTAwCgAuAAAD-41I92S2gkOdLSmebX317AEABAQAWb7gEtlDlEENcbtVvg8ACWYwFq0AAAA=",
        "updateFields": {}
      },
      "credentials": {
        "microsoftToDoOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Microsoft To Do account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d2b295eb-1e63-48db-8741-8e8daf4151eb",
      "name": "Obtenir plusieurs tâches",
      "type": "n8n-nodes-base.microsoftToDoTool",
      "position": [
        -256,
        880
      ],
      "parameters": {
        "operation": "getAll",
        "returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
        "taskListId": "AQMkADAwATM3ZmYAZS1jNzU4LTI5ZTItMDACLTAwCgAuAAAD-41I92S2gkOdLSmebX317AEABAQAWb7gEtlDlEENcbtVvg8ACWYwFq0AAAA="
      },
      "credentials": {
        "microsoftToDoOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Microsoft To Do account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "45bcdec1-2a8c-4048-b11a-427e8f3b437c",
      "name": "Mémoire simple",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1328,
        528
      ],
      "parameters": {
        "sessionKey": "1",
        "sessionIdType": "customKey",
        "contextWindowLength": 10
      },
      "typeVersion": 1.3
    },
    {
      "id": "9514b8a9-7b12-47cd-ba75-e8497eac6b8b",
      "name": "Mémoire simple1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -704,
        880
      ],
      "parameters": {
        "sessionKey": "2",
        "sessionIdType": "customKey",
        "contextWindowLength": 10
      },
      "typeVersion": 1.3
    },
    {
      "id": "21b9ce43-123d-49b2-9a0e-01413da44e29",
      "name": "Mistral Cloud Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        -1488,
        528
      ],
      "parameters": {
        "model": "mistral-large-latest",
        "options": {
          "maxTokens": 32768
        }
      },
      "credentials": {
        "mistralCloudApi": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Mistral Cloud account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "57275573-9c83-4363-9348-812c2f8cc1ee",
      "name": "Mémoire simple2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1600,
        880
      ],
      "parameters": {
        "sessionKey": "3",
        "sessionIdType": "customKey",
        "contextWindowLength": 10
      },
      "typeVersion": 1.3
    },
    {
      "id": "9c5674ba-5560-435b-b125-169a9e9a113c",
      "name": "Google Tasks Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1184,
        672
      ],
      "parameters": {
        "text": "=You are the Google Tasks Execution Agent. Your sole function is to process a single, pre-filtered task object provided by the Main Orchestration Agent and ensure that the task is correctly created or updated in the Google Tasks system.\n\nInput Protocol\nAccept: You will receive a single structured task object as input, containing: Task Title, Due Date, Notes, and Target System (Google Tasks).\n\nFailsafe: If the input object is empty or indicates \"no task identified,\" immediately return a success log with the message \"No action required.\" Do not proceed with any tool calls.\n\nFilter Rule Enforcement: Mandatory: Do not proceed unless the object explicitly requires action for 'Jordan Hoyle' (this rule is enforced externally but confirmed here).\n\nExecution Protocol (Tool Use)\nGET: Use the Google Tasks GET tool to check for an existing task matching the Task Title.\n\nUPDATE: If a matching Task ID is found, use the Google Tasks UPDATE tool to apply the new Due Date and Notes.\n\nCREATE: If no matching Task ID is found, use the Google Tasks CREATE tool to add the task.\n\nDELETE (Prohibited): NEVER use the Google Tasks DELETE tool.\n\nOutput Protocol\nReturn only the log of the successful Google Tasks CREATE or UPDATE action, or the Failsafe message, to the Main Orchestration Agent. Do not output any prose or conversational responses.",
        "options": {},
        "toolDescription": "Google Tasks AI Agent"
      },
      "typeVersion": 2.2
    },
    {
      "id": "004cc0c2-e37e-418b-ac6b-62f86945414a",
      "name": "Microsoft To Do Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -832,
        672
      ],
      "parameters": {
        "text": "=You are the Microsoft To Do Execution Agent. Your sole function is to process a single, structured task object provided by the Main Orchestration Agent and ensure that the task is correctly created or updated in the Microsoft To Do system.\n\nInput Protocol\nAccept: You will receive a single structured task object as input, containing: Task Title, Due Date, Notes, and Target System (Microsoft To Do).\n\nFailsafe: If the input object is empty or indicates \"no task identified,\" immediately return a success log with the message \"No action required.\" Do not proceed with any tool calls.\n\nFilter Rule Enforcement: Mandatory: Do not proceed unless the object explicitly requires action for 'Jordan Hoyle' (this rule is enforced externally but confirmed here).\n\nExecution Protocol (Tool Use)\nGET: Use the Microsoft To Do GET tool to check for an existing task matching the Task Title.\n\nUPDATE: If a matching Task ID is found, use the Microsoft To Do UPDATE tool to apply the new Due Date and Notes.\n\nCREATE: If no matching Task ID is found, use the Microsoft To Do CREATE tool to add the task.\n\nDELETE (Prohibited): NEVER use the Microsoft To Do DELETE tool.\n\nOutput Protocol\nReturn only the log of the successful Microsoft To Do CREATE or UPDATE action, or the Failsafe message, to the Main Orchestration Agent. Do not output any prose or conversational responses.",
        "options": {},
        "toolDescription": "Microsoft To Do AI Agent"
      },
      "typeVersion": 2.2
    },
    {
      "id": "4d3084a5-471e-4ed7-bde6-4438a5aca73e",
      "name": "Mistral Cloud Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        -1728,
        896
      ],
      "parameters": {
        "model": "mistral-large-latest",
        "options": {}
      },
      "credentials": {
        "mistralCloudApi": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Mistral Cloud account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "96834390-9ef1-4b1d-9fa1-a5c9ffbd1132",
      "name": "Mistral Cloud Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        -832,
        896
      ],
      "parameters": {
        "model": "mistral-large-latest",
        "options": {}
      },
      "credentials": {
        "mistralCloudApi": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Mistral Cloud account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "522a7b94-5175-4410-b291-d05b96ecaa02",
      "name": "Tasks AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "onError": "continueErrorOutput",
      "position": [
        -1216,
        320
      ],
      "parameters": {
        "text": "=You are the **Main Task Orchestration Agent**. Your function is to read the provided **Data Table** of pre-filtered tasks and dispatch each row to the correct task management sub-agent for execution.\n\n### 1. Data Table Input and Parsing\n1.  **Input:** Read the provided **Data Table**, where each row represents a distinct, actionable task already assigned to 'Jordan Hoyle' and includes a 'Due Date'.\n2.  **Required Fields:** Each row must contain: **Task Title, Due Date, Notes, and Target System** (either 'Google Tasks' or 'Microsoft To Do').\n\n### 2. Constraints and Rate Limiting\n* **Batch Control:** Process rows from the Data Table in **batches of a maximum of 5 tasks** before pausing.\n* **Tool Delay:** Implement a mandatory **5-second delay** after every sub-agent tool execution to prevent API rate limits.\n* **Delegation:** Do not execute any task API calls yourself (CREATE/UPDATE/DELETE/GET).\n\n### 3. Routing and Delegation\n* **Google Tasks:** If **Target System** is 'Google Tasks', call the **Google Tasks Agent Tool** and pass the entire row object.\n* **Microsoft To Do:** If **Target System** is 'Microsoft To Do', call the **Microsoft To Do Agent Tool** and pass the entire row object.\n\n### 4. Final Output\n* Output **only** the aggregated execution logs returned by the sub-agent tools.",
        "options": {
          "systemMessage": "<system_prompt>\n\nYou are the Main Task Orchestration Agent. Your role is to serve as the central routing hub for tasks sourced from email (Outlook/Gmail tools). You are the only agent authorized to access the email tools for retrieval and filtering. You must not perform task management operations directly; delegate all CREATE/UPDATE/DELETE/GET calls to the specialized sub-agent tools (Google Tasks Agent Tool and Microsoft To Do Agent Tool). Strict adherence to the 'Jordan Hoyle' filter, the 30-day email window, the 5-task batch limit, and the 5-second post-call delay is mandatory. Output only the aggregated execution logs returned by the sub-agents.\n\n</system_prompt>"
        },
        "promptType": "define"
      },
      "retryOnFail": true,
      "typeVersion": 2
    },
    {
      "id": "e81c0be6-8635-4ab6-914d-65b98800dd38",
      "name": "Obtenir plusieurs messages",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -1984,
        224
      ],
      "webhookId": "480b6826-918f-4974-8403-1dcc8fc4042f",
      "parameters": {
        "simple": false,
        "filters": {
          "receivedAfter": "={{ $today.minus({days: 1}).toISO() }}"
        },
        "options": {},
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "72b180e6-330b-4846-83b2-6130c27a2c9c",
      "name": "Obtenir plusieurs messages1",
      "type": "n8n-nodes-base.microsoftOutlook",
      "position": [
        -1984,
        384
      ],
      "webhookId": "408dd71c-a1c6-4ce6-98d3-e45434a5e701",
      "parameters": {
        "fields": [
          "body",
          "sender",
          "subject",
          "sentDateTime",
          "toRecipients",
          "conversationId"
        ],
        "output": "fields",
        "options": {},
        "filtersUI": {
          "values": {
            "filters": {
              "receivedAfter": "={{ $today.minus({days: 1}).toISO() }}"
            }
          }
        },
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "REMOVED_CREDENTIALS",
          "name": "Microsoft Outlook account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "a1453d3a-3d3a-4bbb-bc64-17d699ac311d",
      "name": "Code en JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        -1808,
        384
      ],
      "parameters": {
        "mode": "runOnceForEachItem",
        "jsCode": "// Access the current item's HTML content\nconst html = $json.body.content;\n\n// Convert HTML to plain text\nconst plainText = html.replace(/<[^>]+>/g, \"\");\n\n// Update the item\nitem.json.body.content = plainText;\n\n// Return the updated item\nreturn item;"
      },
      "typeVersion": 2
    },
    {
      "id": "25430738-ecfe-4d9f-a15b-be04834875b4",
      "name": "Obtenir ligne(s) dans table de données",
      "type": "n8n-nodes-base.dataTableTool",
      "position": [
        -1184,
        528
      ],
      "parameters": {
        "limit": 5,
        "operation": "get",
        "dataTableId": {
          "__rl": true,
          "mode": "list",
          "value": "wcug59SB0zJOWWiU",
          "cachedResultUrl": "/projects/1Y1Zd7mQFybjJwXb/datatables/wcug59SB0zJOWWiU",
          "cachedResultName": "To Do Database"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "740ecbb6-4283-4423-b76c-ae8b2a38a504",
      "name": "Fusionner",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1392,
        320
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "4e31c404-9fa3-4699-8756-aa10ac247e59",
      "name": "Upsert ligne(s)",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -1632,
        224
      ],
      "parameters": {
        "columns": {
          "value": {
            "To": "={{ $json.headers.to.split(\":\")[1].trim() }}",
            "Body": "={{ $json.text }}",
            "Date": "={{ $json.headers.date.slice(11) }}",
            "From": "={{ $json.headers.from.split(\":\")[1].trim() }}",
            "Subject": "={{ $json.headers.subject }}",
            "Email_iD": "={{ $json.id }}"
          },
          "schema": [
            {
              "id": "Date",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Date",
              "defaultMatch": false
            },
            {
              "id": "From",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "From",
              "defaultMatch": false
            },
            {
              "id": "To",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "To",
              "defaultMatch": false
            },
            {
              "id": "Body",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Body",
              "defaultMatch": false
            },
            {
              "id": "Subject",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Subject",
              "defaultMatch": false
            },
            {
              "id": "Email_iD",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Email_iD",
              "defaultMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "filters": {
          "conditions": [
            {
              "keyName": "Email_iD",
              "keyValue": "={{ $json.id }}"
            }
          ]
        },
        "options": {},
        "matchType": "allConditions",
        "operation": "upsert",
        "dataTableId": {
          "__rl": true,
          "mode": "list",
          "value": "wcug59SB0zJOWWiU",
          "cachedResultUrl": "/projects/1Y1Zd7mQFybjJwXb/datatables/wcug59SB0zJOWWiU",
          "cachedResultName": "To Do Database"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6659169a-229e-4a6f-8eae-fe002c7a2bce",
      "name": "Upsert ligne(s)1",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -1632,
        384
      ],
      "parameters": {
        "columns": {
          "value": {
            "To": "={{ $json.toRecipients[0].emailAddress.address }}",
            "Body": "={{ $json.body.content }}",
            "Date": "={{ $json.sentDateTime }}",
            "From": "={{ $json.sender.emailAddress.address }}",
            "Subject": "={{ $json.subject }}",
            "Email_iD": "={{ $json.conversationId }}"
          },
          "schema": [
            {
              "id": "Date",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Date",
              "defaultMatch": false
            },
            {
              "id": "From",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "From",
              "defaultMatch": false
            },
            {
              "id": "To",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "To",
              "defaultMatch": false
            },
            {
              "id": "Body",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Body",
              "defaultMatch": false
            },
            {
              "id": "Subject",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Subject",
              "defaultMatch": false
            },
            {
              "id": "Email_iD",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Email_iD",
              "defaultMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "filters": {
          "conditions": [
            {
              "keyName": "Email_iD",
              "keyValue": "={{ $json.conversationId }}"
            }
          ]
        },
        "options": {},
        "operation": "upsert",
        "dataTableId": {
          "__rl": true,
          "mode": "list",
          "value": "wcug59SB0zJOWWiU",
          "cachedResultUrl": "/projects/1Y1Zd7mQFybjJwXb/datatables/wcug59SB0zJOWWiU",
          "cachedResultName": "To Do Database"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cd554ef7-28e9-4148-880f-cfe60a84c268",
      "name": "Note autocollante",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2304,
        112
      ],
      "parameters": {
        "color": 5,
        "content": "## Start Here\n\nSchedule your workflow for whatever timeframe makes sense.  The standard set is once per day."
      },
      "typeVersion": 1
    },
    {
      "id": "07077813-39cd-46d7-8814-074350482f7a",
      "name": "Note autocollante1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2016,
        208
      ],
      "parameters": {
        "color": 7,
        "width": 512,
        "height": 336,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8953ea30-4ff8-48f2-8ced-6ab25963756f",
      "name": "Note autocollante2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1776,
        656
      ],
      "parameters": {
        "color": 7,
        "width": 864,
        "height": 384,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "36ed050f-5897-426a-8203-e6192b6e8850",
      "name": "Note autocollante3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        656
      ],
      "parameters": {
        "color": 7,
        "width": 736,
        "height": 384,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ed0bb970-9bdb-4b14-9928-f4669c44af75",
      "name": "Note autocollante4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        160
      ],
      "parameters": {
        "color": 5,
        "width": 352,
        "height": 144,
        "content": "## Update\n\nReview the prompt in the Tasks AI Agent.  Change Owners Name to your name or the name of the person that tasks will be managed."
      },
      "typeVersion": 1
    },
    {
      "id": "5d55528e-49dd-491f-9f7e-fe8d29430faf",
      "name": "Note autocollante5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1072,
        1056
      ],
      "parameters": {
        "color": 5,
        "width": 352,
        "height": 144,
        "content": "## Update\n\nChange the Google Tasks and Microsoft To Do list to your personal tasks lists."
      },
      "typeVersion": 1
    },
    {
      "id": "de57cf7c-1906-4e9d-861c-8fda6cfdd593",
      "name": "Note autocollante6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1824,
        112
      ],
      "parameters": {
        "color": 4,
        "width": 352,
        "height": 80,
        "content": "The main purpose of this section is to avoid token limits or API rate limits.  We will break down the emails to the necessary information."
      },
      "typeVersion": 1
    },
    {
      "id": "921d69cc-bbba-4106-9f75-8e2080a55f97",
      "name": "Note autocollante7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2480,
        720
      ],
      "parameters": {
        "width": 656,
        "height": 176,
        "content": "## AI-Powered Task Orchestrator (Gmail/Outlook to Google Tasks/Microsoft To Do)\n\nAutomate your personal productivity by transforming actionable emails from Gmail and Outlook into structured tasks within Google Tasks or Microsoft To Do, all managed by a multi-agent AI system."
      },
      "typeVersion": 1
    },
    {
      "id": "3ad44b74-c9eb-4d78-aed5-36624e615ce7",
      "name": "Note autocollante8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        432
      ],
      "parameters": {
        "color": 3,
        "width": 352,
        "height": 192,
        "content": "## Future\n\nAdd or Remove emails services as required.  You can copy the AI Agent Tool and update it to the necessary email service.\n\nAdd summary email from the \"Success\" block on the main AI Agent."
      },
      "typeVersion": 1
    },
    {
      "id": "02a5159a-9766-4a13-88c2-5a238ad3b5ee",
      "name": "Déclencheur planifié",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2224,
        304
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    }
  ],
  "pinData": {},
  "connections": {
    "740ecbb6-4283-4423-b76c-ae8b2a38a504": {
      "main": [
        [
          {
            "node": "522a7b94-5175-4410-b291-d05b96ecaa02",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d4b85278-70c1-4d91-b776-d6662481dc7e": {
      "ai_tool": [
        [
          {
            "node": "004cc0c2-e37e-418b-ac6b-62f86945414a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "76866e85-0d04-4784-aa7e-1da748f20126": {
      "ai_tool": [
        [
          {
            "node": "004cc0c2-e37e-418b-ac6b-62f86945414a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "2207ae03-9014-464a-b557-248161f0d1de": {
      "ai_tool": [
        [
          {
            "node": "004cc0c2-e37e-418b-ac6b-62f86945414a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "e441807f-9188-4fa1-878c-58a2c36b4dd5": {
      "ai_tool": [
        [
          {
            "node": "9c5674ba-5560-435b-b125-169a9e9a113c",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "dab15547-8b7f-449f-8d3b-d30286352225": {
      "ai_tool": [
        [
          {
            "node": "9c5674ba-5560-435b-b125-169a9e9a113c",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "819ac3c9-5b6f-4f2b-a33a-22de4608dea8": {
      "ai_tool": [
        [
          {
            "node": "9c5674ba-5560-435b-b125-169a9e9a113c",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "45bcdec1-2a8c-4048-b11a-427e8f3b437c": {
      "ai_memory": [
        [
          {
            "node": "522a7b94-5175-4410-b291-d05b96ecaa02",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "4e31c404-9fa3-4699-8756-aa10ac247e59": {
      "main": [
        [
          {
            "node": "740ecbb6-4283-4423-b76c-ae8b2a38a504",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d2b295eb-1e63-48db-8741-8e8daf4151eb": {
      "ai_tool": [
        [
          {
            "node": "004cc0c2-e37e-418b-ac6b-62f86945414a",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "9514b8a9-7b12-47cd-ba75-e8497eac6b8b": {
      "ai_memory": [
        [
          {
            "node": "004cc0c2-e37e-418b-ac6b-62f86945414a",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "57275573-9c83-4363-9348-812c2f8cc1ee": {
      "ai_memory": [
        [
          {
            "node": "9c5674ba-5560-435b-b125-169a9e9a113c",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "6659169a-229e-4a6f-8eae-fe002c7a2bce": {
      "main": [
        [
          {
            "node": "740ecbb6-4283-4423-b76c-ae8b2a38a504",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "6d69d1bb-c3b0-4125-868e-7aa726d8d917": {
      "ai_tool": [
        [
          {
            "node": "9c5674ba-5560-435b-b125-169a9e9a113c",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "02a5159a-9766-4a13-88c2-5a238ad3b5ee": {
      "main": [
        [
          {
            "node": "e81c0be6-8635-4ab6-914d-65b98800dd38",
            "type": "main",
            "index": 0
          },
          {
            "node": "72b180e6-330b-4846-83b2-6130c27a2c9c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e81c0be6-8635-4ab6-914d-65b98800dd38": {
      "main": [
        [
          {
            "node": "4e31c404-9fa3-4699-8756-aa10ac247e59",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a1453d3a-3d3a-4bbb-bc64-17d699ac311d": {
      "main": [
        [
          {
            "node": "6659169a-229e-4a6f-8eae-fe002c7a2bce",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "72b180e6-330b-4846-83b2-6130c27a2c9c": {
      "main": [
        [
          {
            "node": "a1453d3a-3d3a-4bbb-bc64-17d699ac311d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9c5674ba-5560-435b-b125-169a9e9a113c": {
      "ai_tool": [
        [
          {
            "node": "522a7b94-5175-4410-b291-d05b96ecaa02",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "a324b41f-53c6-4fab-8adc-553d145ccf3e": {
      "ai_tool": [
        [
          {
            "node": "9c5674ba-5560-435b-b125-169a9e9a113c",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "004cc0c2-e37e-418b-ac6b-62f86945414a": {
      "ai_tool": [
        [
          {
            "node": "522a7b94-5175-4410-b291-d05b96ecaa02",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "25430738-ecfe-4d9f-a15b-be04834875b4": {
      "ai_tool": [
        [
          {
            "node": "522a7b94-5175-4410-b291-d05b96ecaa02",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "21b9ce43-123d-49b2-9a0e-01413da44e29": {
      "ai_languageModel": [
        [
          {
            "node": "522a7b94-5175-4410-b291-d05b96ecaa02",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "4d3084a5-471e-4ed7-bde6-4438a5aca73e": {
      "ai_languageModel": [
        [
          {
            "node": "9c5674ba-5560-435b-b125-169a9e9a113c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "96834390-9ef1-4b1d-9fa1-a5c9ffbd1132": {
      "ai_languageModel": [
        [
          {
            "node": "004cc0c2-e37e-418b-ac6b-62f86945414a",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Avancé - Productivité personnelle, Résumé IA

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds35
Catégorie2
Types de nœuds14
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34