Extract text from images with Telegram Bot & OCR Tesseractjs
Workflow preview
DISCOUNT 20%
Important notice
This workflow is provided as-is. Please review and test before using in production.
Overview
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 directly through chat.
How it Works
The workflow listens for new image messages coming in via the Telegram bot.
Once an image is received, it downloads the image file from Telegram (which initially arrives as application/octet-stream).
The image data, now properly identified, is then sent to the Tesseract OCR node to extract the text.
Finally, the recognized text is sent back as a reply to the Telegram user.
Setup Steps
Install Community Node: Ensure you have installed n8n-nodes-tesseractjs in your n8n instance.
Connect Telegram Bot: Configure the Telegram Trigger node with your Telegram bot.
Bot Token: Add your Telegram bot token to the Send Message node to send replies.
Deploy & Test: Activate (deploy) the workflow and send an image to your Telegram bot to test.