Skip to product information

Telegram Multi-Provider AI Chat Agent (n8n) | Claude, GPT & Gemini

Telegram Multi-Provider AI Chat Agent (n8n) | Claude, GPT & Gemini

 (200+Reviews)
Regular price £68.99
Regular price £68.99 Sale price
SAVE Sold out
Instant Digital Download
Unlimited Downloads
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
23 people viewing
High interest right now
9 added today
Fast-moving digital product
Telegram Multi-Provider AI Chat Agent (n8n) | Claude, GPT & Gemini

Telegram Multi-Provider AI Chat Agent (n8n) | Claude, GPT & Gemini

Regular price £68.99
Regular price £68.99 Sale price
SAVE Sold out

Turn your Telegram bot into a multi-provider AI chat agent—Claude, GPT, Gemini (and OpenRouter) from n8n

This n8n workflow creates a Telegram AI assistant that automatically routes each message to your chosen model provider, keeps per-user chat history, and supports commands to manage settings, search simulation, and conversation export—right inside Telegram.

What this workflow does

  • Triggers on new messages/callbacks: Starts when a new Telegram message (or callback query) is sent to your bot.
  • Parses chat context and commands: Extracts chat/user identifiers, message text, and an optional slash command with arguments.
  • Routes to the right handler: Supports help/welcome responses, settings changes (provider, model, temperature, system prompt), and chat history controls (new chat, list history, clear).
  • Maintains per-user conversation history: Appends messages to workflow static data so each user’s chat context is preserved.
  • Calls the selected AI provider: Sends the prepared prompt to Anthropic Claude, OpenAI GPT, Google Gemini, or OpenRouter using the configured model and temperature.
  • Returns results to Telegram: Extracts the assistant text from the provider response, saves it to history, and replies in Telegram with inline actions such as Regenerate and Stop.

Use cases

  • Offer a Telegram “AI support” bot where users can switch between Claude, GPT, Gemini, or OpenRouter.
  • Give operators an interactive way to tune system prompt, model, and temperature without redeploying the workflow.
  • Enable conversation export and lightweight “simulated web search” responses as part of the chat experience.

Technical details

  • Works with Telegram (Telegram Trigger + message/callback handling).
  • Uses core n8n building blocks including Set, Code, Switch, Telegram, and HTTP Request (for provider API calls).
  • Includes workflow static data for per-user chat history persistence.
  • Supports provider credentials for Anthropic, OpenAI, Google Gemini, and/or OpenRouter.
View full details