Templates / Extract Arabic text from PDFs with Mistral OCR, Telegram Bot & Google Docs

Extract Arabic text from PDFs with Mistral OCR, Telegram Bot & Google Docs

Ready for 3.0

by Abdulrahman Alhalabi · 738 views · created 2025-08-26 · Document Extraction, Multimodal AI

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 18 nodes and runs on Telegram events (message). Along the way it connects Telegram and Google Docs. It also calls api.mistral.ai over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. Check If Document Attached (If): checks a condition and branches into true / false
  2. Download Document from Telegram (Telegram): work with file
  3. Request PDF File Format (Telegram): uses Telegram
  4. Upload PDF to Mistral AI (HTTP Request): calls api.mistral.ai (POST)
  5. Status: File Received (1/5) (Telegram): uses Telegram
  6. Get Mistral Signed URL (HTTP Request): calls an HTTP API
  7. Status: Sent to Processor (2/5) (Telegram): uses Telegram
  8. Process OCR with Mistral (HTTP Request): calls api.mistral.ai (POST)
  9. Status: File Signed (3/5) (Telegram): uses Telegram
  10. Parse OCR Results by Page (Code): runs custom JavaScript code

…plus 7 more steps. See the full node list below.

Services it uses

TelegramGoogle Docs

HTTP calls to: api.mistral.ai

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

From the author

Arabic OCR Telegram Bot How it Works 1. Receive PDF Files - Users send PDF documents via Telegram to the bot 2. OCR Processing - Mistral AI's OCR service extracts Arabic text from document pages 3. Text Organization - Processes and formats extracted content…

Excerpt from Abdulrahman Alhalabi'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.