<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Павло Вересюк</title>
    <description>The latest articles on DEV Community by Павло Вересюк (@samsing1989).</description>
    <link>https://dev.to/samsing1989</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3980204%2F383f4be0-05fa-43ab-b5f2-28f2d0c78073.jpeg</url>
      <title>DEV Community: Павло Вересюк</title>
      <link>https://dev.to/samsing1989</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samsing1989"/>
    <language>en</language>
    <item>
      <title>I built a universal Telegram AI assistant with n8n</title>
      <dc:creator>Павло Вересюк</dc:creator>
      <pubDate>Thu, 11 Jun 2026 22:10:37 +0000</pubDate>
      <link>https://dev.to/samsing1989/i-built-a-universal-telegram-ai-assistant-with-n8n-gh8</link>
      <guid>https://dev.to/samsing1989/i-built-a-universal-telegram-ai-assistant-with-n8n-gh8</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;The cool thing is it works in any Telegram chat. You just change the system prompt and it adapts completely.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  The flow
&lt;/h2&gt;

&lt;p&gt;Telegram Trigger → Parse Message → Should Skip → IF photo → Vision → Reply. Or needs search → Tavily → Reply. Otherwise → Load History → Groq LLM → Save → Reply.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it's flexible
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;p&gt;n8n self-hosted, Groq API, Tavily search, Google Sheets for memory, Telegram Bot API.&lt;/p&gt;

&lt;p&gt;Took a few hours to build. Now it just runs.&lt;/p&gt;

&lt;p&gt;I share more workflows like this in my Telegram channel &lt;a href="https://t.me/n8nAutomationHub" rel="noopener noreferrer"&gt;n8nAutomationHub&lt;/a&gt; if you want to follow along.&lt;/p&gt;

</description>
      <category>n8n</category>
      <category>automation</category>
      <category>telegram</category>
      <category>nocode</category>
    </item>
  </channel>
</rss>
