Saltar al contenido

Integración Langflow en Chatbot n8n

Integra un flujo de Langflow en un chatbot de n8n para procesar mensajes de chat con IA, permitiendo respuestas dinámicas y personalización del chatbot.

AI 7 nodos 4 tipos conectado
Cargando workflow...

Nodos

ChatTrigger Set StickyNote HttpRequest

Herramientas

n8n Chatbot Langflow

Detalles

ID
4645
Nodos
7
Conex.
Tipos
4

Pertenece a:

¿Qué hace este workflow?

Este workflow permite integrar un flujo de inteligencia artificial diseñado en Langflow directamente con tu chatbot de n8n. Cada vez que tu chatbot recibe un mensaje, n8n lo envía a Langflow para su procesamiento avanzado. Langflow ejecuta su lógica de IA, que puede incluir análisis de sentimiento, extracción de entidades o generación de texto, y devuelve una respuesta estructurada a n8n. Finalmente, n8n toma esta respuesta y la envía de vuelta al usuario a través del chatbot. Ideal para empresas que desean dotar a sus chatbots de capacidades de IA sofisticadas sin tener que programar la lógica de IA directamente en n8n. Esto facilita la creación de experiencias de conversación ricas, personalizadas y contextualmente relevantes, mejorando significativamente la satisfacción del cliente y la eficiencia en la atención. Permite una rápida iteración y despliegue de nuevos modelos de IA en tus interacciones automatizadas.

¿Cómo funciona?

Este workflow usa 7 nodos conectados con 4 tipos diferentes: ChatTrigger, Set, StickyNote, HttpRequest. La estructura está totalmente conectada — listo para importar.

¿Para quién es?

Diseñado para equipos de Atención al Cliente. Nivel básico — ideal si empiezas con n8n.

¿Lo quieres en tu empresa?

Lo implementamos por ti end-to-end: integración, deploy, mantenimiento y soporte. Consultoría B2B con Genai Sapiens.

Hablemos de tu proyecto

¿Quieres aprender a hacerlo?

Sprints de 30 días con companion IA + comunidad. Aprende n8n, automatización y agentes IA desde cero o nivel avanzado.

Ver formación Momentum

Workflows similares

"},"typeVersion":1},{"id":"ca73efeb-bdbd-4824-9b3f-b6222d1db010","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","position":[-740,-960],"parameters":{"color":3,"width":720,"height":600,"content":"## Langflow\n\nLangflow is a low-code, visual development platform designed to help users build and deploy AI applications with minimal coding. It provides an intuitive drag-and-drop interface, allowing users to create complex AI workflows by connecting reusable components. Langflow supports integration with various APIs, language models, and databases, making it versatile for tasks such as chatbots, document Q&A systems, and content generation. Its Python-based architecture ensures compatibility with popular AI frameworks and tools, facilitating rapid prototyping and deployment of AI solutions.\n\n### Basic Langflow Flow:\n![image](https://n3wstorage.b-cdn.net/test/langflow_flow.png)"},"typeVersion":1},{"id":"edd68237-94c1-4b21-ac10-fac5512dc7e0","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[0,-960],"parameters":{"color":6,"width":800,"height":840,"content":"### Customize n8n Chatbot\n\n```js\ncreateChat({\n\twebhookUrl: '',\n\twebhookConfig: {\n\t\tmethod: 'POST',\n\t\theaders: {}\n\t},\n\ttarget: '#n8n-chat',\n\tmode: 'window',\n\tchatInputKey: 'chatInput',\n\tchatSessionKey: 'sessionId',\n\tmetadata: {},\n\tshowWelcomeScreen: false,\n\tdefaultLanguage: 'en',\n\tinitialMessages: [\n\t\t'Hi there! 👋',\n\t\t'My name is Nathan. How can I assist you today?'\n\t],\n\ti18n: {\n\t\ten: {\n\t\t\ttitle: 'Hi there! 👋',\n\t\t\tsubtitle: \"Start a chat. We're here to help you 24/7.\",\n\t\t\tfooter: '',\n\t\t\tgetStarted: 'New Conversation',\n\t\t\tinputPlaceholder: 'Type your question..',\n\t\t},\n\t},\n});\n```"},"typeVersion":1},{"id":"0fb9d211-07fd-4309-b91c-aa21e877a915","name":"Langflow","type":"n8n-nodes-base.httpRequest","position":[-500,0],"parameters":{"url":"https://LANGFLOW_URL/api/v1/run/FLOW_ID?stream=false","method":"POST","options":{},"jsonBody":"={\n \"input_value\": \"{{ $json.chatInput }}\",\n \"output_type\": \"chat\",\n \"input_type\": \"chat\"\n}","sendBody":true,"sendHeaders":true,"specifyBody":"json","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"u4ZE9bSDfxZX3Ljj","name":"Langflow API"}},"typeVersion":4.2},{"id":"705ecc2a-b0af-4165-8ef3-c693e82cd1ce","name":"Sticky Note3","type":"n8n-nodes-base.stickyNote","position":[-560,-60],"parameters":{"height":220,"content":"Set LANGFLOW_URL and FLOW_ID"},"typeVersion":1}],"active":false,"pinData":{},"settings":{"executionOrder":"v1"},"versionId":"6fe12868-d03f-4c86-a472-3b5ce254d4ef","connections":{"Langflow":{"main":[[{"node":"Edit Fields","type":"main","index":0}]]},"When chat message received":{"main":[[{"node":"Langflow","type":"main","index":0}]]}}}