Home
Workflows
Tags
Blog
Premium
About
Home
/
Workflows
/
Extract Invoice Data from Telegram to Google Sheets with OCR & Gemini AI
Extract Invoice Data from Telegram to Google Sheets with OCR & Gemini AI
by Anir Agram
β’
Updated: Last update 6 days ago
β’
Source:
n8n.io
Loading workflow viewer...
Tags
Invoice Processing
AI Summarization
Getting Started
Free to Download
Details
Content
π‘οΈπ₯ Telegram Invoice Agent β π OCR β π€ AI Parsing β π Google Sheets + ποΈ Drive
What this workflow does
π€ Captures invoices from Telegram and auto-downloads PDFs/images.β
π Runs OCR, then uses AI to structure clean invoice fields.β
π Appends parsed data to a Google Sheets βInvoice Database.ββ
ποΈ Uploads the original file to Google Drive with a neat name.β
π¬ Sends a friendly Telegram summary with totals, due date, notes, and link.β
Why itβs useful
β‘ Faster bookkeeping with zero manual copy-paste.β
π§± Consistent schema for reliable reporting and pivots.β
π₯ Team-friendly drop-and-log via Telegram.β
π§© Easy to extend with approvals, ERP/CRM sync, or vendor routing.β
How it works
π² Telegram Trigger β file received.β
π HTTP OCR (OCR.space) β text extracted.β
π€ AI Agent β maps to strict JSON schema.β
π Google Sheets β appends structured row.β
ποΈ Google Drive β saves original invoice.β
π¬ Telegram β concise confirmation and links.β
What youβll need
π€ Telegram Bot token.β
π OCR API key (OCR.space: free tier; upgrade for volume/accuracy).β
π Google OAuth for Sheets + Drive.β
π§ LLM account (e.g., Gemini/OpenAI-compatible).β
Setup steps
π Connect credentials: Telegram, Google, OCR, AI.β
π Prepare Sheet columns: Invoice Number, Date, Total Amount ($), Billing Address, Due Date, Notes.β
π§ Update sheet ID and Drive folder ID.β
π§ͺ Test: send a sample invoice and validate OCR, AI output, row append, and Drive link.β
Customization ideas
π― Higher accuracy OCR: swap to Google Vision.β
π Line items: extract into a second tab for analytics.β
β Approvals: add Telegram keyboard confirmation before write.β
π§― Robustness: IF/Retry on empty OCR; user prompt to retake photo.β
Who itβs for
π§βπ» Freelancers/agencies needing fast invoice intake via Telegram.
π§Ύ Small finance teams wanting a searchable ledger with links to originals.β
ποΈ Builders extending to ERPs/CRMs and custom accounting flows.β
β
Want help customizing?
π§
[email protected]
π
Linkedin
Related Workflows
Extract Invoice Data from Google Drive to Sheets with Mistral OCR and Gemini
by Ysqander
Invoice Processing
AI Summarization
Extract and Save Invoice Data from Google Drive to Sheets with Dumpling AI
by Yang
Invoice Processing
AI Summarization
Extract Invoice Data from Slack PDFs to Google Sheets with GPT-4o
by Toshiki Hirao
Invoice Processing
AI Summarization