Run a multi-tool Telegram AI assistant with Groq Llama 3.3
Needs changesNeeds changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), HTTP Request Tool (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) JARVIS Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| HTTP Request Tool (legacy) Web Search, Weather Lookup, News Search, Random Joke, URL Reader | HTTP Request node connected to the AI Agent's Tool input |
Nodes used (8)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Telegram
n8n-nodes-base.telegram - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - Code Tool
@n8n/n8n-nodes-langchain.toolCode
What it does
Quick overview This workflow turns a Telegram bot into a personal assistant J.A.R.V.I.S - powered by Groq (Llama 3.3 70B) and a LangChain agent with chat memory, using tools for web search, weather, news, Wikipedia lookups, calculations, date/time, jokes, and URL reading. How it works 1. Triggers when a new Telegram message is received by your bot. 2. Sends the message text to a LangChain agent running on Groq’s chat model, using the Telegram chat ID to keep a rolling memory of the conversation. 3. When needed, the agent calls external tools such as Tavily (web search), OpenWeatherMap (weather), NewsAPI (news), Wikipedia, JokeAPI, and a URL fetcher to gather or summarize information. 4. For math and date/time questions, the agent runs built-in code tools to compute results or return the current date and time. 5. Returns the agent’s final response to the same Telegram chat. Setup 1. Create a Telegram bot with @BotFather, add a Telegram API credential in n8n, and select it in both the Telegram Trigger and Telegram send-message step. 2. Add a Groq credential in n8n and ensure the Groq chat model is selected in the workflow. 3. Replace placeholders with your API keys: YOURTAVILYAPIKEY (Tavily), YOUROPENWEATHERMAPAPIKEY (OpenWeatherMap), and YOURNEWSAPIKEY (NewsAPI). 4. Activate the workflow and message your Telegram bot to test replies, tool usage, and multi-turn memory.