The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Sistema de Prospecci\u00f3n Automatizada - DesArroyo Tech",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 6
}
]
}
},
"id": "trigger-cron",
"name": "Trigger - Ejecutar cada 6 horas",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"url": "https://api.scrapingbee.com/api/v1/",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "api_key",
"value": "{{ $env.SCRAPINGBEE_API_KEY }}"
}
]
},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://www.google.com/search?q=restaurantes+[CIUDAD]+sin+pagina+web"
},
{
"name": "render_js",
"value": "false"
},
{
"name": "extract_rules",
"value": "{\"businesses\":{\"selector\":\".g\",\"type\":\"list\",\"output\":{\"name\":\".LC20lb\",\"address\":\".LwV2X\",\"phone\":\".LwV2X\",\"website\":\"a[href*='http']\"}}}}"
}
]
}
},
"id": "scraper-google",
"name": "Scraper - Google B\u00fasqueda",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
460,
300
]
},
{
"parameters": {
"url": "https://api.scrapingbee.com/api/v1/",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "api_key",
"value": "{{ $env.SCRAPINGBEE_API_KEY }}"
}
]
},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://www.paginasamarillas.es/buscar/[SECTOR]/[CIUDAD]"
},
{
"name": "render_js",
"value": "false"
},
{
"name": "extract_rules",
"value": "{\"businesses\":{\"selector\":\".listing-item\",\"type\":\"list\",\"output\":{\"name\":\".business-name\",\"address\":\".address\",\"phone\":\".phone\",\"website\":\".website\"}}}}"
}
]
}
},
"id": "scraper-paginas-amarillas",
"name": "Scraper - P\u00e1ginas Amarillas",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
460,
500
]
},
{
"parameters": {
"url": "https://api.scrapingbee.com/api/v1/",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "api_key",
"value": "{{ $env.SCRAPINGBEE_API_KEY }}"
}
]
},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://www.linkedin.com/search/results/companies/?keywords=[SECTOR]&location=[CIUDAD]"
},
{
"name": "render_js",
"value": "false"
},
{
"name": "extract_rules",
"value": "{\"companies\":{\"selector\":\".search-result\",\"type\":\"list\",\"output\":{\"name\":\".company-name\",\"industry\":\".industry\",\"size\":\".company-size\",\"website\":\".website\"}}}}"
}
]
}
},
"id": "scraper-linkedin",
"name": "Scraper - LinkedIn",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
460,
700
]
},
{
"parameters": {
"mode": "combine",
"combineBy": "combine",
"options": {}
},
"id": "merge-sources",
"name": "Merge - Combinar Fuentes",
"type": "n8n-nodes-base.merge",
"typeVersion": 2.1,
"position": [
680,
500
]
},
{
"parameters": {
"jsCode": "// Filtrar y limpiar datos de leads\nconst leads = $input.all();\nconst filteredLeads = [];\n\nfor (const item of leads) {\n const business = item.json;\n \n // Verificar si tiene datos b\u00e1sicos\n if (business.name && business.phone) {\n \n // Filtrar por sectores con potencial\n const highValueSectors = [\n 'restaurante', 'caf\u00e9', 'bar', 'pizzer\u00eda', 'comida',\n 'peluquer\u00eda', 'barber\u00eda', 'est\u00e9tica', 'belleza',\n 'dentista', 'm\u00e9dico', 'fisioterapeuta', 'cl\u00ednica',\n 'abogado', 'notario', 'asesor', 'consultor',\n 'tienda', 'comercio', 'negocio', 'empresa',\n 'hotel', 'hostal', 'alojamiento',\n 'gimnasio', 'fitness', 'deporte',\n 'autoescuela', 'taller', 'mec\u00e1nico'\n ];\n \n const sectorMatch = highValueSectors.some(sector => \n business.name.toLowerCase().includes(sector) ||\n (business.industry && business.industry.toLowerCase().includes(sector))\n );\n \n if (sectorMatch) {\n // Limpiar y formatear datos\n const cleanLead = {\n name: business.name.trim(),\n phone: business.phone.replace(/[^0-9+]/g, ''),\n address: business.address || '',\n website: business.website || '',\n industry: business.industry || '',\n source: item.source || 'unknown',\n score: 0,\n status: 'new',\n timestamp: new Date().toISOString()\n };\n \n // Calcular score inicial\n if (!cleanLead.website || cleanLead.website === '') {\n cleanLead.score += 30; // Sin web = alta prioridad\n }\n \n if (cleanLead.phone && cleanLead.phone.length > 8) {\n cleanLead.score += 20; // Tiene tel\u00e9fono v\u00e1lido\n }\n \n if (cleanLead.address && cleanLead.address.length > 10) {\n cleanLead.score += 15; // Tiene direcci\u00f3n\n }\n \n // Score por sector\n if (['restaurante', 'peluquer\u00eda', 'dentista', 'abogado'].some(s => \n cleanLead.name.toLowerCase().includes(s))) {\n cleanLead.score += 25; // Sectores de alto valor\n }\n \n filteredLeads.push(cleanLead);\n }\n }\n}\n\n// Eliminar duplicados por tel\u00e9fono\nconst uniqueLeads = [];\nconst seenPhones = new Set();\n\nfor (const lead of filteredLeads) {\n if (!seenPhones.has(lead.phone)) {\n seenPhones.add(lead.phone);\n uniqueLeads.push(lead);\n }\n}\n\n// Ordenar por score\nuniqueLeads.sort((a, b) => b.score - a.score);\n\nreturn uniqueLeads.map(lead => ({ json: lead }));"
},
"id": "filter-leads",
"name": "Filter - Filtrar y Calificar Leads",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
900,
500
]
},
{
"parameters": {
"url": "https://api.openai.com/v1/chat/completions",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer {{ $env.OPENAI_API_KEY }}"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "model",
"value": "gpt-4"
},
{
"name": "messages",
"value": "=[\n {\n \"role\": \"system\",\n \"content\": \"Eres un asistente de ventas experto en desarrollo web. Tu objetivo es generar inter\u00e9s en servicios de p\u00e1ginas web profesionales. S\u00e9 amigable, profesional y enfocado en los beneficios para el negocio.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Genera un mensaje de WhatsApp personalizado para contactar a {{ $json.name }} que es un negocio de {{ $json.industry || 'servicios' }}. El mensaje debe ser corto, directo y generar inter\u00e9s en una p\u00e1gina web profesional. Incluye una pregunta que invite a la respuesta.\"\n }\n]"
},
{
"name": "max_tokens",
"value": "200"
},
{
"name": "temperature",
"value": "0.7"
}
]
}
},
"id": "ai-message-generator",
"name": "AI - Generar Mensaje Personalizado",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
1120,
500
]
},
{
"parameters": {
"url": "https://api.twilio.com/2010-04-01/Accounts/{{ $env.TWILIO_ACCOUNT_SID }}/Messages.json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Basic {{ $env.TWILIO_AUTH_TOKEN }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "From",
"value": "whatsapp:{{ $env.TWILIO_WHATSAPP_NUMBER }}"
},
{
"name": "To",
"value": "=whatsapp:{{ $json.phone }}"
},
{
"name": "Body",
"value": "={{ $('AI - Generar Mensaje Personalizado').item.json.choices[0].message.content }}"
}
]
}
},
"id": "twilio-whatsapp",
"name": "Twilio - Enviar WhatsApp",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
1340,
500
]
},
{
"parameters": {
"url": "https://api.telegram.org/bot{{ $env.TELEGRAM_BOT_TOKEN }}/sendMessage",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "{{ $env.TELEGRAM_CHAT_ID }}"
},
{
"name": "text",
"value": "=\ud83d\ude80 **NUEVO LEAD CONTACTADO**\n\n\ud83d\udccb **Negocio:** {{ $json.name }}\n\ud83d\udcde **Tel\u00e9fono:** {{ $json.phone }}\n\ud83c\udfe2 **Sector:** {{ $json.industry || 'No especificado' }}\n\ud83d\udccd **Direcci\u00f3n:** {{ $json.address || 'No especificada' }}\n\u2b50 **Score:** {{ $json.score }}/100\n\ud83d\udcca **Fuente:** {{ $json.source }}\n\n\u2705 Mensaje enviado v\u00eda WhatsApp\n\u23f0 {{ new Date().toLocaleString('es-ES') }}"
},
{
"name": "parse_mode",
"value": "Markdown"
}
]
}
},
"id": "telegram-notification",
"name": "Telegram - Notificar Lead",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
1560,
500
]
},
{
"parameters": {
"url": "https://api.openai.com/v1/chat/completions",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer {{ $env.OPENAI_API_KEY }}"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "model",
"value": "gpt-4"
},
{
"name": "messages",
"value": "=[\n {\n \"role\": \"system\",\n \"content\": \"Eres un asistente de ventas experto en desarrollo web. Analiza la respuesta del cliente y determina la mejor acci\u00f3n a seguir. Si el cliente muestra inter\u00e9s, ofrece la encuesta de evaluaci\u00f3n. Si no, intenta generar m\u00e1s inter\u00e9s.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"El cliente {{ $json.customer_name }} respondi\u00f3: '{{ $json.message }}'. \u00bfCu\u00e1l es la mejor respuesta? Opciones: 1) Enviar encuesta de evaluaci\u00f3n, 2) Generar m\u00e1s inter\u00e9s, 3) Programar llamada, 4) Agradecer y cerrar.\"\n }\n]"
},
{
"name": "max_tokens",
"value": "150"
},
{
"name": "temperature",
"value": "0.7"
}
]
}
},
"id": "ai-response-analyzer",
"name": "AI - Analizar Respuesta Cliente",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
1780,
500
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"id": "condition-1",
"leftValue": "={{ $json.choices[0].message.content.toLowerCase() }}",
"rightValue": "encuesta",
"operator": {
"type": "string",
"operation": "contains"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "if-interested",
"name": "IF - Cliente Interesado",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
2000,
500
]
},
{
"parameters": {
"url": "https://api.twilio.com/2010-04-01/Accounts/{{ $env.TWILIO_ACCOUNT_SID }}/Messages.json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Basic {{ $env.TWILIO_AUTH_TOKEN }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "From",
"value": "whatsapp:{{ $env.TWILIO_WHATSAPP_NUMBER }}"
},
{
"name": "To",
"value": "=whatsapp:{{ $('Webhook - Respuesta Cliente').item.json.phone }}"
},
{
"name": "Body",
"value": "\u00a1Perfecto! \ud83c\udf89 Para poder ofrecerte la mejor soluci\u00f3n para tu negocio, necesito que completes esta breve encuesta:\n\n\ud83d\udd17 {{ $env.WEBSITE_URL }}/encuesta-evaluacion\n\nEs s\u00faper r\u00e1pida (2 minutos) y me ayudar\u00e1 a entender exactamente lo que necesitas. \u00bfTe parece bien?"
}
]
}
},
"id": "send-survey",
"name": "Twilio - Enviar Encuesta",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
2220,
400
]
},
{
"parameters": {
"url": "https://api.telegram.org/bot{{ $env.TELEGRAM_BOT_TOKEN }}/sendMessage",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "{{ $env.TELEGRAM_CHAT_ID }}"
},
{
"name": "text",
"value": "=\ud83c\udfaf **LEAD CALIENTE - ENCUESTA ENVIADA**\n\n\ud83d\udccb **Cliente:** {{ $('Webhook - Respuesta Cliente').item.json.customer_name }}\n\ud83d\udcde **Tel\u00e9fono:** {{ $('Webhook - Respuesta Cliente').item.json.phone }}\n\ud83d\udcac **Respuesta:** {{ $('Webhook - Respuesta Cliente').item.json.message }}\n\n\u2705 Encuesta enviada\n\u23f0 {{ new Date().toLocaleString('es-ES') }}"
},
{
"name": "parse_mode",
"value": "Markdown"
}
]
}
},
"id": "telegram-hot-lead",
"name": "Telegram - Lead Caliente",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
2440,
400
]
},
{
"parameters": {
"url": "https://api.twilio.com/2010-04-01/Accounts/{{ $env.TWILIO_ACCOUNT_SID }}/Messages.json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Basic {{ $env.TWILIO_AUTH_TOKEN }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "From",
"value": "whatsapp:{{ $env.TWILIO_WHATSAPP_NUMBER }}"
},
{
"name": "To",
"value": "=whatsapp:{{ $('Webhook - Respuesta Cliente').item.json.phone }}"
},
{
"name": "Body",
"value": "=Entiendo perfectamente. {{ $('AI - Analizar Respuesta Cliente').item.json.choices[0].message.content }}\n\n\u00bfTe gustar\u00eda que te cuente m\u00e1s sobre c\u00f3mo una web profesional puede ayudar a tu negocio a conseguir m\u00e1s clientes?"
}
]
}
},
"id": "follow-up-message",
"name": "Twilio - Mensaje de Seguimiento",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
2220,
600
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "webhook-respuesta-cliente",
"responseMode": "responseNode",
"options": {}
},
"id": "webhook-respuesta-cliente",
"name": "Webhook - Respuesta Cliente",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
1780,
700
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "webhook-encuesta-completada",
"responseMode": "responseNode",
"options": {}
},
"id": "webhook-encuesta",
"name": "Webhook - Encuesta Completada",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
2440,
700
]
},
{
"parameters": {
"url": "https://api.telegram.org/bot{{ $env.TELEGRAM_BOT_TOKEN }}/sendMessage",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "{{ $env.TELEGRAM_CHAT_ID }}"
},
{
"name": "text",
"value": "=\ud83c\udf89 **\u00a1ENCUESTA COMPLETADA!**\n\n\ud83d\udccb **Cliente:** {{ $json.customer_name }}\n\ud83d\udcde **Tel\u00e9fono:** {{ $json.phone }}\n\ud83d\udcbc **Sector:** {{ $json.business_type }}\n\ud83d\udcb0 **Presupuesto:** {{ $json.budget }}\n\u23f0 **Urgencia:** {{ $json.urgency }}\n\n\ud83d\udcca **Detalles del proyecto:**\n{{ $json.project_details }}\n\n\ud83d\ude80 **\u00a1LEAD LISTO PARA VENTA!**\n\u23f0 {{ new Date().toLocaleString('es-ES') }}"
},
{
"name": "parse_mode",
"value": "Markdown"
}
]
}
},
"id": "telegram-survey-completed",
"name": "Telegram - Encuesta Completada",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
2660,
700
]
},
{
"parameters": {
"url": "https://api.twilio.com/2010-04-01/Accounts/{{ $env.TWILIO_ACCOUNT_SID }}/Messages.json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Basic {{ $env.TWILIO_AUTH_TOKEN }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "From",
"value": "whatsapp:{{ $env.TWILIO_WHATSAPP_NUMBER }}"
},
{
"name": "To",
"value": "=whatsapp:{{ $json.phone }}"
},
{
"name": "Body",
"value": "\u00a1Excelente! \ud83c\udf89 He recibido tu encuesta y veo que tienes un proyecto muy interesante.\n\nTe voy a contactar en los pr\u00f3ximos 30 minutos para revisar todos los detalles y hacerte una propuesta personalizada.\n\n\u00bfTe parece bien si te llamo al {{ $json.phone }}?"
}
]
}
},
"id": "confirm-call",
"name": "Twilio - Confirmar Llamada",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
2880,
700
]
},
{
"parameters": {
"jsCode": "// Generar reporte diario de m\u00e9tricas\nconst today = new Date().toISOString().split('T')[0];\n\n// Aqu\u00ed normalmente consultar\u00edas una base de datos\n// Por ahora simulamos datos\nconst reportData = {\n date: today,\n totalLeadsFound: 45,\n leadsContacted: 23,\n responsesReceived: 8,\n surveysSent: 5,\n surveysCompleted: 2,\n hotLeads: 3,\n conversionRate: '8.7%',\n topSectors: ['Restaurantes', 'Peluquer\u00edas', 'Dentistas'],\n bestSources: ['Google', 'P\u00e1ginas Amarillas', 'LinkedIn']\n};\n\nreturn [{ json: reportData }];"
},
"id": "generate-daily-report",
"name": "Code - Generar Reporte Diario",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
3100,
500
]
},
{
"parameters": {
"url": "https://api.telegram.org/bot{{ $env.TELEGRAM_BOT_TOKEN }}/sendMessage",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "{{ $env.TELEGRAM_CHAT_ID }}"
},
{
"name": "text",
"value": "=\ud83d\udcca **REPORTE DIARIO - PROSPECCI\u00d3N AUTOMATIZADA**\n\n\ud83d\udcc5 **Fecha:** {{ $json.date }}\n\n\ud83d\udd0d **Leads Encontrados:** {{ $json.totalLeadsFound }}\n\ud83d\udcde **Leads Contactados:** {{ $json.leadsContacted }}\n\ud83d\udcac **Respuestas Recibidas:** {{ $json.responsesReceived }}\n\ud83d\udccb **Encuestas Enviadas:** {{ $json.surveysSent }}\n\u2705 **Encuestas Completadas:** {{ $json.surveysCompleted }}\n\ud83d\udd25 **Leads Calientes:** {{ $json.hotLeads }}\n\ud83d\udcc8 **Tasa Conversi\u00f3n:** {{ $json.conversionRate }}\n\n\ud83c\udfc6 **Mejores Sectores:**\n{{ $json.topSectors.join(', ') }}\n\n\ud83d\udcca **Mejores Fuentes:**\n{{ $json.bestSources.join(', ') }}\n\n\u23f0 {{ new Date().toLocaleString('es-ES') }}"
},
{
"name": "parse_mode",
"value": "Markdown"
}
]
}
},
"id": "telegram-daily-report",
"name": "Telegram - Reporte Diario",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.1,
"position": [
3320,
500
]
}
],
"connections": {
"Trigger - Ejecutar cada 6 horas": {
"main": [
[
{
"node": "Scraper - Google B\u00fasqueda",
"type": "main",
"index": 0
},
{
"node": "Scraper - P\u00e1ginas Amarillas",
"type": "main",
"index": 0
},
{
"node": "Scraper - LinkedIn",
"type": "main",
"index": 0
}
]
]
},
"Scraper - Google B\u00fasqueda": {
"main": [
[
{
"node": "Merge - Combinar Fuentes",
"type": "main",
"index": 0
}
]
]
},
"Scraper - P\u00e1ginas Amarillas": {
"main": [
[
{
"node": "Merge - Combinar Fuentes",
"type": "main",
"index": 1
}
]
]
},
"Scraper - LinkedIn": {
"main": [
[
{
"node": "Merge - Combinar Fuentes",
"type": "main",
"index": 2
}
]
]
},
"Merge - Combinar Fuentes": {
"main": [
[
{
"node": "Filter - Filtrar y Calificar Leads",
"type": "main",
"index": 0
}
]
]
},
"Filter - Filtrar y Calificar Leads": {
"main": [
[
{
"node": "AI - Generar Mensaje Personalizado",
"type": "main",
"index": 0
}
]
]
},
"AI - Generar Mensaje Personalizado": {
"main": [
[
{
"node": "Twilio - Enviar WhatsApp",
"type": "main",
"index": 0
}
]
]
},
"Twilio - Enviar WhatsApp": {
"main": [
[
{
"node": "Telegram - Notificar Lead",
"type": "main",
"index": 0
}
]
]
},
"Webhook - Respuesta Cliente": {
"main": [
[
{
"node": "AI - Analizar Respuesta Cliente",
"type": "main",
"index": 0
}
]
]
},
"AI - Analizar Respuesta Cliente": {
"main": [
[
{
"node": "IF - Cliente Interesado",
"type": "main",
"index": 0
}
]
]
},
"IF - Cliente Interesado": {
"main": [
[
{
"node": "Twilio - Enviar Encuesta",
"type": "main",
"index": 0
}
],
[
{
"node": "Twilio - Mensaje de Seguimiento",
"type": "main",
"index": 0
}
]
]
},
"Twilio - Enviar Encuesta": {
"main": [
[
{
"node": "Telegram - Lead Caliente",
"type": "main",
"index": 0
}
]
]
},
"Webhook - Encuesta Completada": {
"main": [
[
{
"node": "Telegram - Encuesta Completada",
"type": "main",
"index": 0
}
]
]
},
"Telegram - Encuesta Completada": {
"main": [
[
{
"node": "Twilio - Confirmar Llamada",
"type": "main",
"index": 0
}
]
]
},
"Code - Generar Reporte Diario": {
"main": [
[
{
"node": "Telegram - Reporte Diario",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [
{
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"id": "prospeccion-leads",
"name": "Prospecci\u00f3n Leads"
}
],
"triggerCount": 1,
"updatedAt": "2024-01-01T00:00:00.000Z",
"versionId": "1"
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Sistema de Prospección Automatizada - DesArroyo Tech. Uses httpRequest. Scheduled trigger; 20 nodes.
Source: https://github.com/Arroyador69/desarroyo-form/blob/main/automatizacion_prospeccion_leads_n8n.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Workflow A — WhatsApp Lead Intake & Qualification. Uses postgres, httpRequest, errorTrigger. Scheduled trigger; 67 nodes.
Build authentic Reddit presence and generate qualified leads through AI-powered community engagement that provides genuine value without spam or promotion.
This workflow runs on scheduled weekly and monthly triggers to generate unified marketing performance reports. It processes multiple websites by collecting analytics data, paid ads performance, and CR
Fetch Multiple Google Analytics GA4 metrics daily, post to Discord, update previous day’s entry as GA data finalizes over seven days. Automates daily traffic reporting Maintains single message per day
WABA Message Journey Flow Documentation This document outlines the automated workflow for sending WhatsApp messages to contacts, triggered hourly and managed through disposition and message count logi