Extract text from images with Telegram Bot & OCR Tesseractjs
UnknownWhat this workflow does
This AI workflow has 8 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Gemini Chat Model and Tesseractjs (community).
How it runs
Trigger: On Telegram events (message).
- Clean Input Data (Edit Fields (Set)): sets 2 fields: chatID, Image
- get file (Telegram): work with file
- Tesseract OCR (Tesseract Node): uses Tesseract Node
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
- Replace (Code): runs custom JavaScript code
- Telegram: uses Telegram
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-tesseractjs is verified or supports 3.0 (used in Tesseract OCR).
Nodes used (7)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Tesseract Node
n8n-nodes-tesseractjs.tesseractNode
From the author
Description This n8n workflow enables users to send an image to a Telegram bot and receive the extracted text using Tesseract OCR (via the n8n-nodes-tesseractjs Community Node). It's a quick and straightforward way to convert images into readable text…