Automated Chatbot with AI and Telegram Integration

somdn_product_page

This n8n workflow creates an intelligent chatbot that interacts with users via Telegram, leveraging AI language models and a custom MCP tool. The workflow begins by setting up a webhook to receive Telegram messages. When a message is received, it triggers a typing indicator in Telegram while processing the request using an AI agent powered by a LangChain model connected to OpenRouter and a custom MCP tool hosted on SSE endpoint.

The AI agent processes the message, possibly utilizing web search, scraping, or browser automation as indicated by the system message, and generates a response. Meanwhile, the workflow checks the status of the AI processing; if successful, it sends the generated reply back to the user on Telegram. If there is an error, it informs the user accordingly.

Additional nodes handle memory management, simulate typing actions, and allow manual testing of the workflow, making it a comprehensive automated support system for Telegram-based AI chatbots. This setup is ideal for customer support, info bots, or any scenario requiring AI-driven conversational interfaces within Telegram.

Node Count

>20 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmChatOpenRouter, @n8n/n8n-nodes-langchain.mcpClientTool, @n8n/n8n-nodes-langchain.memoryBufferWindow, executeWorkflow, executeWorkflowTrigger, httpRequest, if, manualTrigger, n8n, stickyNote, telegram, wait, webhook

Reviews

There are no reviews yet.

Be the first to review “Automated Chatbot with AI and Telegram Integration”

Your email address will not be published. Required fields are marked *