How can I justify the response that WhatsApp sends in an email? Since it is sending it to me in plain text and I would like to see a way to format it properly.
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts {
"nodes": [
{
"parameters": {
"promptType": "define",
"text": "=El usuario envió el siguiente mensaje:\ntipo de mensaje : {{ $json.type }} y petición: {{ $json.text }}",
"options": {
"systemMessage": "=Eres un agente de ventas eficiente e inteligente para Industri-All, una empresa que ofrece servicios especializados de mantenimiento, reparación y optimización de maquinaria y equipos industriales para maquiladoras. También proporciona suministros industriales y herramientas de alta calidad para operaciones diarias.\n\nTu responsabilidad incluye gestionar los servicios y productos de la empresa, así como tareas de comunicación de manera fluida. Tus respuestas deben ser naturales y cercanas, evitando un tono robótico. Aunque tu objetivo es facilitar una venta, si el usuario pregunta, diríjalo al sitio web de Industri-All https://industri-all.com.mx/ o al siguiente video con vista previa: https://youtu.be/iPLTs94xL7U?si=Dpkub9wZIFs_5tjw\n\n\nPara enviar correos, usa la herramienta \"crea y aprueba correo\". Mantén un tono conversacional:\n\n\"Genial, ya le envié un correo a John para coordinar la reunión. Te aviso si responde.\"\nSi falta información, pregunta solo lo necesario: \"¿Quieres que le proponga una fecha específica o que él elija?\"\n\nUsa la herramienta \"conseguir_clientes\" para encontrar direcciones de correo.\n\nSaluda al usuario y pregunta por su nombre completo, Telefono e Email para obtenerlo y Guardarlo en un archivo Google Sheet.\n\nSi un nombre no está en la base de datos, pregunta: \"No encontré el email de Sarah en la lista. ¿Quieres que lo busque en tus contactos o lo agregamos?\"\n\nSi hay varias coincidencias, solicita aclaración: \"Tengo dos personas llamadas 'Carlos' en tus contactos: Carlos Pérez y Carlos Ramírez. ¿A cuál te refieres?\"\n\nAl final de cada respuesta, mandarle el numero (656) 215 0842 para que se contacte con nuestro agente de ventas directamete. \n\nGestión de servicios y productos:\n\nSi el usuario desea consultar la base de datos de los servicios o productos de Industri-All, utiliza las herramientas \"servicios\" o \"productos\" y proporciona únicamente la información solicitada por el usuario. La estructura de la base de datos es:\n\nsql\nCopiar\nEditar\nCREATE TABLE inventario_ia (\n ID SERIAL PRIMARY KEY,\n sku TEXT,\n name TEXT,\n description TEXT,\n category TEXT,\n subcategory TEXT,\n price NUMERIC\n);\n\nCuando te pidan enviar la cotización, solicitale por favor su correo electrónico para enviar la información que solicito, guardala el el email en esta variable {{emailcon}}\n\nTiene la capacidad de crear archvico PDF, del inventario con sus columanas \n\nEl archivo \\PDF tiene como header, Nombre,Descripción, Precio, Imagen para la informacion de productos\n\nEl correo Electronico que se adjunte la cotización PDF, si es PDF debes sumar los precios de productos y agregar el total abajo de los produstos\n\nManeja correctamente la temporalidad en las respuestas. Ten en cuenta que la hora actual es {{ new Date() }} y responde adecuadamente a conceptos como antes, ahora, después o mañana. Evita confirmaciones innecesarias y menciona errores técnicos solo cuando realmente ocurran."
}
},
"id": "5bd7937a-2e2f-4579-a878-6a90106c5d76",
"name": "AiLink asistente.",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
740,
440
],
"typeVersion": 1.6
},
{
"parameters": {
"operation": "send",
"phoneNumberId": "595436400315916",
"recipientPhoneNumber": "={{ $('WhatsApp Trigger1').item.json.messages[0].from }}",
"textBody": "={{ $('AiLink asistente.').item.json.output }}",
"additionalFields": {
"previewUrl": true
},
"requestOptions": {}
},
"id": "9437e83d-0c98-4b22-8e56-9a8a47fd5ba9",
"name": "Responde al usuario con texto",
"type": "n8n-nodes-base.whatsApp",
"position": [
3360,
-100
],
"typeVersion": 1,
"executeOnce": false,
"credentials": {
"whatsAppApi": {
"id": "lH7sUdHbA8s5JIlA",
"name": "WhatsApp account"
}
}
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3,
"position": [
2660,
0
],
"id": "3a5e19fb-febd-44ec-9a76-eeb9318f6674",
"name": "Merge"
},
{
"parameters": {
"html": "<!DOCTYPE html>\n\n<html>\n<head>\n <meta charset=\"UTF-8\" />\n <title>Cotización</title>\n</head>\n<body>\n <div class=\"container\"> \n <p><b>Estimado/a {{ $('WhatsApp Trigger1').item.json.contacts[0].profile.name }},</b></p> \n <p>Gracias por contactar a Industri-All. Hemos recibido su solicitud de cotización para los servicios MRO requeridos por {{ $('WhatsApp Trigger1').item.json.contacts[0].profile.name }} y estamos encantados de poder asistirle.</p>\n <p>Adjunto a este correo encontrará un documento en formato PDF con la cotización detallada de los productos y servicios solicitados. Hemos incluido toda la información relevante, como:</p>\n <ul>\n \t<li>Descripción de los productos y servicios.</li>\n \t<li>Precios unitarios y totales.</li>\n \t<li>Precios unitarios y totales.</li>\n \t<li>Plazos de entrega.</li>\t\n \t<li>Términos y condiciones.</li>\n </ul>\n <p>Si tiene alguna pregunta adicional o requiere ajustes en la cotización, no dude en contactarnos. Estamos a su disposición para brindarle la mejor solución a sus necesidades.</p>\n <p>{{ $('AiLink asistente.').item.json.output }}</p>\n <p>Agradecemos la oportunidad de trabajar con usted y esperamos poder ser su socio estratégico en servicios MRO.</p>\n <p><b>Atentamente,</b></p> \n -----\n <br>\n <br>\n <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"font-family:"Times New Roman"\"><tbody><tr><td style=\"padding:0px 1px 0px 0px\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td align=\"center\" valign=\"top\" style=\"padding:0px 25px 0px 0px;vertical-align:top\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td style=\"padding:0px 1px 0px 0px\"><p style=\"margin:1px\"><img src=\"https://industri-all.com.mx/img/foto-maribel-rodriguez-industri-all.png\" alt=\"\" width=\"100\" height=\"125\" style=\"display:block;border:0px;max-width:100px\"></p></td></tr></tbody></table></td><td valign=\"top\" style=\"padding:0px 30px 0px 1px;vertical-align:top\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td style=\"padding:0px 1px 0px 0px;font-family:Arial,sans-serif;font-size:13px;line-height:17px\"><p style=\"line-height:17px;font-weight:700;color:rgb(0,0,0);margin:1px\">Maribel Rodríguez</p><p style=\"line-height:18px;color:rgb(136,136,136);margin:1px\">Proyectos y Ventas</p><p style=\"line-height:18px;color:rgb(136,136,136);margin:1px\">Industri-All<br>Provisión Inteligente</p></td></tr></tbody></table></td><td style=\"padding:1px 0px 0px;border-right:2px solid rgb(126,217,87)\"></td><td valign=\"top\" style=\"padding:0px 1px 0px 30px;vertical-align:top\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td style=\"padding:0px 1px 0px 0px\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td valign=\"middle\" style=\"padding:1px 5px 1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><img src=\"https://industri-all.com.mx/img/email.png\" alt=\"\" width=\"18\" height=\"18\" style=\"display:block;border:0px;max-width:18px\"></p></td><td style=\"line-height:17px;padding:1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><a href=\"mailto:[email protected]\" style=\"font-family:Arial,sans-serif;font-size:13px;line-height:17px;color:rgb(136,136,136)\" target=\"_blank\">[email protected]</a></p></td></tr><tr><td valign=\"middle\" style=\"padding:1px 5px 1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><img src=\"https://industri-all.com.mx/img/phone.png\" alt=\"\" width=\"18\" height=\"18\" style=\"display:block;border:0px;max-width:18px\"></p></td><td style=\"line-height:17px;padding:1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><a href=\"tel:6561585438\" style=\"font-family:Arial,sans-serif;font-size:13px;line-height:17px;color:rgb(136,136,136)\" target=\"_blank\">6561585438</a></p></td></tr><tr><td valign=\"middle\" style=\"padding:1px 5px 1px 0px;vertical-align:middle\"></td><td style=\"line-height:17px;padding:1px 0px;vertical-align:middle\"></td></tr><tr><td valign=\"middle\" style=\"padding:1px 5px 1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><img src=\"https://industri-all.com.mx/img/links.png\" alt=\"\" width=\"18\" height=\"18\" style=\"display:block;border:0px;max-width:18px\"></p></td><td style=\"line-height:17px;padding:1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><a href=\"https://industri-all.com.mx/\" style=\"font-family:Arial,sans-serif;font-size:13px;line-height:17px;color:rgb(0,123,255);font-weight:700\" target=\"_blank\"><span style=\"line-height:17px;color:rgb(136,136,136)\">industri-all.com.mx</span></a></p></td></tr><tr><td valign=\"middle\" style=\"padding:1px 5px 1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><img src=\"https://industri-all.com.mx/img/mark.png\" alt=\"\" width=\"18\" height=\"18\" style=\"display:block;border:0px;max-width:18px\"></p></td><td style=\"line-height:17px;padding:1px 0px;vertical-align:middle\"><p style=\"margin:1px\"><span style=\"display:block\"><span style=\"font-family:Arial,sans-serif;font-size:13px;line-height:17px;color:rgb(136,136,136);font-weight:700\">Av. Adolfo López Mateos 924<br>32317<br>Cd Juárez, Chihuahua, México</span></span></p></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td colspan=\"4\" style=\"padding:0px 1px 25px 0px;border-bottom:2px solid rgb(126,217,87)\"></td></tr><tr><td colspan=\"2\" style=\"padding:0px 1px 0px 0px\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td style=\"padding:0px 1px 0px 0px\"><p style=\"margin:1px\"><a href=\"https://industri-all.com.mx/\" target=\"_blank\"><img src=\"https://industri-all.com.mx/img/logotipo-sitio.png\" alt=\"\" width=\"100\" style=\"display:block;border:0px;max-width:100px\"></a></p></td></tr></tbody></table></td><td valign=\"middle\" colspan=\"2\" style=\"padding:0px 1px 0px 0px;vertical-align:middle\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td width=\"30\" style=\"font-size:0px;line-height:0px;padding:0px 1px 0px 0px\"><p style=\"margin:1px\"><a href=\"https://www.facebook.com/profile.php?id=61567462442406&mibextid=JRoKGi\" target=\"_blank\"><img src=\"https://industri-all.com.mx/img/facebook.png\" alt=\"\" width=\"30\" height=\"30\" style=\"display:block;border:0px;max-width:30px\"></a></p></td><td width=\"3\" style=\"padding:0px 0px 1px\"></td><td width=\"30\" style=\"font-size:0px;line-height:0px;padding:0px 1px 0px 0px\"><p style=\"margin:1px\"><a href=\"https://www.instagram.com/industriall.mx/\" target=\"_blank\"><img src=\"https://industri-all.com.mx/img/instagram.png\" alt=\"\" width=\"30\" height=\"30\" style=\"display:block;border:0px;max-width:30px\"></a></p></td><td width=\"3\" style=\"padding:0px 0px 1px\"></td><td width=\"30\" style=\"font-size:0px;line-height:0px;padding:0px 1px 0px 0px\"><p style=\"margin:1px\"><a href=\"https://www.youtube.com/@industri-all\" target=\"_blank\"><img src=\"https://industri-all.com.mx/img/youtube.png\" alt=\"\" width=\"30\" height=\"30\" style=\"display:block;border:0px;max-width:30px\"></a></p></td><td width=\"3\" style=\"padding:0px 0px 1px\"></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td style=\"padding:0px 1px 0px 0px\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"max-width:600px\"><tbody><tr><td style=\"padding:0px 1px 0px 0px;font-family:Arial,sans-serif;font-size:10px;line-height:13px;color:rgb(136,136,136)\"><p style=\"line-height:13px;margin:1px\">El contenido de este correo electrónico es confidencial y está destinado únicamente al destinatario especificado en el mensaje. Queda estrictamente prohibido compartir cualquier parte de este mensaje con terceros sin el consentimiento por escrito del remitente. Si recibió este mensaje por error, le solicitamos que responda a este correo y proceda a eliminarlo, de modo que podamos asegurarnos de que dicho error no vuelva a ocurrir en el futuro.</p></td></tr></tbody></table></td></tr><tr><td style=\"padding:0px 1px 0px 0px\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tbody><tr><td valign=\"middle\" style=\"padding:30px 4px 1px 0px;vertical-align:middle\"></td><td style=\"padding:30px 0px 1px;vertical-align:middle;line-height:15px\"></td></tr></tbody></table></td></tr></tbody></table>\n </div>\n</body>\n</html>\n\n<style>\n.container {\n background-color: #ffffff;\n text-align: center;\n padding: 16px;\n border-radius: 8px;\n}\n\nh1 {\n color: #ff6d5a;\n font-size: 24px;\n font-weight: bold;\n padding: 8px;\n}\n\nh2 {\n color: #909399;\n font-size: 18px;\n font-weight: bold;\n padding: 8px;\n}\n</style>\n\n<script>\nconsole.log(\"Hello World!\");\n</script>"
},
"type": "n8n-nodes-base.html",
"typeVersion": 1.2,
"position": [
2480,
-300
],
"id": "99e7e5f4-2e17-4b4b-8fac-b2e5af663df4",
"name": "HTML1"
},
{
"parameters": {
"operation": "download",
"fileId": {
"__rl": true,
"value": "={{ $json.documentId}}",
"mode": "id"
},
"options": {
"binaryPropertyName": "data",
"googleFileConversion": {
"conversion": {
"docsToFormat": "application/pdf"
}
}
}
},
"type": "n8n-nodes-base.googleDrive",
"typeVersion": 3,
"position": [
1880,
-80
],
"id": "9204ae74-0a6e-4662-8622-49d8973384bb",
"name": "Google Drive2",
"credentials": {
"googleDriveOAuth2Api": {
"id": "I4tKrVsgihTbsBMP",
"name": "Google Drive account"
}
}
},
{
"parameters": {},
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
2260,
-300
],
"id": "40a62ee9-fe1c-43ef-ab9e-0e5345f5945e",
"name": "Wait3",
"webhookId": "0cd8ed5e-7b93-45da-8fa5-c3da74e9e70b"
},
{
"parameters": {
"aggregate": "aggregateAllItemData",
"options": {
"includeBinaries": true
}
},
"type": "n8n-nodes-base.aggregate",
"typeVersion": 1,
"position": [
2040,
-260
],
"id": "d42a0339-b3c2-4f7f-9d04-e8394662ee13",
"name": "Aggregate1"
},
{
"parameters": {
"operation": "update",
"documentURL": "={{ $json.id }}",
"actionsUi": {
"actionFields": [
{
"action": "replaceAll",
"text": "{{Nombre}}",
"replaceText": "={{ $('WhatsApp Trigger1').item.json.contacts[0].profile.name }}"
},
{
"action": "replaceAll",
"text": "{{email}}",
"replaceText": "[email protected]"
},
{
"action": "replaceAll",
"text": "{{Telefono}}",
"replaceText": "={{ $('WhatsApp Trigger1').item.json.messages[0].from }}"
},
{
"action": "replaceAll",
"text": "{{fecha}}",
"replaceText": "={{ new Date().format(\"dd-MM-yyyy\") }}"
},
{
"action": "replaceAll",
"text": "{{fecha-ven}}",
"replaceText": "={{ new Date(new Date().setDate(new Date().getDate() + 10)).format(\"dd-MM-yyyy\") }}"
},
{
"action": "replaceAll",
"text": "{{Num-Cot}}",
"replaceText": "={{parseInt(Math.random()*100).toLocaleString()}}"
}
]
}
},
"type": "n8n-nodes-base.googleDocs",
"typeVersion": 2,
"position": [
1660,
20
],
"id": "0fbab275-c97b-454b-b93d-d74c86ef1690",
"name": "Google Docs4",
"credentials": {
"googleDocsOAuth2Api": {
"id": "1SAuLTFtgduy1hKU",
"name": "Google Docs account"
}
}
},
{
"parameters": {
"operation": "copy",
"fileId": {
"__rl": true,
"value": "1LUI9h4G5Yyx6N46MunCbgMICnsPUsa0qPEz_6qwLBE8",
"mode": "id"
},
"name": "=cotizacion-{{ $('WhatsApp Trigger1').item.json.contacts[0].profile.name }}-{{ new Date().format(\"dd-MM-yyyy\") }}",
"sameFolder": false,
"driveId": {
"__rl": true,
"value": "My Drive",
"mode": "list",
"cachedResultName": "My Drive",
"cachedResultUrl": "https://drive.google.com/drive/my-drive"
},
"folderId": {
"__rl": true,
"value": "https://drive.google.com/drive/u/1/folders/1PSGASHiJTWn8Z1tWaGGwRsfPmh9xWipr",
"mode": "url"
},
"options": {
"copyRequiresWriterPermission": true
}
},
"type": "n8n-nodes-base.googleDrive",
"typeVersion": 3,
"position": [
1400,
180
],
"id": "b29521ef-462e-4f71-ba0a-1db3744bdfa2",
"name": "Google Drive3",
"credentials": {
"googleDriveOAuth2Api": {
"id": "I4tKrVsgihTbsBMP",
"name": "Google Drive account"
}
}
},
{
"parameters": {
"operation": "send",
"phoneNumberId": "595436400315916",
"recipientPhoneNumber": "={{ $('WhatsApp Trigger1').item.json.messages[0].from }}",
"messageType": "document",
"mediaPath": "useMedian8n",
"additionalFields": {},
"requestOptions": {}
},
"id": "102d6b17-1a3f-46e2-93ae-45fa2e4e960f",
"name": "Responde con documento",
"type": "n8n-nodes-base.whatsApp",
"position": [
3380,
120
],
"typeVersion": 1,
"executeOnce": false,
"credentials": {
"whatsAppApi": {
"id": "lH7sUdHbA8s5JIlA",
"name": "WhatsApp account"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "29a12056-f843-4670-a1ae-518f5724aae0",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "Cotización",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "2c2ea7e1-bad1-4d20-94ea-3d04fcedf3bb",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "cotización",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "f46b9649-4f33-4260-974b-497abe1d92ab",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "Contizame",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "83c311a0-6299-4b5b-b1e7-6ec7f16ec1fb",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "cotizame",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "948c8f04-0f21-46f7-850e-fb0dec666561",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "Cotizar",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "44d2d598-ec7d-49ab-89fe-921b56a11665",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "cotizar",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "b6f459ce-2b3a-4a4d-8436-6fd851b28f25",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "Cotizacion",
"operator": {
"type": "string",
"operation": "contains"
}
},
{
"id": "696be61c-c86a-4638-9e45-f4d32ff6912e",
"leftValue": "={{ $('Identifica el tipo de mensaje').item.json.text.body }}",
"rightValue": "cotizacion",
"operator": {
"type": "string",
"operation": "contains"
}
}
],
"combinator": "or"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
1200,
500
],
"id": "de7ec3df-b610-4bd1-97c3-c56a5869931d",
"name": "If"
},
{
"parameters": {
"sendTo": "={{ $json.email }}",
"subject": "=Cotización de Servicios MRO para {{ $('WhatsApp Trigger1').item.json.contacts[0].profile.name }} - {{ new Date().format(\"dd-MM-yyyy\") }}",
"message": "={{ $('HTML1').item.json.html }}",
"options": {
"attachmentsUi": {
"attachmentsBinary": [
{}
]
},
"bccList": "[email protected]"
}
},
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
3340,
580
],
"id": "2e45a693-17fe-4bb3-a5be-bbfcd6fae372",
"name": "Responder al correo electonico",
"webhookId": "a8833bf6-c1b7-496b-bd61-b2a8ec8201c2",
"credentials": {
"gmailOAuth2": {
"id": "WcuVk5Eznd7WUeZr",
"name": "Gmail account 2"
}
}
},
{
"parameters": {
"jsCode": "let emails = $('Separador del mensaje').first().json.text.body\n\nvar regex = /(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))/; // The actual regex\nvar matches = regex.exec(emails);\nconsole.log(matches);\n return {\n \"email\": matches[0]\n };\n\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
2800,
220
],
"id": "71029211-d9ab-44c1-a829-136b1c939a26",
"name": "Code"
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3,
"position": [
3040,
460
],
"id": "8600b015-cd0f-48cb-ab19-b1d08a2ef07a",
"name": "Merge1"
}
],
"connections": {
"AiLink asistente.": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Responde al usuario con texto": {
"main": [
[]
]
},
"Merge": {
"main": [
[
{
"node": "Responde al usuario con texto",
"type": "main",
"index": 0
},
{
"node": "Responde con documento",
"type": "main",
"index": 0
},
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"HTML1": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Google Drive2": {
"main": [
[
{
"node": "Aggregate1",
"type": "main",
"index": 0
},
{
"node": "Merge",
"type": "main",
"index": 1
},
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"Wait3": {
"main": [
[
{
"node": "HTML1",
"type": "main",
"index": 0
}
]
]
},
"Aggregate1": {
"main": [
[
{
"node": "Wait3",
"type": "main",
"index": 0
}
]
]
},
"Google Docs4": {
"main": [
[
{
"node": "Google Drive2",
"type": "main",
"index": 0
}
]
]
},
"Google Drive3": {
"main": [
[
{
"node": "Google Docs4",
"type": "main",
"index": 0
}
]
]
},
"Responde con documento": {
"main": [
[]
]
},
"If": {
"main": [
[
{
"node": "Google Drive3",
"type": "main",
"index": 0
}
],
[
{
"node": "Responde al usuario con texto",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"Merge1": {
"main": [
[
{
"node": "Responder al correo electonico",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "5a559abb6d67d7818ae6b40678176b77b7ba0ecab3366f4225aab23700a260fe"
}
}
Share the output returned by the last node
Information on your n8n setup
n8n version:** 1.81.0
Database (default: SQLite):** superbase (postgres)
n8n EXECUTIONS_PROCESS setting (default: own, main):** own
Running n8n via (Docker, npm, n8n cloud, desktop app):** n8n cloud
Operating system:**