Templates / Route chat prompts to text, image, or video replies with Agnes AI and Telegram

Route chat prompts to text, image, or video replies with Agnes AI and Telegram

Ready for 3.0

by Daniele Crupi ✓ · 59 views · created 2026-08-06 · Content Creation, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs when a chat message arrives. Along the way it connects Telegram. It also calls apihub.agnes-ai.com and upload.imagekit.io over HTTP.

How it runs

Trigger: When a chat message arrives.

  1. Switch: routes items into 3 branches
  2. Agnes Text (HTTP Request): calls apihub.agnes-ai.com (POST)
  3. Agnes Image (HTTP Request): calls apihub.agnes-ai.com (POST)
  4. Agnes Video (HTTP Request): calls apihub.agnes-ai.com (POST)
  5. Respond to Chat (Chat): uses Chat
  6. Save photo to ImageKit (HTTP Request): calls upload.imagekit.io (POST)
  7. HTTP Request: calls an HTTP API
  8. If: checks a condition and branches into true / false
  9. Get video file (HTTP Request): calls an HTTP API
  10. Wait: waits 30 seconds

…plus 1 more step. See the full node list below.

Services it uses

Telegram

HTTP calls to: apihub.agnes-ai.com, upload.imagekit.io

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Quick overview This workflow receives a chat message, routes it to Agnes AI to generate either a text response, an image, or a video, uploads generated images to ImageKit, and sends completed videos to a Telegram chat. How it works 1. Receives an incoming…

Excerpt from Daniele Crupi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.