Templates / Analyze images & extract text with GPT-4o Vision and Telegram

Analyze images & extract text with GPT-4o Vision and Telegram

Ready for 3.0

by AI/ML API | D1m7asis ✓ · 1,416 views · created 2025-09-02 · Support Chatbot, 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 workflow has 7 nodes and runs on Telegram events (message). Along the way it connects Telegram. It also calls api.aimlapi.com over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. Step 1.5 · 💬 Typing… (Telegram): send chat action
  2. Step 2 · 📷 Get Photo (Telegram): work with file
  3. Step 3 · 🧩 Extract → base (Extract from File): extracts data from a file (binary to propery)
  4. Step 3.5 · 🧑‍💻 Build Data URI (Code): runs custom JavaScript code
  5. Step 4 · 🧠 AIMLAPI Vision (HTTP) (HTTP Request): calls api.aimlapi.com (POST)
  6. Step 5 · 📤 Reply to Telegram (Telegram): uses Telegram

Services it uses

Telegram

HTTP calls to: api.aimlapi.com

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 (5)

From the author

Who’s it for Teams and makers who want a plug-and-play vision bot: users send a photo in Telegram, the bot returns a concise description plus OCR text. No custom servers required—just n8n, a Telegram bot, and an AIMLAPI key. What it does / How it works The…

Excerpt from AI/ML API | D1m7asis'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.