AIe-mail分诊与GPT-4警报系统及Telegramnotification
Ceci est unSupport, AI, IT Opsworkflow d'automatisation du domainecontenant 104 nœuds.Utilise principalement des nœuds comme If, Set, Gmail, Switch, Webhook, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. AIe-mail分诊与GPT-4警报系统及Telegramnotification
- •Compte Google et informations d'identification Gmail API
- •Point de terminaison HTTP Webhook (généré automatiquement par n8n)
- •Clé API Airtable
- •Token Bot Telegram
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
- •Clé API OpenAI
- •Clé API Google Gemini
- •Informations de connexion à la base de données PostgreSQL
Nœuds utilisés (104)
{
"meta": {
"instanceId": "57d646730df815579d1588ae25619502348e47cc8216fc4ce1e6ec474fffe025",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "8cc3e6c4-0941-4420-ba54-b485cae10314",
"name": "Add Label (Outil)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to add a label to an email. Requires message ID and label ID.",
"position": [
600,
2460
],
"webhookId": "51594c94-c5ce-41e0-9a00-e4070d20abaf",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "5fa02fbf-5c96-4770-abd6-809ee9fa5e8c",
"name": "Mark Unread (Outil)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to mark an email as unread. Requires message ID.",
"position": [
760,
2460
],
"webhookId": "f52eb091-cbba-4cf6-b904-eff4649061b2",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "7845f03b-62c3-4a1c-9904-9c9bae60a1fc",
"name": "Déclencheur Telegram",
"type": "n8n-nodes-base.telegramTrigger",
"notes": "Triggers the workflow when a message is received on Telegram. Requires Telegram Bot API credentials.",
"position": [
-1000,
2380
],
"webhookId": "db48f750-18de-4383-a7b9-19efa88dfc7c",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "b43d32c1-6eb3-437a-a737-395d81e9b7ae",
"name": "Respond on Telegram",
"type": "n8n-nodes-base.telegram",
"notes": "Sends the final response back to the user on Telegram.",
"onError": "continueErrorOutput",
"position": [
1600,
2220
],
"webhookId": "7d5a1e3b-c4aa-446d-af80-112ce3a7a980",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "b1e29364-4766-40fa-a871-41619aff4fed",
"name": "Remove Label (Outil)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to remove a label from an email. Requires message ID and label ID.",
"position": [
920,
2460
],
"webhookId": "282a4856-995c-4708-82f2-6cc8fbce4fd6",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "50dae1ef-1aa1-4064-a289-7bfb0d501dd8",
"name": "Delete E-mail (Tool)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to delete an email. Requires message ID.",
"position": [
440,
2620
],
"webhookId": "e4945e67-be6b-4bb6-a5ca-1b22987a9f62",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "1d54c418-452f-4dae-a6e1-63f81ce11b97",
"name": "Mark Read (Outil)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to mark an email as read. Requires message ID.",
"position": [
600,
2620
],
"webhookId": "9065449f-6809-45b5-875e-db259eb65a39",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "36a8d5d1-c670-464b-ba1a-d718a72f84df",
"name": "Agréger Input",
"type": "n8n-nodes-base.aggregate",
"position": [
-560,
2380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "24cebb27-9fd0-43c5-92b7-1e8d3b426aa5",
"name": "IsTelegram?",
"type": "n8n-nodes-base.if",
"position": [
1160,
2320
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "7692d5ff-42c7-4fc3-b3dd-1851b468a388",
"name": "Set Déclencheur Webhook Response",
"type": "n8n-nodes-base.set",
"position": [
1380,
2400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "d13cf6bb-eb91-4c3b-84e2-f5798396f8a3",
"name": "Définir Telegram Response",
"type": "n8n-nodes-base.set",
"position": [
1380,
2220
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "2a36756a-e127-412a-be32-862a730002fe",
"name": "Request Complete",
"type": "n8n-nodes-base.noOp",
"position": [
1820,
2120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "06c90a5c-9ca4-4bb2-b461-18e412343d6e",
"name": "Workflow Error",
"type": "n8n-nodes-base.stopAndError",
"position": [
2040,
2320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "08a11219-f0af-4a40-91bb-5aec30002916",
"name": "Respond with Error",
"type": "n8n-nodes-base.telegram",
"notes": "Sends an error message back to a specific Telegram chat.",
"onError": "continueRegularOutput",
"position": [
1820,
2320
],
"webhookId": "0b4e00ab-163d-430c-b04b-fc3b6b43432e",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "af176a7d-46ed-4bf5-90e6-d3e54fdc5951",
"name": "Agent Gestionnaire d'erreurs",
"type": "n8n-nodes-base.stopAndError",
"position": [
1220,
2640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5c305f9c-43f7-4920-85cf-faa1fae0b855",
"name": "Google Gemini (OmniClassifier)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used for email classification.",
"position": [
-680,
1560
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "c98d289e-72ad-4055-b255-2b46c814b23b",
"name": "New E-mail",
"type": "n8n-nodes-base.gmailTrigger",
"notes": "Triggers the workflow when a new email is received.",
"position": [
-1440,
1340
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "b7a56fc9-12cb-40f1-ada7-4891cd596062",
"name": "Définir Email Details",
"type": "n8n-nodes-base.set",
"position": [
-1220,
1340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a706b8bd-dbbf-4a93-a436-a22d9bdf586f",
"name": "Add Promotional Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Promotions' label to the email.",
"position": [
-400,
40
],
"webhookId": "001189b6-6432-410c-9bf2-6e0fcd65ca06",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "f1ee997e-a435-46e1-a26d-0d166cc6083b",
"name": "Add Opportunity Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Opportunity' label to the email.\n*You need to create a Gmail label named 'Label_1' or change the ID here.*",
"position": [
-360,
1220
],
"webhookId": "c6355748-17a6-4b48-9d9d-2b04cb007ee2",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "9e5984e5-50f1-4f3f-af94-d92d3b195108",
"name": "Add Action Required Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Action Required' label to the email.\n*You need to create a Gmail label named 'Label_FOR_ACTIONREQUIRED' or change the ID here.*",
"position": [
-360,
1620
],
"webhookId": "38eef7a5-cd0a-4b13-a3bb-636e4fe1e216",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "ed78a2f7-578f-4bb7-9a43-e6e09621742d",
"name": "Add Operations Admin Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Operations Admin' label to the email.\n*You need to create a Gmail label named 'Label_FOR_OPERATIONSADMIN' or change the ID here.*",
"position": [
-360,
1020
],
"webhookId": "dc89d3fd-e5d3-4849-b8b5-72ffae13c687",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "d80f6beb-adb1-4545-a018-cad9705f782c",
"name": "Add Social Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Social' label to the email.",
"position": [
-380,
340
],
"webhookId": "f0e11409-09c0-4d16-98e9-03cf211c6b56",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "891a2595-bce7-43d1-8920-99a1062a3a56",
"name": "Add Newsletter Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Newsletter' label to the email.\n*You need to create a Gmail label named 'Label_2' or change the ID here.*",
"position": [
-380,
640
],
"webhookId": "1e9ed452-54ab-458f-a150-8c573a486502",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "bcd42c0c-97c4-41b2-9311-35e948e1cb34",
"name": "Add Noise/Spam Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Noise/Spam' label to the email.\n*You need to create a Gmail label named 'Label_FOR_NOISESPAM' or change the ID here.*",
"position": [
-400,
-260
],
"webhookId": "666db1e6-c1d0-4ed1-8021-a9d5a0d26daf",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "54bdaada-bf48-43d0-928d-0b061348fa2a",
"name": "Add Uncategorized Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Uncategorized' label to the email.\n*You need to create a Gmail label named 'Label_FOR_UNCATEGORIZED' or change the ID here.*",
"position": [
-360,
1840
],
"webhookId": "ac0803a6-b6cc-459d-be7e-94f56c20ddf1",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "b2115151-c82e-43d1-b12c-c6041c6aa369",
"name": "Add Client Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Clients' label to the email.\n*You need to create a Gmail label named 'Label_FOR_CLIENTS' or change the ID here.*",
"position": [
-360,
1420
],
"webhookId": "9721853a-700a-4e7d-9868-e6887cb757db",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "f4d4cbe0-de80-4d75-811f-ac41a29ab73f",
"name": "Google Gemini (Escalation)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used to determine if human intervention is needed.",
"position": [
940,
1340
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "56d9e5d9-67be-4d20-a7b7-9468ea1fee38",
"name": "Escalation Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1260,
1360
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "dee5ca9d-b9cf-4359-a7e0-578b5f100e9f",
"name": "Human Intervention Check",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1000,
1040
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "1efe2d4c-a2ee-41da-93c4-6c4bd4dd1807",
"name": "Google Gemini (Priority)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used for email priority checking.",
"position": [
-40,
1800
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "a76230ea-804a-4c9b-9858-27317bb127d8",
"name": "Priority Check",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-60,
1440
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "f964d54b-a4cb-427d-bbf3-f2c804e2001c",
"name": "Priority Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
360,
1820
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "0f196e20-f1d2-4216-b81a-b84f07537833",
"name": "Modèle de chat OpenAI (Summary)",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"notes": "AI Model used to generate context and summary for high-priority emails.",
"position": [
1640,
1320
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "2ccc6d11-5145-4a5a-8b91-0e69a4e57c95",
"name": "Summary Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1940,
1340
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "00f5a282-16a2-4949-bae8-41be4846ea22",
"name": "Context & Summary Agent",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1680,
1040
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "ab90b254-9b2d-413b-a426-0bf7ccbb2664",
"name": "Send Priority Alert",
"type": "n8n-nodes-base.telegram",
"notes": "Sends a formatted high-priority alert message to a specific Telegram chat.",
"position": [
2140,
1200
],
"webhookId": "7bf9a55c-de15-4cb2-8406-523f79dd7a94",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "14f3fcdd-9908-4338-9476-00a4263afce9",
"name": "Auto-fixing Newsletter Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
240,
800
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a9cde5ea-750f-4a41-b9a2-8f250f36ce76",
"name": "Newsletter Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
60,
780
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "29d537c2-3a61-4c36-8028-13cb85a1bd1c",
"name": "Google Gemini (Newsletter)",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"notes": "AI Model used for newsletter summarization.",
"position": [
-140,
800
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "a5a871ec-2353-4c92-bb66-8995f4d06e67",
"name": "Newsletter Résumerr",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
280,
640
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "879d6608-1eed-4a9a-a6c0-da8b79aabb20",
"name": "Priority Autofixing Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
80,
1640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f4a65096-4b7f-4bbb-8321-b7e83991460f",
"name": "Escalate Autofixing Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
1080,
1220
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d77a64af-c083-4183-96af-9a02bc4e7d5e",
"name": "Summary Autofixing Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
1760,
1220
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dcb8e154-7459-4579-b7ab-dedabf984b93",
"name": "Priority Commutateur",
"type": "n8n-nodes-base.switch",
"position": [
300,
1440
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "ab0b5ab3-add6-4ca2-b848-7c76963e56e9",
"name": "Add High Priority Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'High Priority' label.\n*You need to create a Gmail label named 'Label_3' or change the ID here.*",
"position": [
720,
1180
],
"webhookId": "a05ae459-6b25-4399-a363-93bef504499f",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "01fd8bbf-ee06-45a8-b28e-cb1d96dc0325",
"name": "Add Medium Priority Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Medium Priority' label.\n*You need to create a Gmail label named 'Label_4' or change the ID here.*",
"position": [
700,
1680
],
"webhookId": "a31b6d81-52cb-46fe-be2d-bd8f55c5a801",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "b12d7e4d-355a-4db5-aabb-0a36232c4e9b",
"name": "Add Low Priority Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Low Priority' label.\n*You need to create a Gmail label named 'Label_5' or change the ID here.*",
"position": [
700,
1860
],
"webhookId": "a315fa6e-ebdd-467c-a4fe-ea0c71657623",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "caa19a1a-249d-407a-8ca0-6ed0cf197e52",
"name": "Add Processing Label",
"type": "n8n-nodes-base.gmail",
"notes": "Applies a temporary label to indicate the email is being processed.\n*You need to create a Gmail label named 'Label_6' or change the ID here.*",
"position": [
-1000,
1340
],
"webhookId": "fb545040-2b92-4f77-bfb4-beea781902a9",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "61d2e0a1-9d5a-4b3a-a31d-7080308b61b9",
"name": "Alert Required?",
"type": "n8n-nodes-base.if",
"position": [
1460,
1200
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "668757d0-aa84-46c8-99e1-e5bdfd79c13b",
"name": "Remove Processing (Noise/Spam)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
-80,
-260
],
"webhookId": "f547002f-08f8-4615-be30-89e061149803",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "c198fda5-34a9-4559-a30a-41c5e3c1fa7f",
"name": "Send Summary to Telegram",
"type": "n8n-nodes-base.telegram",
"notes": "Sends the context and summary of a high-priority email to a specific Telegram chat.",
"position": [
1560,
640
],
"webhookId": "74864bf7-70a5-4310-b000-9fef7d2c2c69",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "4857593c-aeb9-40d1-b4f0-663514a44531",
"name": "OmniClassifier",
"type": "@n8n/n8n-nodes-langchain.textClassifier",
"notes": "Classifies the email into one of the predefined categories.",
"position": [
-780,
1340
],
"parameters": {},
"executeOnce": true,
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "7d326dfa-93b2-48df-80bc-2dedbdd0fc88",
"name": "Remove Processing (Promotional)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
-80,
40
],
"webhookId": "3d51bbfb-c9e8-4204-b0ac-b30c00f45c56",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "c4607243-3b3b-4517-8814-ce3ed2d25360",
"name": "Remove Processing (Social)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
-60,
340
],
"webhookId": "40c1e317-a509-4901-bbb4-50be9d5e4123",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "efe336ba-94d2-45cd-b777-46efe1c8f76f",
"name": "Remove Processing (Newsletter)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
660,
640
],
"webhookId": "4ad84580-173f-429e-8c97-c6cb987cc762",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "157f194a-3e38-40b3-a107-69d7ee6ee3b4",
"name": "Add Processed Label (Newsletter)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
1000,
640
],
"webhookId": "eab51593-9add-473c-8197-21c07ec5e1e7",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "6af9a427-7597-4d7e-9f2c-39b70d6ed9b7",
"name": "Add Processed Label (Social)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
280,
340
],
"webhookId": "a8434d0d-136d-4b5b-b396-21b7225b5336",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "2180bf43-e06b-46d4-b9a4-8518e199a2d4",
"name": "Add Processed Label (Promotional)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
280,
40
],
"webhookId": "fb63b534-257f-47a2-80c0-4f4341ea4118",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "4041520c-bda7-4b1b-9536-61c2530263c7",
"name": "Add Processed Label (Noise/Spam)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
220,
-260
],
"webhookId": "8496d54f-45ff-4941-a09d-cced0cd9da4a",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "30b51729-e089-4150-9240-79eb462feb7f",
"name": "Delete Noise/Spam E-mail",
"type": "n8n-nodes-base.gmail",
"notes": "Permanently deletes emails classified as Noise/Spam.",
"position": [
700,
-260
],
"webhookId": "0f011493-df77-4305-90db-8e67b6d24a96",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "e6fc2d1a-2b4a-43f7-95f3-5550e46cf2bb",
"name": "Basic LLM Chaîne",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-140,
640
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "50aef6bb-4caf-4380-8c65-e29870b211c1",
"name": "Remove Processing Label (Medium/Low)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
1400,
1760
],
"webhookId": "de3c1493-617f-45db-9e7f-71773aefc8a7",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "445c9b7f-7929-4ad1-8b5b-a6db46765fcc",
"name": "Add Processed Label (Medium/Low)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
1080,
1760
],
"webhookId": "39a8f534-7ba1-405f-88c3-5c0a3c9137ff",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "133fed4a-750f-4eb5-ae2a-e39048d3314a",
"name": "Remove Processing Label (High)",
"type": "n8n-nodes-base.gmail",
"notes": "Removes the temporary 'Processing' label.",
"position": [
2580,
1200
],
"webhookId": "f16b8f30-810b-45bb-8309-61dff344ef4b",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "c4738b02-ecb1-48c3-a8cc-f017a1579172",
"name": "Add Processed Label (High)",
"type": "n8n-nodes-base.gmail",
"notes": "Applies the 'Processed' label to the email.\n*You need to create a Gmail label with this ID or change it here.*",
"position": [
2360,
1200
],
"webhookId": "57374300-9f28-4dc8-9654-5e78b8e8d08c",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "a090c275-f6fa-4f81-b353-e58b36a95acc",
"name": "Fusionner After Noise/Spam",
"type": "n8n-nodes-base.noOp",
"position": [
980,
-260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d0951d62-93fc-4bf2-b8d2-8df663a8cb81",
"name": "Fusionner After Promotions",
"type": "n8n-nodes-base.noOp",
"position": [
620,
40
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0340dc1a-4222-4328-af11-8e1e66146fd8",
"name": "Fusionner After Social",
"type": "n8n-nodes-base.noOp",
"position": [
620,
340
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b0c1feae-9307-4a3e-8e8c-98cc9c2cd073",
"name": "Fusionner After Newsletters",
"type": "n8n-nodes-base.noOp",
"position": [
1900,
640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6ac4758b-2a1e-4da1-bb75-6b1e63c55273",
"name": "Fusionner After High Priority",
"type": "n8n-nodes-base.noOp",
"position": [
2800,
1200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9d5a5a45-1d45-4916-b6c6-0e974696344c",
"name": "Fusionner After Medium/Low Priority",
"type": "n8n-nodes-base.noOp",
"position": [
1660,
1760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "82af8343-d247-4fdf-8664-b10d3e9f0aab",
"name": "Modèle de chat OpenAI (Agent)",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"notes": "Primary AI Chat Model used by the Ultimate Email Agent.",
"position": [
-80,
2460
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "b65fbbc3-7a82-424a-b2a0-edb3c28e4230",
"name": "Déclencheur Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"notes": "Triggers the workflow via a webhook URL. Useful for integrating with other services.",
"position": [
-1000,
2180
],
"webhookId": "c559d636-d532-4575-8df5-b4cf220190c0",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2
},
{
"id": "dfb94d26-e435-4bfe-9a8e-be45d6b1aa36",
"name": "Set Déclencheur Webhook Request",
"type": "n8n-nodes-base.set",
"position": [
-780,
2180
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "88437f49-9e3d-4698-9055-c29d9ede543c",
"name": "Workflow Trigger",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"notes": "Triggers the workflow from another workflow.",
"position": [
-1000,
2580
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.1
},
{
"id": "38c14be8-860f-4127-b937-94970ee16a8f",
"name": "Définir Telegram Request",
"type": "n8n-nodes-base.set",
"position": [
-780,
2380
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c60584a9-99fe-466a-9e38-93fcfd37b35e",
"name": "Définir Workflow Request",
"type": "n8n-nodes-base.set",
"position": [
-780,
2580
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f1a2d628-7bf8-40d7-9190-169f088d1747",
"name": "Postgres Mémoire",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"notes": "Stores chat history for the AI Agent to maintain context.",
"position": [
-80,
2620
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.3
},
{
"id": "6a49e6e5-92e0-48d5-8993-2e2235f59c2d",
"name": "Workflow Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1080,
2060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8ea3a497-b2a4-4ac3-a431-8d53a17676b5",
"name": "Définir Agent Input",
"type": "n8n-nodes-base.set",
"notes": "Prepares the input data structure for the AI Agent.",
"position": [
-340,
2380
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "b7b53e20-0444-44f7-9697-e93bd7fdf1a5",
"name": "Agent IA Section",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
2060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "13d0c794-587b-421a-8f2f-11565269f77f",
"name": "Response & Error Section",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
2060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8febce31-7068-4097-9688-b636e93d0488",
"name": "Error Handling Details",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
2580
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "71a7cf77-5acd-476f-b7d5-f271964a29dc",
"name": "E-mail Ingestion Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1520,
1240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "89ac10f4-7e53-4172-aa27-774d040c2850",
"name": "Noise/Spam Handling Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
-360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "122fd89d-5c43-419a-b5a1-92cd9ba496f1",
"name": "Promotions Handling Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
-40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "82c0a24f-eb40-46c7-975c-4d65fedacfd7",
"name": "Social Handling Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "14d56f8c-edbb-4397-9bc7-5a539fc0099c",
"name": "Newsletter Handling Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
540
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "02ada1d4-8581-4d3b-9d11-74b07c9eb605",
"name": "Add Summary to Airtable",
"type": "n8n-nodes-base.airtable",
"notes": "Logs newsletter summaries to a specified Airtable base and table.",
"position": [
1220,
640
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "2f3ba673-406b-454e-99e2-ace258abb1b0",
"name": "Priority Classification Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
580,
1560
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d6d086e4-f5c4-4add-ae55-f5936668dbd1",
"name": "Email Classification Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
1280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b353ff8e-6e4e-43e2-8191-92d9e69ba7e2",
"name": "High Priority Handling Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
580,
900
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "61e4219d-577a-496d-a24f-c4b779f6b33e",
"name": "Call Sub-Workflow",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"notes": "Allows the AI Agent to trigger another workflow, likely for sending messages or handling complex tasks.",
"position": [
920,
2620
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.2
},
{
"id": "bc5d0518-ccd1-41e1-b67a-3e5ec27a1075",
"name": "Create Draft (Outil)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to create a draft email. Requires recipient, subject, and HTML message body.",
"position": [
120,
2460
],
"webhookId": "d13b7c73-3ccb-470c-a877-002b056c39db",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "5258365d-08a7-43c9-8889-16a97ebe88c3",
"name": "Send E-mail (Tool)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to send an email. Requires recipient, subject, and HTML message body.",
"position": [
120,
2620
],
"webhookId": "cdac55d9-893c-47db-8472-aebf82682a1b",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "e21c69ce-99ce-47e8-99e9-d6bb166a9f0c",
"name": "Get E-mails (Tool)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to fetch emails. Can specify limit and simplify output.",
"position": [
280,
2620
],
"webhookId": "25a5b5b4-f725-4f61-be3d-76a4ff6d8d1b",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "70cc1f33-9596-49de-b791-6f667160554e",
"name": "E-mail Reply (Tool)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to reply to an email. Requires the original message ID and the reply message body.",
"position": [
280,
2460
],
"webhookId": "9e87fb42-b0b1-4d38-b9f5-5536edf71b5f",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "49e5c216-cc92-4c12-b7ea-ec466e0ec48a",
"name": "Get Labels (Outil)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to fetch available Gmail labels. Essential for labeling operations.",
"position": [
440,
2460
],
"webhookId": "e301b1e7-9fb9-4e92-8866-b5375fdf40e8",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "ef4d4bfc-b003-4f8d-8f99-d78b8860116c",
"name": "Add Label (TooI)",
"type": "n8n-nodes-base.gmailTool",
"notes": "Used by the AI Agent to add a label to an email. Requires message ID and label ID.",
"position": [
760,
2620
],
"webhookId": "079724e8-6300-4bd9-a079-c9c80242708f",
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "df4c49cb-1211-41bf-972a-ef62560f163b",
"name": "Master E-mail Coordinator",
"type": "@n8n/n8n-nodes-langchain.agent",
"notes": "The core AI Agent that processes requests and orchestrates email actions using defined tools.",
"onError": "continueErrorOutput",
"position": [
360,
2240
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.6
},
{
"id": "bfd9e858-3354-4f43-850d-651258fd1cb3",
"name": "Unsubscribe",
"type": "n8n-nodes-base.httpRequest",
"position": [
440,
-260
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "6e168d4e-750b-4f59-b995-44527e5c681c",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-420,
920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "185b8e80-5e10-4396-bdca-337e19c30b08",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
960
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"New Email": {
"main": [
[
{
"node": "Set Email Details",
"type": "main",
"index": 0
}
]
]
},
"24cebb27-9fd0-43c5-92b7-1e8d3b426aa5": {
"main": [
[
{
"node": "Set Telegram Response",
"type": "main",
"index": 0
}
],
[
{
"node": "Set Webhook Response",
"type": "main",
"index": 0
}
]
]
},
"bfd9e858-3354-4f43-850d-651258fd1cb3": {
"main": [
[
{
"node": "Delete Noise/Spam Email",
"type": "main",
"index": 0
}
]
]
},
"4857593c-aeb9-40d1-b4f0-663514a44531": {
"main": [
[
{
"node": "bcd42c0c-97c4-41b2-9311-35e948e1cb34",
"type": "main",
"index": 0
}
],
[
{
"node": "a706b8bd-dbbf-4a93-a436-a22d9bdf586f",
"type": "main",
"index": 0
}
],
[
{
"node": "d80f6beb-adb1-4545-a018-cad9705f782c",
"type": "main",
"index": 0
}
],
[
{
"node": "891a2595-bce7-43d1-8920-99a1062a3a56",
"type": "main",
"index": 0
}
],
[
{
"node": "ed78a2f7-578f-4bb7-9a43-e6e09621742d",
"type": "main",
"index": 0
}
],
[
{
"node": "f1ee997e-a435-46e1-a26d-0d166cc6083b",
"type": "main",
"index": 0
}
],
[
{
"node": "b2115151-c82e-43d1-b12c-c6041c6aa369",
"type": "main",
"index": 0
}
],
[
{
"node": "9e5984e5-50f1-4f3f-af94-d92d3b195108",
"type": "main",
"index": 0
}
],
[
{
"node": "54bdaada-bf48-43d0-928d-0b061348fa2a",
"type": "main",
"index": 0
}
]
]
},
"a76230ea-804a-4c9b-9858-27317bb127d8": {
"main": [
[
{
"node": "Priority Switch",
"type": "main",
"index": 0
}
]
]
},
"Aggregate Input": {
"main": [
[
{
"node": "Set Agent Input",
"type": "main",
"index": 0
}
]
]
},
"61d2e0a1-9d5a-4b3a-a31d-7080308b61b9": {
"main": [
[
{
"node": "00f5a282-16a2-4949-bae8-41be4846ea22",
"type": "main",
"index": 0
}
],
[
{
"node": "c4738b02-ecb1-48c3-a8cc-f017a1579172",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Newsletter Summarizer",
"type": "main",
"index": 0
}
]
]
},
"Postgres Memory": {
"ai_memory": [
[
{
"node": "Master Email Coordinator",
"type": "ai_memory",
"index": 0
}
]
]
},
"Priority Switch": {
"main": [
[
{
"node": "ab0b5ab3-add6-4ca2-b848-7c76963e56e9",
"type": "main",
"index": 0
}
],
[
{
"node": "01fd8bbf-ee06-45a8-b28e-cb1d96dc0325",
"type": "main",
"index": 0
}
],
[
{
"node": "b12d7e4d-355a-4db5-aabb-0a36232c4e9b",
"type": "main",
"index": 0
}
]
]
},
"Set Agent Input": {
"main": [
[
{
"node": "Master Email Coordinator",
"type": "main",
"index": 0
}
]
]
},
"Webhook Trigger": {
"main": [
[
{
"node": "Set Webhook Request",
"type": "main",
"index": 0
}
]
]
},
"b2115151-c82e-43d1-b12c-c6041c6aa369": {
"main": [
[
{
"node": "a76230ea-804a-4c9b-9858-27317bb127d8",
"type": "main",
"index": 0
}
]
]
},
"ef4d4bfc-b003-4f8d-8f99-d78b8860116c": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Add Label (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"d80f6beb-adb1-4545-a018-cad9705f782c": {
"main": [
[
{
"node": "c4607243-3b3b-4517-8814-ce3ed2d25360",
"type": "main",
"index": 0
}
]
]
},
"Mark Read (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Set Telegram Request",
"type": "main",
"index": 0
}
]
]
},
"88437f49-9e3d-4698-9055-c29d9ede543c": {
"main": [
[
{
"node": "Set Workflow Request",
"type": "main",
"index": 0
}
]
]
},
"61e4219d-577a-496d-a24f-c4b779f6b33e": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Emails (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Labels (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Send Email (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Set Email Details": {
"main": [
[
{
"node": "caa19a1a-249d-407a-8ca0-6ed0cf197e52",
"type": "main",
"index": 0
}
]
]
},
"Email Reply (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Mark Unread (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"08a11219-f0af-4a40-91bb-5aec30002916": {
"main": [
[
{
"node": "06c90a5c-9ca4-4bb2-b461-18e412343d6e",
"type": "main",
"index": 0
}
]
]
},
"Delete Email (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Remove Label (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"b43d32c1-6eb3-437a-a737-395d81e9b7ae": {
"main": [
[
{
"node": "2a36756a-e127-412a-be32-862a730002fe",
"type": "main",
"index": 0
},
{
"node": "08a11219-f0af-4a40-91bb-5aec30002916",
"type": "main",
"index": 0
}
]
]
},
"ab90b254-9b2d-413b-a426-0bf7ccbb2664": {
"main": [
[
{
"node": "c4738b02-ecb1-48c3-a8cc-f017a1579172",
"type": "main",
"index": 0
}
]
]
},
"Set Webhook Request": {
"main": [
[
{
"node": "Aggregate Input",
"type": "main",
"index": 0
}
]
]
},
"891a2595-bce7-43d1-8920-99a1062a3a56": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"bcd42c0c-97c4-41b2-9311-35e948e1cb34": {
"main": [
[
{
"node": "668757d0-aa84-46c8-99e1-e5bdfd79c13b",
"type": "main",
"index": 0
}
]
]
},
"caa19a1a-249d-407a-8ca0-6ed0cf197e52": {
"main": [
[
{
"node": "4857593c-aeb9-40d1-b4f0-663514a44531",
"type": "main",
"index": 0
}
]
]
},
"Create Draft (Tool)": {
"ai_tool": [
[
{
"node": "Master Email Coordinator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Set Telegram Request": {
"main": [
[
{
"node": "Aggregate Input",
"type": "main",
"index": 0
}
]
]
},
"Set Workflow Request": {
"main": [
[
{
"node": "Aggregate Input",
"type": "main",
"index": 0
}
]
]
},
"f1ee997e-a435-46e1-a26d-0d166cc6083b": {
"main": [
[
{
"node": "a76230ea-804a-4c9b-9858-27317bb127d8",
"type": "main",
"index": 0
}
]
]
},
"a706b8bd-dbbf-4a93-a436-a22d9bdf586f": {
"main": [
[
{
"node": "7d326dfa-93b2-48df-80bc-2dedbdd0fc88",
"type": "main",
"index": 0
}
]
]
},
"Newsletter Summarizer": {
"main": [
[
{
"node": "efe336ba-94d2-45cd-b777-46efe1c8f76f",
"type": "main",
"index": 0
}
]
]
},
"Set Telegram Response": {
"main": [
[
{
"node": "b43d32c1-6eb3-437a-a737-395d81e9b7ae",
"type": "main",
"index": 0
}
]
]
},
"2ccc6d11-5145-4a5a-8b91-0e69a4e57c95": {
"ai_outputParser": [
[
{
"node": "d77a64af-c083-4183-96af-9a02bc4e7d5e",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"b12d7e4d-355a-4db5-aabb-0a36232c4e9b": {
"main": [
[
{
"node": "445c9b7f-7929-4ad1-8b5b-a6db46765fcc",
"type": "main",
"index": 0
}
]
]
},
"f964d54b-a4cb-427d-bbf3-f2c804e2001c": {
"ai_outputParser": [
[
{
"node": "879d6608-1eed-4a9a-a6c0-da8b79aabb20",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"ab0b5ab3-add6-4ca2-b848-7c76963e56e9": {
"main": [
[
{
"node": "dee5ca9d-b9cf-4359-a7e0-578b5f100e9f",
"type": "main",
"index": 0
}
]
]
},
"02ada1d4-8581-4d3b-9d11-74b07c9eb605": {
"main": [
[
{
"node": "c198fda5-34a9-4559-a30a-41c5e3c1fa7f",
"type": "main",
"index": 0
}
]
]
},
"54bdaada-bf48-43d0-928d-0b061348fa2a": {
"main": [
[
{
"node": "a76230ea-804a-4c9b-9858-27317bb127d8",
"type": "main",
"index": 0
}
]
]
},
"00f5a282-16a2-4949-bae8-41be4846ea22": {
"main": [
[
{
"node": "ab90b254-9b2d-413b-a426-0bf7ccbb2664",
"type": "main",
"index": 0
}
]
]
},
"Delete Noise/Spam Email": {
"main": [
[
{
"node": "Merge After Noise/Spam",
"type": "main",
"index": 0
}
]
]
},
"56d9e5d9-67be-4d20-a7b7-9468ea1fee38": {
"ai_outputParser": [
[
{
"node": "f4a65096-4b7f-4bbb-8321-b7e83991460f",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"1efe2d4c-a2ee-41da-93c4-6c4bd4dd1807": {
"ai_languageModel": [
[
{
"node": "879d6608-1eed-4a9a-a6c0-da8b79aabb20",
"type": "ai_languageModel",
"index": 0
},
{
"node": "a76230ea-804a-4c9b-9858-27317bb127d8",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"dee5ca9d-b9cf-4359-a7e0-578b5f100e9f": {
"main": [
[
{
"node": "61d2e0a1-9d5a-4b3a-a31d-7080308b61b9",
"type": "main",
"index": 0
}
]
]
},
"Master Email Coordinator": {
"main": [
[
{
"node": "24cebb27-9fd0-43c5-92b7-1e8d3b426aa5",
"type": "main",
"index": 0
}
],
[
{
"node": "Agent Error Handler",
"type": "main",
"index": 0
}
]
]
},
"a9cde5ea-750f-4a41-b9a2-8f250f36ce76": {
"ai_outputParser": [
[
{
"node": "14f3fcdd-9908-4338-9476-00a4263afce9",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"c198fda5-34a9-4559-a30a-41c5e3c1fa7f": {
"main": [
[
{
"node": "Merge After Newsletters",
"type": "main",
"index": 0
}
]
]
},
"9e5984e5-50f1-4f3f-af94-d92d3b195108": {
"main": [
[
{
"node": "a76230ea-804a-4c9b-9858-27317bb127d8",
"type": "main",
"index": 0
}
]
]
},
"01fd8bbf-ee06-45a8-b28e-cb1d96dc0325": {
"main": [
[
{
"node": "445c9b7f-7929-4ad1-8b5b-a6db46765fcc",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model (Agent)": {
"ai_languageModel": [
[
{
"node": "Master Email Coordinator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"d77a64af-c083-4183-96af-9a02bc4e7d5e": {
"ai_outputParser": [
[
{
"node": "00f5a282-16a2-4949-bae8-41be4846ea22",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"ed78a2f7-578f-4bb7-9a43-e6e09621742d": {
"main": [
[
{
"node": "a76230ea-804a-4c9b-9858-27317bb127d8",
"type": "main",
"index": 0
}
]
]
},
"c4738b02-ecb1-48c3-a8cc-f017a1579172": {
"main": [
[
{
"node": "133fed4a-750f-4eb5-ae2a-e39048d3314a",
"type": "main",
"index": 0
}
]
]
},
"f4a65096-4b7f-4bbb-8321-b7e83991460f": {
"ai_outputParser": [
[
{
"node": "dee5ca9d-b9cf-4359-a7e0-578b5f100e9f",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"f4d4cbe0-de80-4d75-811f-ac41a29ab73f": {
"ai_languageModel": [
[
{
"node": "dee5ca9d-b9cf-4359-a7e0-578b5f100e9f",
"type": "ai_languageModel",
"index": 0
},
{
"node": "f4a65096-4b7f-4bbb-8321-b7e83991460f",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"29d537c2-3a61-4c36-8028-13cb85a1bd1c": {
"ai_languageModel": [
[
{
"node": "Newsletter Summarizer",
"type": "ai_languageModel",
"index": 0
},
{
"node": "14f3fcdd-9908-4338-9476-00a4263afce9",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"879d6608-1eed-4a9a-a6c0-da8b79aabb20": {
"ai_outputParser": [
[
{
"node": "a76230ea-804a-4c9b-9858-27317bb127d8",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"c4607243-3b3b-4517-8814-ce3ed2d25360": {
"main": [
[
{
"node": "6af9a427-7597-4d7e-9f2c-39b70d6ed9b7",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model (Summary)": {
"ai_languageModel": [
[
{
"node": "00f5a282-16a2-4949-bae8-41be4846ea22",
"type": "ai_languageModel",
"index": 0
},
{
"node": "d77a64af-c083-4183-96af-9a02bc4e7d5e",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"6af9a427-7597-4d7e-9f2c-39b70d6ed9b7": {
"main": [
[
{
"node": "Merge After Social",
"type": "main",
"index": 0
}
]
]
},
"14f3fcdd-9908-4338-9476-00a4263afce9": {
"ai_outputParser": [
[
{
"node": "Newsletter Summarizer",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"5c305f9c-43f7-4920-85cf-faa1fae0b855": {
"ai_languageModel": [
[
{
"node": "4857593c-aeb9-40d1-b4f0-663514a44531",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"efe336ba-94d2-45cd-b777-46efe1c8f76f": {
"main": [
[
{
"node": "157f194a-3e38-40b3-a107-69d7ee6ee3b4",
"type": "main",
"index": 0
}
]
]
},
"668757d0-aa84-46c8-99e1-e5bdfd79c13b": {
"main": [
[
{
"node": "4041520c-bda7-4b1b-9536-61c2530263c7",
"type": "main",
"index": 0
}
]
]
},
"133fed4a-750f-4eb5-ae2a-e39048d3314a": {
"main": [
[
{
"node": "Merge After High Priority",
"type": "main",
"index": 0
}
]
]
},
"7d326dfa-93b2-48df-80bc-2dedbdd0fc88": {
"main": [
[
{
"node": "2180bf43-e06b-46d4-b9a4-8518e199a2d4",
"type": "main",
"index": 0
}
]
]
},
"445c9b7f-7929-4ad1-8b5b-a6db46765fcc": {
"main": [
[
{
"node": "50aef6bb-4caf-4380-8c65-e29870b211c1",
"type": "main",
"index": 0
}
]
]
},
"157f194a-3e38-40b3-a107-69d7ee6ee3b4": {
"main": [
[
{
"node": "02ada1d4-8581-4d3b-9d11-74b07c9eb605",
"type": "main",
"index": 0
}
]
]
},
"4041520c-bda7-4b1b-9536-61c2530263c7": {
"main": [
[
{
"node": "bfd9e858-3354-4f43-850d-651258fd1cb3",
"type": "main",
"index": 0
}
]
]
},
"2180bf43-e06b-46d4-b9a4-8518e199a2d4": {
"main": [
[
{
"node": "Merge After Promotions",
"type": "main",
"index": 0
}
]
]
},
"50aef6bb-4caf-4380-8c65-e29870b211c1": {
"main": [
[
{
"node": "Merge After Medium/Low Priority",
"type": "main",
"index": 0
}
]
]
}
}
}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é - Support, Intelligence Artificielle, Opérations IT
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.
Workflows recommandés
Peter Joslyn
@pjawzPartager ce workflow