This automation template enables users to automatically process receipts—text-based or image uploads—via Telegram. The system uses OCR and a LangChain-powered AI agent (Mistral Cloud) to extract and structure purchase data, then sends a summary back to the user and stores the information in Google Sheets and Google Drive. Ideal for individuals and teams who want to track expenses directly from a chat interface.
## Who it´s for
- Freelancers tracking personal or business expenses via Telegram
- Small businesses collecting employee receipts for reporting
- Personal finance managers monitoring spending through receipts
- Remote teams centralizing travel or operational expense reporting
## What the automation does
- Receives messages in Telegram: text receipts or images
- Detects content type and applies OCR (Tesseract.js or external API) to extract text from images
- Sends extracted data to a LangChain AI agent powered by Mistral Cloud for parsing (store, amount, date)
- Returns a structured summary to the user in Telegram
- Logs structured expense data into Google Sheets for analytics
- Saves the original receipt file to a designated Google Drive folder
## What´s included
- Ready-to-use n8n workflow
- Trigger logic for new Telegram messages
- Integrations with Telegram, Google Sheets, Google Drive, and Mistral Cloud API
- Basic written guide for setup and adaptation
## Requirements for setup
- Active n8n instance with workflow editing access
- Telegram bot token
- Google account with enabled Google Sheets and Google Drive APIs
- Mistral Cloud API key
- Access to Tesseract.js if using local OCR
## Benefits and outcomes
- Saves time on manual receipt data entry
- Centralized expense logging in Google Sheets
- AI-powered categorization of spending
- Streamlined reporting for accounting or self-tracking
- Scalable across multiple users or team members
- Reliable receipt archiving in Google Drive
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via Telegram: @gleb923.
receipt processing
OCR receipt scanning
Telegram bot for receipts
receipt data extraction
expense tracking automation
structured expense data
save receipts to Google Sheets
store receipts in Google Drive
AI receipt parsing
LangChain AI agent
Mistral Cloud API
Tesseract OCR
Google Sheets integration
Google Drive API
automated expense reporting
image to text receipt
freelancer expense tracker
n8n workflow automation
No feedback yet