workflows.fit
Back to n8n workflows
n8n templateFreeBy AI/ML API | D1m7asis

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

![image.png](fileId:2307) 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 ...

DevelopmentCore NodesCommunicationHITLSticky NoteTelegram TriggerTelegramExtract From File
Loading interactive preview...

Template notes

![image.png](fileId:2307)

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 workflow listens for new Telegram messages, fetches the highest-resolution photo, converts it to base64, normalizes the MIME type, and calls AIMLAPI (GPT-4o Vision) via the HTTP Request node using the OpenAI-compatible messages format with an imageurl data URI. The model returns a short caption and extracted text. The answer is sent back to the same Telegram chat.

Requirements

n8n instance (self-hosted or cloud) Telegram bot token (from @BotFather) AIMLAPI account and API key (OpenAI-compatible endpoint)

How to set up