MS Teams trigger node get triggered several times for the same message

Hi,

I have a workflow with a MS Teams Trigger node, to trigger with new messages, but the workflow is being triggered several times for the same message (three times exactly)

I already check and there is no other workflow with the MS Teams Trigger node

This is my workflow

{
“nodes”: [
{
“parameters”: {
“rules”: {
“values”: [
{
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“leftValue”: “={{ $json.difference_in_seconds }}”,
“rightValue”: 1200,
“operator”: {
“type”: “number”,
“operation”: “gt”
},
“id”: “f0ffeee5-b64d-4cca-a71e-744ee7d871ec”
}
],
“combinator”: “and”
}
},
{
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “7b8465b5-0cdd-4e32-894b-43a51bb086b4”,
“leftValue”: “={{ $json.difference_in_seconds }}”,
“rightValue”: 600,
“operator”: {
“type”: “number”,
“operation”: “gt”
}
}
],
“combinator”: “and”
}
},
{
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “42c360b3-39dd-4b8f-bf53-ead7511a8a42”,
“leftValue”: “={{ $json.difference_in_seconds }}”,
“rightValue”: 120,
“operator”: {
“type”: “number”,
“operation”: “gt”
}
}
],
“combinator”: “and”
}
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.switch”,
“typeVersion”: 3.2,
“position”: [
-400,
-128
],
“id”: “d4c0e74d-57f8-4c85-9111-fc3808162319”,
“name”: “Switch”
},
{
“parameters”: {
“jsCode”: “// Get the first item from the input data.\n// n8n passes data between nodes as an array of items.\nconst item = items[0].json;\n\n// — Configuration —\n// This is the name of the field in your JSON that contains the date/time string.\n// Based on your example, we are using ‘system__time_utc’.\nconst dateFieldFromPreviousNode = ‘system__time_utc’;\n// --------------------\n\n// 1. Get the date string from the incoming item.\nconst dateString = item[dateFieldFromPreviousNode];\n\n// Check if the date field actually exists in the input data.\nif (!dateString) {\n throw new Error(`The field ‘${dateFieldFromPreviousNode}’ was not found in the input data. Please check the previous node’s output.`);\n}\n\n// 2. Create a Date object from the incoming date string.\n// The format “2025-08-21T16:46:06.268891+00:00” is a standard ISO 8601 format\n// and can be parsed directly by the new Date() constructor.\nconst previousDate = new Date(dateString);\n\n// Check if the date string was parsed correctly. If not, throw an error.\nif (isNaN(previousDate.getTime())) {\n throw new Error(`The date string (‘${dateString}’) from the previous node could not be parsed. Please ensure it is in a valid date/time format.`);\n}\n\n// 3. Get the current date and time.\nconst currentDate = new Date();\n\n// 4. Calculate the difference in milliseconds.\n// Math.abs() is used to ensure the result is always a positive number.\nconst differenceInMilliseconds = Math.abs(currentDate.getTime() - previousDate.getTime());\n\n// 5. Convert the difference from milliseconds to seconds.\nconst differenceInSeconds = differenceInMilliseconds / 1000;\n\n// 6. Add the result as a new field to the item’s JSON data.\nitem.difference_in_seconds = differenceInSeconds;\n\n// 7. Return the modified item so it can be used by the next nodes.\nreturn items[0];”
},
“type”: “n8n-nodes-base.code”,
“typeVersion”: 2,
“position”: [
-576,
-112
],
“id”: “1aa713d0-59db-4ffd-8252-bf7a334d7366”,
“name”: “Code”
},
{
“parameters”: {
“promptType”: “define”,
“text”: “={{ $(‘GetMessage’).item.json.body.content }}”,
“options”: {
“systemMessage”: “=You are a helpful assistant\nAnalyze the user message to identify if the user is confirming the case is closed, resolved or finished\nif closed use the tool SelectRecords to find a record that match the user’s input and use the tool Update Record passing system__call_sid value\noutput in spanish”
}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 2,
“position”: [
-400,
256
],
“id”: “8c32325b-fc56-4b7f-ad1e-a10876360c90”,
“name”: “AI Agent”
},
{
“parameters”: {
“model”: {
“__rl”: true,
“mode”: “list”,
“value”: “gpt-4.1-mini”
},
“options”: {
“temperature”: 0,
“topP”: 0.2
}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.2,
“position”: [
-464,
432
],
“id”: “182bd9ba-35c1-49fa-a6be-c62abd32c06c”,
“name”: “OpenAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “RfFXIJ4eoitothIx”,
“name”: “AMJ OpenAi account”
}
}
},
{
“parameters”: {
“operation”: “executeQuery”,
“query”: “SELECT * FROM AsistenteAmbulancia WHERE status_call <> 9;”,
“options”: {}
},
“type”: “n8n-nodes-base.mySqlTool”,
“typeVersion”: 2.4,
“position”: [
-208,
432
],
“id”: “75d81683-bbe2-4afe-b3e4-ab464f621025”,
“name”: “SelectRecords”,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
},
{
“parameters”: {
“descriptionType”: “manual”,
“toolDescription”: “Update a record using system__call_sid”,
“operation”: “executeQuery”,
“query”: “UPDATE AsistenteAmbulancia\nSET date_close_call = CURRENT_TIME, status_call = 9\nWHERE system__call_sid = ‘{{ $fromAI(‘values0_Value’, ``, ‘string’) }}’”,
“options”: {}
},
“type”: “n8n-nodes-base.mySqlTool”,
“typeVersion”: 2.4,
“position”: [
-336,
432
],
“id”: “1386bcff-e5c4-4147-a6d1-dec1b52733be”,
“name”: “UpdateRecord”,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
},
{
“parameters”: {
“operation”: “executeQuery”,
“query”: “SELECT * \nFROM AsistenteAmbulancia \nWHERE status_call <> 9\nLIMIT 1;”,
“options”: {}
},
“type”: “n8n-nodes-base.mySql”,
“typeVersion”: 2.4,
“position”: [
-960,
-96
],
“id”: “cae4a17a-e1a7-4e26-98fa-31a6c6d684c3”,
“name”: “GetAbiertos”,
“alwaysOutputData”: true,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
},
{
“parameters”: {
“operation”: “executeQuery”,
“query”: “UPDATE AsistenteAmbulancia\nSET date_close_call = CURRENT_TIME, status_call = 1\nWHERE system__call_sid = ‘{{ $(‘Switch’).item.json.system__call_sid }}’”,
“options”: {}
},
“type”: “n8n-nodes-base.mySql”,
“typeVersion”: 2.4,
“position”: [
160,
48
],
“id”: “c5525bc7-d483-4018-961c-3b60151156ca”,
“name”: “UpdateCoordinador”,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
},
{
“parameters”: {
“operation”: “executeQuery”,
“query”: “UPDATE AsistenteAmbulancia\nSET date_close_call = CURRENT_TIME, status_call = 2\nWHERE system__call_sid = ‘{{ $(‘Switch’).item.json.system__call_sid }}’”,
“options”: {}
},
“type”: “n8n-nodes-base.mySql”,
“typeVersion”: 2.4,
“position”: [
160,
-96
],
“id”: “703743ab-1d89-4cc4-9d62-724b2ed0f046”,
“name”: “UpdateSubGerente”,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
},
{
“parameters”: {
“operation”: “executeQuery”,
“query”: “UPDATE AsistenteAmbulancia\nSET date_close_call = CURRENT_TIME, status_call = 3\nWHERE system__call_sid = ‘{{ $(‘Switch’).item.json.system__call_sid }}’”,
“options”: {}
},
“type”: “n8n-nodes-base.mySql”,
“typeVersion”: 2.4,
“position”: [
160,
-240
],
“id”: “46e42877-f24c-4fcf-b22b-995877d5ab6f”,
“name”: “UpdateGerente”,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “8d3e31a8-fb9c-4d65-a846-84ebc523f31e”,
“leftValue”: “={{ $(‘Switch’).item.json.status_call }}”,
“rightValue”: 1,
“operator”: {
“type”: “number”,
“operation”: “equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-224,
32
],
“id”: “c98d41ce-efc2-4eb7-8285-9a9ed8b96aed”,
“name”: “IfCoordinador”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “154e085a-52d0-4a48-a2c6-09635de8e77e”,
“leftValue”: “={{ $(‘Switch’).item.json.status_call }}”,
“rightValue”: 2,
“operator”: {
“type”: “number”,
“operation”: “equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-224,
-112
],
“id”: “b1e2e57e-cad2-4bef-9bca-b31d8f29e843”,
“name”: “IfSubGerente”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “7f409eae-fbdf-4934-a08d-6308268d29d1”,
“leftValue”: “={{ $(‘Switch’).item.json.status_call }}”,
“rightValue”: 3,
“operator”: {
“type”: “number”,
“operation”: “equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-224,
-256
],
“id”: “99244d99-0967-48ef-8e31-4922a6a4bce7”,
“name”: “IfGerente”
},
{
“parameters”: {
“resource”: “chatMessage”,
“chatId”: {
“__rl”: true,
“value”: “19:[email protected]”,
“mode”: “list”,
“cachedResultName”: “Escalamiento Agente IA Ambulancias (group)”,
“cachedResultUrl”: “Join conversation
},
“contentType”: “html”,
“message”: “=MENSAJE DE PRUEBA!!\nESCALAMIENTO MÁXIMO: El usuario tiene mas de 20 minutos en espera\nMotivo de la llamada: {{ $(‘Switch’).item.json.call_summary_title }}\nResumen de la llamada: {{ $(‘Switch’).item.json.transcript_summary }}\nFecha/Hora de la llamada: {{ $(‘Switch’).item.json.system__time }}\nDuración de la llamada: {{ $(‘Switch’).item.json.duration_of_the_call }} segundos\nTelefono usuario: {{ $(‘Switch’).item.json.telefono_usuario }}\nNombre usuario: {{ $(‘Switch’).item.json.nombre_usuario }}\nNombre asegurado: {{ $(‘Switch’).item.json.nombre_asegurado }}\nNombre usuario afectado: {{ $(‘Switch’).item.json.nombre_afectado }}\nDirección de origen: {{ $(‘Switch’).item.json.direccion_origen }}”,
“options”: {
“includeLinkToWorkflow”: false
}
},
“type”: “n8n-nodes-base.microsoftTeams”,
“typeVersion”: 2,
“position”: [
-16,
-240
],
“id”: “ca8cad3b-93fc-4ee3-92f7-3ab1ed5b506b”,
“name”: “MessageGerente”,
“webhookId”: “3ff8e994-3945-49f4-b21e-8aba42f159fb”,
“alwaysOutputData”: true,
“credentials”: {
“microsoftTeamsOAuth2Api”: {
“id”: “1ELeZLgxJRusxLVa”,
“name”: “RI - Ambulancia Plan Seguro”
}
}
},
{
“parameters”: {
“resource”: “chatMessage”,
“chatId”: {
“__rl”: true,
“value”: “19:[email protected]”,
“mode”: “list”,
“cachedResultName”: “Escalamiento Agente IA Ambulancias (group)”,
“cachedResultUrl”: “Join conversation
},
“contentType”: “html”,
“message”: “=MENSAJE DE PRUEBA!!\nESCALAMIENTO MÁXIMO: El usuario tiene mas de 20 minutos en espera\nMotivo de la llamada: {{ $(‘Switch’).item.json.call_summary_title }}\nResumen de la llamada: {{ $(‘Switch’).item.json.transcript_summary }}\nFecha/Hora de la llamada: {{ $(‘Switch’).item.json.system__time }}\nDuración de la llamada: {{ $(‘Switch’).item.json.duration_of_the_call }} segundos\nTelefono usuario: {{ $(‘Switch’).item.json.telefono_usuario }}\nNombre usuario: {{ $(‘Switch’).item.json.nombre_usuario }}\nNombre asegurado: {{ $(‘Switch’).item.json.nombre_asegurado }}\nNombre usuario afectado: {{ $(‘Switch’).item.json.nombre_afectado }}\nDirección de origen: {{ $(‘Switch’).item.json.direccion_origen }}”,
“options”: {
“includeLinkToWorkflow”: false
}
},
“type”: “n8n-nodes-base.microsoftTeams”,
“typeVersion”: 2,
“position”: [
-16,
-96
],
“id”: “40964354-e399-4ae0-80f2-400477f021f7”,
“name”: “MessageSubGerente”,
“webhookId”: “3ff8e994-3945-49f4-b21e-8aba42f159fb”,
“alwaysOutputData”: true,
“credentials”: {
“microsoftTeamsOAuth2Api”: {
“id”: “1ELeZLgxJRusxLVa”,
“name”: “RI - Ambulancia Plan Seguro”
}
}
},
{
“parameters”: {
“resource”: “chatMessage”,
“chatId”: {
“__rl”: true,
“value”: “19:[email protected]”,
“mode”: “list”,
“cachedResultName”: “Escalamiento Agente IA Ambulancias (group)”,
“cachedResultUrl”: “Join conversation
},
“contentType”: “html”,
“message”: “=MENSAJE DE PRUEBA!!\nESCALAMIENTO CRITICO: El usuario tiene mas de 20 minutos en espera\nMotivo de la llamada: {{ $(‘Switch’).item.json.call_summary_title }}\nResumen de la llamada: {{ $(‘Switch’).item.json.transcript_summary }}\nFecha/Hora de la llamada: {{ $(‘Switch’).item.json.system__time }}\nDuración de la llamada: {{ $(‘Switch’).item.json.duration_of_the_call }} segundos\nTelefono usuario: {{ $(‘Switch’).item.json.telefono_usuario }}\nNombre usuario: {{ $(‘Switch’).item.json.nombre_usuario }}\nNombre asegurado: {{ $(‘Switch’).item.json.nombre_asegurado }}\nNombre usuario afectado: {{ $(‘Switch’).item.json.nombre_afectado }}\nDirección de origen: {{ $(‘Switch’).item.json.direccion_origen }}”,
“options”: {
“includeLinkToWorkflow”: false
}
},
“type”: “n8n-nodes-base.microsoftTeams”,
“typeVersion”: 2,
“position”: [
-16,
48
],
“id”: “fe9fead6-c3ea-47fa-acf9-9e15f0221f45”,
“name”: “MessageCoordinador”,
“webhookId”: “3ff8e994-3945-49f4-b21e-8aba42f159fb”,
“alwaysOutputData”: true,
“credentials”: {
“microsoftTeamsOAuth2Api”: {
“id”: “1ELeZLgxJRusxLVa”,
“name”: “RI - Ambulancia Plan Seguro”
}
}
},
{
“parameters”: {
“resource”: “chatMessage”,
“operation”: “get”,
“chatId”: {
“__rl”: true,
“value”: “19:[email protected]”,
“mode”: “list”,
“cachedResultName”: “Escalamiento Agente IA Ambulancias (group)”,
“cachedResultUrl”: “Join conversation
},
“messageId”: “={{ $json.id }}”
},
“type”: “n8n-nodes-base.microsoftTeams”,
“typeVersion”: 2,
“position”: [
-1056,
272
],
“id”: “ebb16eab-4c59-4616-b291-8925ca18b492”,
“name”: “GetMessage”,
“webhookId”: “5f7e65ef-e5e0-4c38-b83e-76d702e7da99”,
“alwaysOutputData”: true,
“credentials”: {
“microsoftTeamsOAuth2Api”: {
“id”: “1ELeZLgxJRusxLVa”,
“name”: “RI - Ambulancia Plan Seguro”
}
},
“onError”: “continueRegularOutput”
},
{
“parameters”: {
“inputSource”: “passthrough”
},
“type”: “n8n-nodes-base.executeWorkflowTrigger”,
“typeVersion”: 1.1,
“position”: [
-1152,
-96
],
“id”: “53e03a3a-5732-42f1-833e-37163c1f0703”,
“name”: “Escalacion”
},
{
“parameters”: {
“amount”: 10
},
“type”: “n8n-nodes-base.wait”,
“typeVersion”: 1.1,
“position”: [
320,
-96
],
“id”: “90044907-259a-429f-bcbf-acbb8e89b6eb”,
“name”: “Wait”,
“webhookId”: “ace28b18-faa5-48ae-95a5-803da9edcd84”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “08d6e652-7a60-4887-a07a-75e8146f9e22”,
“leftValue”: “={{ $json.idLlamada }}”,
“rightValue”: “”,
“operator”: {
“type”: “number”,
“operation”: “exists”,
“singleValue”: true
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-784,
-96
],
“id”: “536157df-d63c-4ef3-b496-55fd60aac845”,
“name”: “If”
},
{
“parameters”: {
“resource”: “chatMessage”,
“chatId”: {
“__rl”: true,
“value”: “19:[email protected]”,
“mode”: “list”,
“cachedResultName”: “Escalamiento Agente IA Ambulancias (group)”,
“cachedResultUrl”: “Join conversation
},
“contentType”: “html”,
“message”: “={{ $json.output }}”,
“options”: {
“includeLinkToWorkflow”: false
}
},
“type”: “n8n-nodes-base.microsoftTeams”,
“typeVersion”: 2,
“position”: [
-128,
256
],
“id”: “41abc4e9-6068-4207-9189-008b193087e8”,
“name”: “MessageAnswer”,
“webhookId”: “3ff8e994-3945-49f4-b21e-8aba42f159fb”,
“alwaysOutputData”: true,
“credentials”: {
“microsoftTeamsOAuth2Api”: {
“id”: “1ELeZLgxJRusxLVa”,
“name”: “RI - Ambulancia Plan Seguro”
}
}
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “793d0bf5-886c-4ad2-865b-dc29a5b95c6d”,
“leftValue”: “={{ $(‘GetMessage’).item.json.from.user.id }}”,
“rightValue”: “061e8aa2-2990-4da3-9476-a73fda0d92c8”,
“operator”: {
“type”: “string”,
“operation”: “notEquals”
}
},
{
“id”: “19b7ffa5-c04e-435e-a16e-eede238a6d77”,
“leftValue”: “={{ $(‘GetMsgProcesado’).item.json.idMessage }}”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “notExists”,
“singleValue”: true
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-560,
272
],
“id”: “8b34af86-15a0-4485-a9bc-b471b019cc63”,
“name”: “If1”
},
{
“parameters”: {
“event”: “newChatMessage”,
“chatId”: {
“__rl”: true,
“value”: “19:[email protected]”,
“mode”: “list”,
“cachedResultName”: “Escalamiento Agente IA Ambulancias (group)”,
“cachedResultUrl”: “Join conversation
}
},
“type”: “n8n-nodes-base.microsoftTeamsTrigger”,
“typeVersion”: 1,
“position”: [
-1216,
272
],
“id”: “5c1d7e76-7830-4b21-ba7c-5f0ab942c5ed”,
“name”: “TeamsTrigger”,
“webhookId”: “f8071b62-99cf-48e5-a976-fab596d8294d”,
“credentials”: {
“microsoftTeamsOAuth2Api”: {
“id”: “1ELeZLgxJRusxLVa”,
“name”: “RI - Ambulancia Plan Seguro”
}
}
},
{
“parameters”: {
“operation”: “executeQuery”,
“query”: “SELECT * \nFROM AsistenteAmbulanciaMsgProcesados\nWHERE idMessage = ‘{{ $(‘GetMessage’).item.json.id }}’;”,
“options”: {}
},
“type”: “n8n-nodes-base.mySql”,
“typeVersion”: 2.5,
“position”: [
-896,
272
],
“id”: “6ea11dcd-190a-4378-9d1c-f5b96fecce13”,
“name”: “GetMsgProcesado”,
“alwaysOutputData”: true,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
},
{
“parameters”: {
“operation”: “executeQuery”,
“query”: “INSERT IGNORE INTO AsistenteAmbulanciaMsgProcesados (idMessage)\nVALUES (‘{{ $(‘GetMessage’).item.json.id }}’);”,
“options”: {}
},
“type”: “n8n-nodes-base.mySql”,
“typeVersion”: 2.5,
“position”: [
-720,
272
],
“id”: “4f8e2c74-fb67-4bd4-950c-4a78cd343727”,
“name”: “UpserMsg”,
“credentials”: {
“mySql”: {
“id”: “kOWHoPCYHwQRBZYz”,
“name”: “RI MySQL BDAgentesPlanSeguro”
}
}
}
],
“connections”: {
“Switch”: {
“main”: [
[
{
“node”: “IfGerente”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “IfSubGerente”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “IfCoordinador”,
“type”: “main”,
“index”: 0
}
]
]
},
“Code”: {
“main”: [
[
{
“node”: “Switch”,
“type”: “main”,
“index”: 0
}
]
]
},
“AI Agent”: {
“main”: [
[
{
“node”: “MessageAnswer”,
“type”: “main”,
“index”: 0
}
]
]
},
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“SelectRecords”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“UpdateRecord”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“GetAbiertos”: {
“main”: [
[
{
“node”: “If”,
“type”: “main”,
“index”: 0
}
]
]
},
“UpdateCoordinador”: {
“main”: [
[
{
“node”: “Wait”,
“type”: “main”,
“index”: 0
}
]
]
},
“UpdateSubGerente”: {
“main”: [
[
{
“node”: “Wait”,
“type”: “main”,
“index”: 0
}
]
]
},
“UpdateGerente”: {
“main”: [
[
{
“node”: “Wait”,
“type”: “main”,
“index”: 0
}
]
]
},
“IfCoordinador”: {
“main”: [
,
[
{
“node”: “MessageCoordinador”,
“type”: “main”,
“index”: 0
}
]
]
},
“IfSubGerente”: {
“main”: [
,
[
{
“node”: “MessageSubGerente”,
“type”: “main”,
“index”: 0
}
]
]
},
“IfGerente”: {
“main”: [
,
[
{
“node”: “MessageGerente”,
“type”: “main”,
“index”: 0
}
]
]
},
“MessageGerente”: {
“main”: [
[
{
“node”: “UpdateGerente”,
“type”: “main”,
“index”: 0
}
]
]
},
“MessageSubGerente”: {
“main”: [
[
{
“node”: “UpdateSubGerente”,
“type”: “main”,
“index”: 0
}
]
]
},
“MessageCoordinador”: {
“main”: [
[
{
“node”: “UpdateCoordinador”,
“type”: “main”,
“index”: 0
}
]
]
},
“GetMessage”: {
“main”: [
[
{
“node”: “GetMsgProcesado”,
“type”: “main”,
“index”: 0
}
]
]
},
“Escalacion”: {
“main”: [
[
{
“node”: “GetAbiertos”,
“type”: “main”,
“index”: 0
}
]
]
},
“Wait”: {
“main”: [
[
{
“node”: “GetAbiertos”,
“type”: “main”,
“index”: 0
}
]
]
},
“If”: {
“main”: [
[
{
“node”: “Code”,
“type”: “main”,
“index”: 0
}
]
]
},
“If1”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“TeamsTrigger”: {
“main”: [
[
{
“node”: “GetMessage”,
“type”: “main”,
“index”: 0
}
]
]
},
“GetMsgProcesado”: {
“main”: [
[
{
“node”: “UpserMsg”,
“type”: “main”,
“index”: 0
}
]
]
},
“UpserMsg”: {
“main”: [
[
{
“node”: “If1”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “2d331c636ea1278273e5f740e579d0f0a5a8fd2b2be027eff9a6c66462804b35”
}
}

Information on your n8n setup

  • n8n version: 1.111.0
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via npm
  • Operating system: Linux AWS