Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Telegram AI bot with LangChain nodes

n8n template #2035
This workflow connects Telegram bots with LangChain nodes in n8n. The main AI Agent Node is configured as a Conversation Agent. It has a custom System Prompt which explains the reply formatting and provides some additional instructions. The AI Agent has several connections: OpenAI GPT-4 model is called to generate the replies Window Buffer Memory stores the history of conversation with each user separately There is an additional Custom n8n Workflow tool (Dall-E 3 Tool). AI Agent uses this tool when the user requests an image generation. In the lower part of the workflow, there is a series of nodes that call Dall-E 3 model with the user Telegram ID and a prompt for a new image. Once image is

Hand off to your agent

Prompt

Help me set up the n8n workflow "Telegram AI bot with LangChain nodes" (https://n8n.io/workflows/2035). It uses: HTTP Request, Telegram, AI Agent, OpenAI Chat Model, Simple Memory, Call n8n Workflow Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
  2. Technical stock analysis with Telegram, Airtable and a GPT-powered AI Agent17K
  3. Voice-Powered Marketing Assistant with ElevenLabs, OpenAI & Content Generation3,489
  4. Build Your First AI Data Analyst Chatbot134K
  5. Create a Branded AI-Powered Website Chatbot88K
  6. AI Youtube Trend Finder Based On Niche55K
  7. Build an MCP Server with Google Calendar and Custom Functions49K
  8. Scrape business leads from Google Maps using OpenAI and Google Sheets44K
Buy me a coffee