cd /news/ai-agents/i-built-a-universal-telegram-ai-assi… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-24550] src=dev.to β†— pub= topic=ai-agents verified=true sentiment=↑ positive

I built a universal Telegram AI assistant with n8n

A developer built a single n8n workflow that functions as a universal Telegram AI assistant, capable of adapting to any chat by simply changing the system prompt. The workflow automatically handles different message types, using Groq Vision for image analysis, Tavily for web searches, and Google Sheets for conversation memory. Self-hosted with n8n, the system took only a few hours to build and now runs autonomously across multiple channels.

read1 min publishedJun 11, 2026

I've been managing a Telegram channel for a while and kept spending time answering the same questions manually. So I built one n8n workflow that now does it for me automatically.

The cool thing is it works in any Telegram chat. You just change the system prompt and it adapts completely.

When someone sends a message it figures out what to do on its own. If it's a photo β€” it downloads it and uses Groq Vision to actually see what's in the image. If the question needs current info β€” it searches the web via Tavily and answers with real data. For regular messages β€” it loads conversation history from Google Sheets and replies with full context like it remembers everything.

Telegram Trigger β†’ Parse Message β†’ Should Skip β†’ IF photo β†’ Vision β†’ Reply. Or needs search β†’ Tavily β†’ Reply. Otherwise β†’ Load History β†’ Groq LLM β†’ Save β†’ Reply.

Same workflow, different prompt β€” completely different assistant. I use it in a tech channel, a shop, and a community chat. Each one feels like a separate bot but it's all one workflow.

n8n self-hosted, Groq API, Tavily search, Google Sheets for memory, Telegram Bot API.

Took a few hours to build. Now it just runs.

I share more workflows like this in my Telegram channel n8nAutomationHub if you want to follow along.

── more in #ai-agents 4 stories Β· sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/i-built-a-universal-…] indexed:0 read:1min 2026-06-11 Β· β€”