AutomationMart
Home/Browse/Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition
n8n

Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition

n8nn8n40 modulesv1.0
OpenAITelegram

Personal Expense Tracker Bot πŸ’° AI-powered Telegram bot for effortless expense tracking. Send receipts, voice messages, or text - the bot automatically extracts and categorizes your expenses. ✨ Key Features - πŸ“Έ Receipt & Invoice OCR - Send photos of receipts or PDF invoices, AI extracts expense data automatically - 🎀 Voice Messages - Speak your expenses naturally, audio is transcribed and processed - πŸ’¬ Natural Language - Just type "spent 50 on groceries" or any text format -

At a glance

Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition is a ready-made n8n workflow you import as a workflow JSON file β€” no build required. It connects OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, Telegram
Modules
40
Price
Free
Version
v1.0
Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition workflow diagram

About this workflow

Personal Expense Tracker Bot πŸ’° AI-powered Telegram bot for effortless expense tracking. Send receipts, voice messages, or text - the bot automatically extracts and categorizes your expenses. ✨ Key Features - πŸ“Έ Receipt & Invoice OCR - Send photos of receipts or PDF invoices, AI extracts expense data automatically - 🎀 Voice Messages - Speak your expenses naturally, audio is transcribed and processed - πŸ’¬ Natural Language - Just type "spent 50 on groceries" or any text format - 🌍 Multilingual - Processes documents in any language (EN, DE, PT, etc.) - πŸ“Š Smart Statistics - Get monthly totals, category breakdowns, multi-month comparisons - πŸ”’ Private & Secure - Single-user authorization, only you can access your data - ⚑ Zero Confirmation - Expenses are added instantly, no annoying "confirm?" prompts 🎯 How It Works 1. Send expense data via Telegram: - Photo of receipt - PDF invoice - Voice message - Text message 2. AI processes automatically: - Extracts amount, date, vendor - Categorizes expense - Stores in organized format 3. Query your expenses: - "Show my expenses for November" - "How much did I spend on groceries?" - "Compare last 3 months" πŸ“‹ Expense Categories Groceries, Transportation, Housing, Utilities, Healthcare, Entertainment, Dining Out, Clothing, Education, Subscriptions, Personal Care, Gifts, Travel, Sports, Other πŸ”§ Setup Requirements 1. Telegram Bot Create a Telegram bot via @BotFather and get your API token. Configure credentials for nodes: - Input, WelcomeMessage, - GetAudioFile, GetAttachedFile, GetAttachedPhoto - ReplyText, NotAuthorizedMessage, DeleteProcessing 2. OpenRouter API Get API key from OpenRouter for AI processing. Configure credentials for: - Gpt4o (main processing) - Sonnet45 (expense assistant) 3. Ainoflow API Get API key from Ainoflow for storage and OCR. Configure Bearer credentials for: - GetConfig, SaveConfig - ExtractFileText, ExtractImageText - TranscribeRecording - JsonStorageMcp (MCP tool) πŸ—οΈ Workflow Architecture | Section | Description | |---------|-------------| | Message Trigger | Receives all Telegram messages | | Bot Privacy | Locks bot to first user, rejects unauthorized access | | Chat Message / Audio | Routes text and voice messages to AI | | Document / Photo | Extracts text from files via OCR and forwards to AI | | Root Agent | Routes messages to Expense Assistant, validates responses | | Expense Assistant | Core logic: stores expenses, calculates statistics | | Result / Reply | Sends formatted response back to Telegram | | Cleanup / Reset | Manual trigger to delete all data (⚠️ use with caution) | πŸ’¬ Usage Examples Adding Expenses Querying Expenses πŸ“¦ Data Storage Expenses are stored in JSON format organized by month (YYYY-MM): ⚠️ Important Notes - First user locks the bot - Run /start to claim ownership - Default currency is EUR - AI auto-detects other currencies - Cleanup deletes ALL data - Use manual trigger with caution - No confirmation for adding - Only delete operations ask for confirmation πŸ› οΈ Customization - Change default currency in agent prompts - Add/modify expense categories in ExpenseAssistant - Extend Root Agent with additional assistants - Adjust AI models (swap GPT-4o/Sonnet as needed) πŸ“š Related Resources - Create Telegram Bot - OpenRouter Credentials - Ainoflow Platform πŸ’Ό Need Customization? Want to adapt this template for your specific needs? Custom integrations, additional features, or enterprise deployment? Contact us at Ainova Systems - We build AI automation solutions for businesses. --- Tags: telegram, expense-tracker, ai-agent, ocr, voice-to-text, openrouter, mcp-tools, personal-finance

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create photorealistic social media images with Flux Realism, LoRa models & Airtable

