Library / AI Agents & Assistants
AI Agents & Assistants
Research Topics on Telegram with GPT-4o mini and DeepSeek
When a Telegram message arrives, an OpenAI research agent searches the web with SerpAPI and a DeepSeek R1 agent reasons over it, replying with a summary.
What it does
## AI Research Assistant via Telegram (GPT-4o mini + DeepSeek R1 + SerpAPI) ## 👥 Who’s it for This workflow is perfect for anyone who wants to receive AI-powered research summaries directly on Telegram. Ideal for people asking frequent product, tech, or decision-making questions and want up-to-date answers sourced from the web. ## 🤖 What it does Users send a question via Telegram. An AI agent (DeepSeek R1) reformulates and understands the intent, while a second agent (GPT-4o mini) performs live research using SerpAPI. The most relevant answers, including links and images, are delivered back via Telegram. ## ⚙️ How it works 📲 Telegram Trigger – Starts when a user sends a message to your Telegram bot. 🧠 DeepSeek R1 Agent – Understands, clarifies, or reformulates the user query. 🧠 Research AI Agent (GPT-4o mini + SerpAPI) – Searches the web and summarizes the best results. 📤 Send Telegram Message – Sends the response back to the same user. ## 📋 Requirements - Telegram bot (via BotFather) with API token set in n8n credentials - OpenAI account with API key and balance for GPT-4o mini - SerpAPI account (100 free searches/month) with API key - DeepSeek account with API key and balance ## 🛠️ How to set up Create your Telegram bot using BotFather and connect it using the Telegram Trigger node Set up DeepSeek credentials and add a Chat Model AI Agent node using DeepSeek R1 to reformulate the user’s question Set up OpenAI credentials and add a second ChatGPT AI Agent node using GPT-4o mini In the GPT-4o node, enable the SerpAPI Tool and add your SerpAPI API key Pass the reformulated question from DeepSeek to the GPT-4o agent for live search and summarization Format the response (text, links, optional images) Send the final reply to the user using the Telegram Send Message node Ensure your n8n instance is publicly accessible Test the workflow by sending a message to your Telegram bot ✅
The steps
- DeepSeek R1 AI Agent
- DeepSeek Chat Model
- Simple Memory
- Research AI Agent
- OpenAI Chat Model
- SerpAPI
- Telegram Trigger
- Send a text message
Similar automations
AI Agents & AssistantsFind and Compare Online Tools with GPT-4o and SerpAPI25 stepsContent Writing & GenerationPlan Content Strategy with Two GPT-4 Agents and SerpApi7 stepsAI Agents & AssistantsAnalyze Candlestick Chart Images with AI, Marketstack and SerpAPI11 stepsContent Writing & GenerationSummarize YouTube Videos and Chat About Them with GPT-4o-mini19 steps