This workflow follows the HTTP Request → OpenAI 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 →
{
"name": "CableCore \u2014 Lead Follow-up",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "cablecore-lead",
"responseMode": "responseNode",
"options": {}
},
"id": "webhook",
"name": "Webhook (receives leads)",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
250,
300
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.telegram.org/bot{{$env.TELEGRAM_BOT_TOKEN}}/sendMessage",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "275618298"
},
{
"name": "text",
"value": "=\ud83d\udd14 NUEVO LEAD CableCore\n\n\ud83d\udc64 {{ $json.body.name }}\n\ud83d\udcde {{ $json.body.phone }}\n\ud83d\udce7 {{ $json.body.email }}\n\ud83d\udd27 {{ $json.body.service }}\n\ud83d\udcac {{ $json.body.message }}\n\n\u26a1 \u00a1Contacta al cliente en menos de 5 minutos!"
},
{
"name": "parse_mode",
"value": "HTML"
}
]
}
},
"id": "telegram",
"name": "Send to Telegram",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
470,
200
]
},
{
"parameters": {
"resource": "chat",
"model": "gpt-4o-mini",
"messages": {
"values": [
{
"content": "=Genera un email de seguimiento profesional y personalizado en espa\u00f1ol para un cliente potencial de CableCore (empresa de instalaci\u00f3n de cable de red en Barcelona).\n\nDatos del cliente:\n- Nombre: {{ $json.body.name }}\n- Servicio solicitado: {{ $json.body.service }}\n- Mensaje: {{ $json.body.message }}\n\nEl email debe:\n1. Agradecer la solicitud\n2. Confirmar que revisar\u00e1n su caso en menos de 24h\n3. Incluir un CTA para llamar al +34 605 974 605\n4. Ser profesional pero cercano\n5. Firmado por 'Equipo CableCore'",
"role": "user"
}
]
}
},
"id": "openai_email",
"name": "Generate Follow-up Email",
"type": "@n8n/n8n-nodes-langchain.openAi",
"typeVersion": 1.2,
"position": [
470,
400
],
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\"success\": true}"
},
"id": "respond",
"name": "Respond OK",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
690,
300
]
}
],
"connections": {
"Webhook (receives leads)": {
"main": [
[
{
"node": "Send to Telegram",
"type": "main",
"index": 0
},
{
"node": "Generate Follow-up Email",
"type": "main",
"index": 0
}
]
]
},
"Send to Telegram": {
"main": [
[
{
"node": "Respond OK",
"type": "main",
"index": 0
}
]
]
},
"Generate Follow-up Email": {
"main": [
[
{
"node": "Respond OK",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"tags": [
{
"name": "CableCore"
}
]
}
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.
openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
CableCore — Lead Follow-up. Uses httpRequest, openAi. Webhook trigger; 4 nodes.
Source: https://github.com/catalanec/CableCore/blob/624edcec1c76955c49e0625604df20d05d95a4d1/n8n-workflows/lead-followup.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.
EvolutionAPI Live. Uses httpRequest, openAi. Webhook trigger; 12 nodes.
Sistema Vendas Estética - Fluxo Principal. Uses sqlite, openAi, httpRequest. Webhook trigger; 10 nodes.
Main-Workflow. Uses openAi, slack, httpRequestTool, httpRequest. Webhook trigger; 6 nodes.
Piata AI Chat Completion. Uses httpRequest, openAi. Webhook trigger; 5 nodes.
This workflow captures new leads via webhook, enriches and scores them with Apollo and Google Gemini, logs everything in Google Sheets, and automates outreach, reply handling, follow-ups, meeting prep