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.
Reviews
There are no reviews yet.