Block 1 - Telegram Trigger
- Type / Role
- n8n-nodes-base.telegramTrigger - telegramTrigger
- Config choices
- Version 1.1
This workflow is provided as-is. Please review and test before using in production.
This n8n workflow receives files sent in a Telegram chat, uploads them to Google Drive, extracts text using OCR (for images and PDFs), and stores the extracted content in Airtable for quick search ...
n8n-nodes-base.telegramtrigger, n8n-nodes-base.if, n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.telegram, n8n-nodes-base.googledrive, n8n-nodes-base.httprequest, n8n-nodes-base.merge
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.
Original n8n.io sourceThis n8n workflow receives files sent in a Telegram chat, uploads them to Google Drive, extracts text using OCR (for images and PDFs), and stores the extracted content in Airtable for quick search and retrieval.
Users can later search through documents using a Telegram /search command.
/search command in Telegram| Step | Action | Description |
|---|---|---|
| 1 | Telegram Trigger | Detects incoming docs/images or /search command |
| 2 | Filter File or Search | Routes based on whether message has file or search command |
| 3 | Extract Metadata | Reads file info such as name, MIME type, user |
| 4 | Download File | Downloads file via Telegram API |
| 5 | Upload to Drive | Saves file in Google Drive |
| 6 | OCR Check | Determines if file supports OCR |
| 7 | Google OCR | Runs OCR for images/PDFs |
| 8 | Extract Text | Pulls text output from OCR |
| 9 | Merge OCR Text | Combines file data + text |
| 10 | Save to Airtable | Indexes with metadata + text |
| 11 | Success Reply | Sends link + success message |
| 12 | /search Flow |
Parse search query |
| 13 | Airtable Search | Full-text search for records |
| 14 | Send Results | Sends matches to Telegram |
| 15 | Error Handler | Notifies user on failure |
/search keyword
Example:
/search invoice
✅ File saved & indexed successfully!
🔗 Drive Link: <link>
Returns structured result:
| Field | Description |
|---|---|
| File Name | Original name |
| File Link | Google Drive link |
| MIME Type | File type |
| Telegram User | Sender info |
| OCR Text | Extracted searchable text |
| Uploaded Date | Timestamp |
✅ Ready for production ✅ Handles images, PDFs, and files ✅ End-to-end automation 🛠 Optional: add more AI enrichment later
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 33 workflow blocks. Download the JSON for the full node graph.
| Workflow | Create a searchable document archive with Telegram, Drive, OCR and Airtable |
|---|---|
| Complexity | advanced |
| Nodes | 33 |
| Categories | Document Extraction, Multimodal AI |
| Author | Oneclick AI Squad |
| Published | 31 Oct 2025 |
Use the JSON export at /data/workflows/10388/10388.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This n8n workflow receives files sent in a Telegram chat, uploads them to Google Drive, extracts text using OCR (for images and PDFs), and stores the extracted content in Airtable for quick search ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, Multimodal AI use case.