Sistema de Revisión de NDA e Alertas Instantáneas Impulsado por IA - JotForm, Gemini, Telegram
Este es unautomatización que contiene 13 nodos.Utiliza principalmente nodos como Telegram, HttpRequest, JotFormTrigger, Agent, ExtractFromFile. Sistema de revisión de NDA e alertas instantáneas impulsado por IA basado en JotForm, Gemini y Telegram
- •Bot Token de Telegram
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Clave de API de Google Gemini
Nodos utilizados (13)
Categoría
{
"meta": {
"instanceId": "93f396852104089b8670e7494b0f3668b420464668ae4a8c1d6b4b5799f8e3ef"
},
"nodes": [
{
"id": "5260b56b-4cf1-4b6e-a510-a171f7fe6eb0",
"name": "Activador JotForm",
"type": "n8n-nodes-base.jotFormTrigger",
"position": [
0,
288
],
"webhookId": "6969e56a-be6e-4345-81e2-1be1a6d330bb",
"parameters": {
"form": "252861492721056",
"onlyAnswers": false
},
"credentials": {
"jotFormApi": {
"id": "I2Xm5wbkEW1qEJC5",
"name": "JotForm account"
}
},
"typeVersion": 1
},
{
"id": "ba08e42e-b16c-428f-bb7b-3b24c5323331",
"name": "Agentee de IA",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1024,
288
],
"parameters": {
"text": "=You are an expert contract analyst. Review the project contract below and protect the client’s interests. Output must be under 1000 chars and Telegram-compatible (no markdown links or code blocks).\n\nContract:{{ $json.text }}\n\nAnalyze and respond in this exact format:\nCONTRACT ANALYSIS REPORT\n🚩 MAJOR RED FLAGS:• Quote risky lines and briefly say why they’re unfair (e.g., payment delays, one-sided termination).\n🔍 HIDDEN & UNFAIR CLAUSES:• Mention vague terms or auto-renewal traps. Explain how they harm the client and what to question the other party about.\n✅ SUMMARY & RECOMMENDATION:• Give a short risk rating (Low / Medium / High) and 1-line advice (e.g., “Needs negotiation before signing”).\nKeep tone formal, concise, and Telegram-safe (no markdown tables, long code, or bullets over 5).",
"options": {},
"promptType": "define"
},
"typeVersion": 2.2
},
{
"id": "64dcd5ca-0e47-4c7b-817c-04705f8d64c2",
"name": "Modelo de Chat Google Gemini",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1024,
464
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "qsaK3VMNWQDWLweQ",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "b9fc554f-a00c-4955-98aa-272881c4f43c",
"name": "Enviar mensaje de texto",
"type": "n8n-nodes-base.telegram",
"position": [
1424,
288
],
"webhookId": "f1ca9668-dbc3-4ff9-91b6-e8023e052549",
"parameters": {
"text": "={{ $json.output }}",
"chatId": "enter-your-chat-id",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "E8kdmcW5xQzYeSID",
"name": "Contract ACC"
}
},
"typeVersion": 1.2
},
{
"id": "b7f4495d-6080-479d-8969-e86c86a8ffc3",
"name": "Obtener Detalles del Adjunto",
"type": "n8n-nodes-base.httpRequest",
"position": [
272,
288
],
"parameters": {
"url": "=https://api.jotform.com/submission/{{ $json.submissionID }}?apiKey=enter-your-jotfrom-api",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "9eed2517-78c3-4992-bc11-b1bb31379576",
"name": "Obtener el Contrato Adjunto",
"type": "n8n-nodes-base.httpRequest",
"position": [
512,
288
],
"parameters": {
"url": "={{ $json.content.answers['4'].answer[0] }}",
"options": {
"response": {
"response": {
"responseFormat": "file"
}
}
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "APIKEY",
"value": "enter-your-jotfrom-api"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "feaf55e1-536c-4164-8ddb-648914438b94",
"name": "Extraer Texto de Archivo PDF",
"type": "n8n-nodes-base.extractFromFile",
"position": [
736,
288
],
"parameters": {
"options": {},
"operation": "pdf"
},
"typeVersion": 1
},
{
"id": "ee21fb55-64a2-446d-b3a2-1ff6927b23b4",
"name": "Nota Adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
112
],
"parameters": {
"width": 288,
"height": 320,
"content": "### Jotform Trigger\n- Triggers when user submitted our preferred jotform\n- When triggered it will get the form data like user submitted details, form submission id, time etc"
},
"typeVersion": 1
},
{
"id": "7fd85bf0-d8b8-45a6-bb28-cf59daf4c700",
"name": "Nota Adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
112
],
"parameters": {
"width": 224,
"height": 320,
"content": "### HTTP NODE\n- We use the http node and make an custom jotform api request to get the form submitted documents link"
},
"typeVersion": 1
},
{
"id": "57af5b74-ac54-4443-b847-e7db8e6be2e0",
"name": "Nota Adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
448,
112
],
"parameters": {
"width": 224,
"height": 320,
"content": "### HTTP NODE 1\n- Download the attached document as binary but the response is in file"
},
"typeVersion": 1
},
{
"id": "d7aae65a-68de-43d5-b235-ac4a0712a8cf",
"name": "Nota Adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
688,
112
],
"parameters": {
"width": 224,
"height": 320,
"content": "### Extract From PDF Node\n- Simply extracts the text content from the pdf that we downloaded in previous HTTP node"
},
"typeVersion": 1
},
{
"id": "8a15f8f4-e3f2-4597-bac6-9a773803f1f0",
"name": "Nota Adhesiva4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1344,
112
],
"parameters": {
"width": 224,
"height": 320,
"content": "### Telegram Send message Node\n- Sends a message which consists of the previous contract analysis provided by AI to our preffered chat or channel"
},
"typeVersion": 1
},
{
"id": "d23c1ad5-fe0f-410e-85a8-521ffcdb6e09",
"name": "Nota Adhesiva5",
"type": "n8n-nodes-base.stickyNote",
"position": [
928,
112
],
"parameters": {
"width": 400,
"height": 320,
"content": "### AI Agent Node\n- AI analyses the complete contract text and then gives output the hidden clauses and red flags within the contract automatically"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Agente de IA": {
"main": [
[
{
"node": "b9fc554f-a00c-4955-98aa-272881c4f43c",
"type": "main",
"index": 0
}
]
]
},
"5260b56b-4cf1-4b6e-a510-a171f7fe6eb0": {
"main": [
[
{
"node": "b7f4495d-6080-479d-8969-e86c86a8ffc3",
"type": "main",
"index": 0
}
]
]
},
"b7f4495d-6080-479d-8969-e86c86a8ffc3": {
"main": [
[
{
"node": "9eed2517-78c3-4992-bc11-b1bb31379576",
"type": "main",
"index": 0
}
]
]
},
"64dcd5ca-0e47-4c7b-817c-04705f8d64c2": {
"ai_languageModel": [
[
{
"node": "Agente de IA",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"feaf55e1-536c-4164-8ddb-648914438b94": {
"main": [
[
{
"node": "Agente de IA",
"type": "main",
"index": 0
}
]
]
},
"9eed2517-78c3-4992-bc11-b1bb31379576": {
"main": [
[
{
"node": "feaf55e1-536c-4164-8ddb-648914438b94",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
iamvaar
@iamvaarCompartir este flujo de trabajo