This workflow follows the Gmail → HTTP Request recipe pattern — see all workflows that pair these two integrations.
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 →
{
"updatedAt": "2026-04-10T18:08:19.052Z",
"createdAt": "2026-04-10T14:34:23.303Z",
"id": "FQjJvBWNjGPvQ74o",
"name": "Addendo \u2014 Investigacion Manual Prospecto",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "investigacion-prospecto",
"responseMode": "lastNode",
"options": {}
},
"id": "6dcc0ece-250d-4e5f-8831-91c8e135bd45",
"name": "Webhook Prospecto",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-688,
64
]
},
{
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "// Datos del prospecto recibidos via webhook\nconst body = $input.item.json.body || $input.item.json;\n\nconst prospecto = {\n nombre_negocio: body.nombre_negocio || 'Sin nombre',\n ciudad: body.ciudad || 'Sin ciudad',\n industria: body.industria || 'Sin industria',\n sitio_web: body.sitio_web || '',\n email_contacto: body.email_contacto || '',\n notas: body.notas || ''\n};\n\n// Keywords de busqueda derivadas\nconst keywords_busqueda = [\n `${prospecto.industria} ${prospecto.ciudad}`,\n `best ${prospecto.industria} ${prospecto.ciudad}`,\n `${prospecto.industria} near me ${prospecto.ciudad}`\n];\n\nreturn {\n json: {\n prospecto,\n keywords_busqueda,\n timestamp: new Date().toISOString()\n }\n};"
},
"id": "f0cadaf6-2360-49f5-97b7-6ea4d570160e",
"name": "Datos Prospecto",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
-448,
64
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/live",
"authentication": "genericCredentialType",
"genericAuthType": "httpBasicAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "=[\n {\n \"keywords\": {{ JSON.stringify($json.keywords_busqueda) }},\n \"language_code\": \"en\",\n \"location_name\": \"United States\",\n \"include_seed_keyword\": true,\n \"sort_by\": \"search_volume\"\n }\n]",
"options": {
"timeout": 30000
}
},
"id": "25c3457e-d6d8-4c4a-be50-bd5cfb4b6582",
"name": "DataForSEO Keywords",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-208,
-80
],
"credentials": {
"httpBasicAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"method": "POST",
"url": "https://api.apify.com/v2/acts/apify~website-content-crawler/runs?token={{$credentials.apifyApi.token}}&waitForFinish=120",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"startUrls\": [\n { \"url\": \"https://www.google.com/search?q={{ encodeURIComponent($json.keywords_busqueda[0]) }}\" }\n ],\n \"maxCrawlPages\": 3,\n \"crawlerType\": \"cheerio\",\n \"maxConcurrency\": 5\n}",
"options": {
"timeout": 180000
}
},
"id": "90281a2e-d4d0-42fa-88d0-b84445dbc5cb",
"name": "Apify Scraping Competidores",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-208,
144
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.apify.com/v2/acts/apify~google-ads-transparency-scraper/runs?token={{$credentials.apifyApi.token}}&waitForFinish=120",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"queries\": [\n \"{{ $('Datos Prospecto').item.json.prospecto.industria }} {{ $('Datos Prospecto').item.json.prospecto.ciudad }}\"\n ],\n \"maxResults\": 20,\n \"language\": \"en\",\n \"country\": \"US\"\n}",
"options": {
"timeout": 180000
}
},
"id": "eb32a70c-1c18-4c41-ba8d-748ebd8a7a63",
"name": "Apify Google Ads Transparency",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-208,
352
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.anthropic.com/v1/messages",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{$credentials.httpHeaderAuth.value}}"
},
{
"name": "anthropic-version",
"value": "2023-06-01"
},
{
"name": "content-type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"model\": \"claude-sonnet-4-20250514\",\n \"max_tokens\": 4096,\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Eres el analista de inteligencia comercial de Addendo Growth Partner, una agencia de marketing digital.\\n\\nAnaliza la siguiente informacion de un prospecto y genera una PROPUESTA COMERCIAL completa.\\n\\n## DATOS DEL PROSPECTO\\n{{ JSON.stringify($('Datos Prospecto').item.json.prospecto, null, 2) }}\\n\\n## KEYWORDS DE SU INDUSTRIA (DataForSEO)\\n{{ JSON.stringify($('DataForSEO Keywords').item.json, null, 2).substring(0, 3000) }}\\n\\n## SITIOS WEB COMPETIDORES (Scraping)\\n{{ JSON.stringify($('Apify Scraping Competidores').item.json, null, 2).substring(0, 3000) }}\\n\\n## ANUNCIOS ACTIVOS COMPETIDORES (Google Ads Transparency)\\n{{ JSON.stringify($('Apify Google Ads Transparency').item.json, null, 2).substring(0, 3000) }}\\n\\n---\\n\\nGenera la propuesta con estas secciones:\\n\\n1. **RESUMEN EJECUTIVO** \u2014 Quien es el prospecto y su mercado\\n2. **ANALISIS DE COMPETENCIA** \u2014 Que hacen los competidores top, sus fortalezas y debilidades\\n3. **OPORTUNIDADES DE KEYWORDS** \u2014 Keywords de alto volumen y baja competencia donde puede posicionarse\\n4. **ANALISIS DE ANUNCIOS** \u2014 Que estan publicitando los competidores y donde hay gaps\\n5. **ESTRATEGIA RECOMENDADA** \u2014 Plan de accion con SEO, Google Ads, y contenido\\n6. **PAQUETE SUGERIDO** \u2014 Que servicios de Addendo le beneficiarian mas (SEO, PPC, Web Design, Social Media)\\n7. **PROYECCION DE RESULTADOS** \u2014 Estimacion a 3 y 6 meses\\n\\nFormato: HTML profesional listo para email. Usa tablas donde sea relevante.\"\n }\n ]\n}",
"options": {
"timeout": 120000
}
},
"id": "fa07d7bc-2ec3-4a07-a4a0-d8c4e6896e66",
"name": "Claude Analisis Propuesta",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
96,
64
]
},
{
"parameters": {
"sendTo": "admin@addendo.io",
"subject": "=Propuesta Comercial \u2014 {{ $('Datos Prospecto').item.json.prospecto.nombre_negocio }} ({{ $('Datos Prospecto').item.json.prospecto.ciudad }})",
"message": "=<h2>Propuesta Comercial Automatizada</h2>\n<p><strong>Prospecto:</strong> {{ $('Datos Prospecto').item.json.prospecto.nombre_negocio }}</p>\n<p><strong>Ciudad:</strong> {{ $('Datos Prospecto').item.json.prospecto.ciudad }}</p>\n<p><strong>Industria:</strong> {{ $('Datos Prospecto').item.json.prospecto.industria }}</p>\n<p><strong>Generado:</strong> {{ $('Datos Prospecto').item.json.timestamp }}</p>\n<hr>\n{{ $json.content ? $json.content[0].text : JSON.stringify($json, null, 2) }}",
"options": {}
},
"id": "fed65c11-e0e3-4452-ba00-b1da0884b2d5",
"name": "Gmail Enviar Propuesta",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
384,
64
],
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Webhook Prospecto": {
"main": [
[
{
"node": "Datos Prospecto",
"type": "main",
"index": 0
}
]
]
},
"Datos Prospecto": {
"main": [
[
{
"node": "DataForSEO Keywords",
"type": "main",
"index": 0
},
{
"node": "Apify Scraping Competidores",
"type": "main",
"index": 0
},
{
"node": "Apify Google Ads Transparency",
"type": "main",
"index": 0
}
]
]
},
"DataForSEO Keywords": {
"main": [
[
{
"node": "Claude Analisis Propuesta",
"type": "main",
"index": 0
}
]
]
},
"Apify Scraping Competidores": {
"main": [
[
{
"node": "Claude Analisis Propuesta",
"type": "main",
"index": 0
}
]
]
},
"Apify Google Ads Transparency": {
"main": [
[
{
"node": "Claude Analisis Propuesta",
"type": "main",
"index": 0
}
]
]
},
"Claude Analisis Propuesta": {
"main": [
[
{
"node": "Gmail Enviar Propuesta",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"binaryMode": "separate",
"availableInMCP": false
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"versionId": "3b4b7805-b164-4193-94fe-e97d161ad09f",
"activeVersionId": "3b4b7805-b164-4193-94fe-e97d161ad09f",
"versionCounter": 35,
"triggerCount": 1,
"shared": [
{
"updatedAt": "2026-04-10T14:34:23.309Z",
"createdAt": "2026-04-10T14:34:23.309Z",
"role": "workflow:owner",
"workflowId": "FQjJvBWNjGPvQ74o",
"projectId": "kOz4cM3t590yiTX0",
"project": {
"updatedAt": "2026-04-06T19:49:50.605Z",
"createdAt": "2026-04-06T05:13:47.025Z",
"id": "kOz4cM3t590yiTX0",
"name": "Jose Raul Ramirez <admin@addendo.io>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "22729d36-131e-405e-8267-dcd82aca785f"
}
}
],
"tags": [
{
"updatedAt": "2026-04-10T17:41:59.202Z",
"createdAt": "2026-04-10T17:41:59.202Z",
"id": "ApBWYelWArSgusFX",
"name": "addendo"
},
{
"updatedAt": "2026-04-10T17:41:59.268Z",
"createdAt": "2026-04-10T17:41:59.268Z",
"id": "y2Nkcwg6E3qN6CoA",
"name": "investigacion"
}
],
"activeVersion": {
"updatedAt": "2026-04-10T18:09:27.000Z",
"createdAt": "2026-04-10T18:08:19.054Z",
"versionId": "3b4b7805-b164-4193-94fe-e97d161ad09f",
"workflowId": "FQjJvBWNjGPvQ74o",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "investigacion-prospecto",
"responseMode": "lastNode",
"options": {}
},
"id": "6dcc0ece-250d-4e5f-8831-91c8e135bd45",
"name": "Webhook Prospecto",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-688,
64
],
"webhookId": "bcb76668-9f65-41fe-b1c0-2b3f83811022"
},
{
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "// Datos del prospecto recibidos via webhook\nconst body = $input.item.json.body || $input.item.json;\n\nconst prospecto = {\n nombre_negocio: body.nombre_negocio || 'Sin nombre',\n ciudad: body.ciudad || 'Sin ciudad',\n industria: body.industria || 'Sin industria',\n sitio_web: body.sitio_web || '',\n email_contacto: body.email_contacto || '',\n notas: body.notas || ''\n};\n\n// Keywords de busqueda derivadas\nconst keywords_busqueda = [\n `${prospecto.industria} ${prospecto.ciudad}`,\n `best ${prospecto.industria} ${prospecto.ciudad}`,\n `${prospecto.industria} near me ${prospecto.ciudad}`\n];\n\nreturn {\n json: {\n prospecto,\n keywords_busqueda,\n timestamp: new Date().toISOString()\n }\n};"
},
"id": "f0cadaf6-2360-49f5-97b7-6ea4d570160e",
"name": "Datos Prospecto",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
-448,
64
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/live",
"authentication": "genericCredentialType",
"genericAuthType": "httpBasicAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "=[\n {\n \"keywords\": {{ JSON.stringify($json.keywords_busqueda) }},\n \"language_code\": \"en\",\n \"location_name\": \"United States\",\n \"include_seed_keyword\": true,\n \"sort_by\": \"search_volume\"\n }\n]",
"options": {
"timeout": 30000
}
},
"id": "25c3457e-d6d8-4c4a-be50-bd5cfb4b6582",
"name": "DataForSEO Keywords",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-208,
-80
],
"credentials": {
"httpBasicAuth": {
"id": "ged1wEVjgqEGsjq0",
"name": "DATA FOR SEO API"
}
}
},
{
"parameters": {
"method": "POST",
"url": "https://api.apify.com/v2/acts/apify~website-content-crawler/runs?token={{$credentials.apifyApi.token}}&waitForFinish=120",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"startUrls\": [\n { \"url\": \"https://www.google.com/search?q={{ encodeURIComponent($json.keywords_busqueda[0]) }}\" }\n ],\n \"maxCrawlPages\": 3,\n \"crawlerType\": \"cheerio\",\n \"maxConcurrency\": 5\n}",
"options": {
"timeout": 180000
}
},
"id": "90281a2e-d4d0-42fa-88d0-b84445dbc5cb",
"name": "Apify Scraping Competidores",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-208,
144
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.apify.com/v2/acts/apify~google-ads-transparency-scraper/runs?token={{$credentials.apifyApi.token}}&waitForFinish=120",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"queries\": [\n \"{{ $('Datos Prospecto').item.json.prospecto.industria }} {{ $('Datos Prospecto').item.json.prospecto.ciudad }}\"\n ],\n \"maxResults\": 20,\n \"language\": \"en\",\n \"country\": \"US\"\n}",
"options": {
"timeout": 180000
}
},
"id": "eb32a70c-1c18-4c41-ba8d-748ebd8a7a63",
"name": "Apify Google Ads Transparency",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-208,
352
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.anthropic.com/v1/messages",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{$credentials.httpHeaderAuth.value}}"
},
{
"name": "anthropic-version",
"value": "2023-06-01"
},
{
"name": "content-type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"model\": \"claude-sonnet-4-20250514\",\n \"max_tokens\": 4096,\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Eres el analista de inteligencia comercial de Addendo Growth Partner, una agencia de marketing digital.\\n\\nAnaliza la siguiente informacion de un prospecto y genera una PROPUESTA COMERCIAL completa.\\n\\n## DATOS DEL PROSPECTO\\n{{ JSON.stringify($('Datos Prospecto').item.json.prospecto, null, 2) }}\\n\\n## KEYWORDS DE SU INDUSTRIA (DataForSEO)\\n{{ JSON.stringify($('DataForSEO Keywords').item.json, null, 2).substring(0, 3000) }}\\n\\n## SITIOS WEB COMPETIDORES (Scraping)\\n{{ JSON.stringify($('Apify Scraping Competidores').item.json, null, 2).substring(0, 3000) }}\\n\\n## ANUNCIOS ACTIVOS COMPETIDORES (Google Ads Transparency)\\n{{ JSON.stringify($('Apify Google Ads Transparency').item.json, null, 2).substring(0, 3000) }}\\n\\n---\\n\\nGenera la propuesta con estas secciones:\\n\\n1. **RESUMEN EJECUTIVO** \u2014 Quien es el prospecto y su mercado\\n2. **ANALISIS DE COMPETENCIA** \u2014 Que hacen los competidores top, sus fortalezas y debilidades\\n3. **OPORTUNIDADES DE KEYWORDS** \u2014 Keywords de alto volumen y baja competencia donde puede posicionarse\\n4. **ANALISIS DE ANUNCIOS** \u2014 Que estan publicitando los competidores y donde hay gaps\\n5. **ESTRATEGIA RECOMENDADA** \u2014 Plan de accion con SEO, Google Ads, y contenido\\n6. **PAQUETE SUGERIDO** \u2014 Que servicios de Addendo le beneficiarian mas (SEO, PPC, Web Design, Social Media)\\n7. **PROYECCION DE RESULTADOS** \u2014 Estimacion a 3 y 6 meses\\n\\nFormato: HTML profesional listo para email. Usa tablas donde sea relevante.\"\n }\n ]\n}",
"options": {
"timeout": 120000
}
},
"id": "fa07d7bc-2ec3-4a07-a4a0-d8c4e6896e66",
"name": "Claude Analisis Propuesta",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
96,
64
]
},
{
"parameters": {
"sendTo": "admin@addendo.io",
"subject": "=Propuesta Comercial \u2014 {{ $('Datos Prospecto').item.json.prospecto.nombre_negocio }} ({{ $('Datos Prospecto').item.json.prospecto.ciudad }})",
"message": "=<h2>Propuesta Comercial Automatizada</h2>\n<p><strong>Prospecto:</strong> {{ $('Datos Prospecto').item.json.prospecto.nombre_negocio }}</p>\n<p><strong>Ciudad:</strong> {{ $('Datos Prospecto').item.json.prospecto.ciudad }}</p>\n<p><strong>Industria:</strong> {{ $('Datos Prospecto').item.json.prospecto.industria }}</p>\n<p><strong>Generado:</strong> {{ $('Datos Prospecto').item.json.timestamp }}</p>\n<hr>\n{{ $json.content ? $json.content[0].text : JSON.stringify($json, null, 2) }}",
"options": {}
},
"id": "fed65c11-e0e3-4452-ba00-b1da0884b2d5",
"name": "Gmail Enviar Propuesta",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
384,
64
],
"webhookId": "8dc4d6bb-2263-4b1c-9184-ca003d751f8b",
"credentials": {
"gmailOAuth2": {
"id": "rD8DDJhSiG1dpOwO",
"name": "Gmail API"
}
}
}
],
"connections": {
"Webhook Prospecto": {
"main": [
[
{
"node": "Datos Prospecto",
"type": "main",
"index": 0
}
]
]
},
"Datos Prospecto": {
"main": [
[
{
"node": "DataForSEO Keywords",
"type": "main",
"index": 0
},
{
"node": "Apify Scraping Competidores",
"type": "main",
"index": 0
},
{
"node": "Apify Google Ads Transparency",
"type": "main",
"index": 0
}
]
]
},
"DataForSEO Keywords": {
"main": [
[
{
"node": "Claude Analisis Propuesta",
"type": "main",
"index": 0
}
]
]
},
"Apify Scraping Competidores": {
"main": [
[
{
"node": "Claude Analisis Propuesta",
"type": "main",
"index": 0
}
]
]
},
"Apify Google Ads Transparency": {
"main": [
[
{
"node": "Claude Analisis Propuesta",
"type": "main",
"index": 0
}
]
]
},
"Claude Analisis Propuesta": {
"main": [
[
{
"node": "Gmail Enviar Propuesta",
"type": "main",
"index": 0
}
]
]
}
},
"authors": "Jose Raul Ramirez ",
"name": "Version 3b4b7805",
"description": "",
"autosaved": true,
"workflowPublishHistory": [
{
"createdAt": "2026-04-10T18:09:27.199Z",
"id": 2,
"workflowId": "FQjJvBWNjGPvQ74o",
"versionId": "3b4b7805-b164-4193-94fe-e97d161ad09f",
"event": "activated",
"userId": "22729d36-131e-405e-8267-dcd82aca785f"
}
]
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
gmailOAuth2httpBasicAuthhttpHeaderAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Addendo — Investigacion Manual Prospecto. Uses httpRequest, gmail. Webhook trigger; 7 nodes.
Source: https://github.com/AddendoGrowthPartner/addendo-website/blob/6b2bd011985f5a590dcfc9338cf4c93fcf524bf2/workflows/workflow1.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.
Addendo — Investigacion Manual Prospecto. Uses httpRequest, gmail. Webhook trigger; 7 nodes.
This workflow is built for agencies, freelancers, and local service businesses who want to automate prospecting. If you sell services to local businesses -- web design, SEO, bookkeeping, HVAC -- this
Lumen - Outreach Audit & Send. Uses httpRequest, microsoftOutlook, telegram. Webhook trigger; 26 nodes.
This workflow is a powerful, two-phase system designed to automate the entire passive candidate sourcing and engagement cycle.
Prospection Sénégal - Email + WhatsApp/jour. Uses httpRequest, gmail, googleSheets. Scheduled trigger; 20 nodes.