AI Image Generation Workflow for Social Media Content Overview This n8n workflow automates the creation of photorealistic AI-generated images for social media content. The workflow uses RunComfy (ComfyUI cloud service) combined with Airtable for data management to create high-quality images based on custom prompts and LoRa models. Key Features Automated Image Generation: Creates photorealistic images using Flux Realism model and custom LoRa models Airtable Integration: Centrally manages content

Free

Automate candidate creation in Recrutei with GPT-4 vacancy matching & resume parsing

Overview: Automated Candidate Creation with AI Vacancy Matching This workflow automates the creation of new candidates in the Recrutei ATS directly from an n8n Form submission, ensuring a seamless "Apply Now" funnel. Its core feature is an AI Agent (OpenAI + Tool) that dynamically identifies the correct Recrutei vacancyid based on the applicant's selection in the form. The workflow also automatically extracts the text content from the candidate's PDF curriculum and uploads it as an i

Free

AI chatbot call center: Telegram call in (production-ready, part 1a)

Workflow Name: πŸ€™ Telegram Call In Template was created in n8n v1.90.2 Skill Level: High Categories: n8n, Chatbot Stacks - Chat Trigger node - Telegram Trigger node - Redis node - Postgres node - Execute Sub-workflow - If node, Code node, Edit Fields (Set), Extract From File Prerequisite - Community nodes: n8n-nodes-google-speech - Sub-workflow: Demo Call Back - Sub-workflow: Demo Call Center Production Features - Scaling Design for n8n Queue mode in production environment - Optional Member Data

Free

Supply Chain Price Optimization (Grocery)

we are using BrowseAct to collect data, which is then parsed from JSON format and processed by an iterator. After the initial data is saved to a database, it is sent to an AI for comparison. The AI's response is also parsed and processed by a second iterator. The final results are saved and then sent as a text message using a Telegram Bot.

Free

Create and manage Notion pages with data from Inoreader and ChatGPT

Automatically create and manage Notion pages using data from Inoreader articles and ChatGPT insights, streamlining your content organization process.

Free

Transform press releases (PDF & Word) into polished articles with Gmail & OpenAI

This n8n workflow automates the transformation of press releases into polished articles. It converts the content of an email and its attachments (PDF or Word documents) into an AI-written article/blog post. What does it do? This workflow assists editors and journalists in managing incoming press-releases from governments, companies, NGOs, or individuals. The result is a draft article that can easily be reviewed by the editor, who receives it in a reply email containing both the original input a

Free

Convert documents to Markdown with MinerU API and GPT-4o-mini

How it works - This workflow automates the conversion of various document formats (such as PDF, Word, and PPT) into Markdown. It connects to the MinerU API service, which leverages OCR, formula, and table recognition to produce high-quality output. Users can initiate the process by simply uploading a document through an n8n chat interface. Set up steps - Ensure you have a local n8n instance running. - Set up and run the MinerU MCP (MinerU Computing Platform) server locally. - Import this workflo

Free

Generate summaries from uploaded files using OpenAI Assistants API

Generate Summaries from Uploaded Files using OpenAI Assistants API πŸ“‘ Overview Upload a document (PDF, DOCX, PPTX, TXT, CSV, JSON, or Markdown) and receive an AI-generated summary containing: title – 5-10 words summary – 1-2 sentences bullets – 3-5 key points tags – 3-6 short keywords The workflow: 1. Stores the file in OpenAI. 2. Runs an Assistant with File Search and Code Interpreter enabled. 3. Polls until the run finishes. 4. Retrieves the summary JSON. --- βœ… Prerequisites OpenAI

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint β€” instant download
  • Setup guide PDF included
  • 5 downloads Β· valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free