Automate Your Finances: AI-Powered Telegram Invoice Tracking to Notion
detail.loadingPreview
Effortlessly track your expenses by sending invoices via Telegram. This workflow uses AI to extract key financial data, summarize transactions, and generate insightful reports in Notion, automating your personal or business finance management.
About This Workflow
This powerful n8n workflow revolutionizes how you manage your finances by seamlessly integrating Telegram, AI, and Notion. Simply send your invoices as photos or files to a designated Telegram bot. The workflow leverages Google Gemini's AI capabilities to intelligently extract crucial financial details like item names, quantities, prices, taxes, and dates. It then categorizes your spending, provides concise AI-generated summaries of each transaction, and consolidates this data into your Notion database. Beyond tracking, the workflow automatically generates weekly spending reports with visual charts, delivered directly to your Telegram channel or private chat, offering unparalleled financial clarity and control.
Key Features
- AI-Powered Invoice Extraction: Automatically pulls key financial data (items, quantities, prices, taxes, dates) from invoices sent via Telegram using advanced AI models.
- Intelligent Categorization: Assigns spending to predefined categories (Food & Beverage, Transportation, etc.) for better financial analysis.
- Automated Summaries & Reports: Generates concise, AI-driven transaction summaries and weekly spending reports with visual charts.
- Seamless Notion Integration: Stores all extracted and summarized financial data directly into your Notion database for easy access and management.
- Telegram Notifications: Delivers financial reports and insights directly to your preferred Telegram chat.
How To Use
- Set up Telegram Bot: Create a Telegram bot using BotFather and obtain your API token.
- Configure Telegram Trigger: In n8n, set up the
Telegram Trigger | When recive photonode with your bot token. Ensure it's configured to listen formessageupdates. - Integrate Google Gemini: Obtain your Google Gemini API key and configure the
Google Gemini Chat Modelnode with your credentials. - Customize LLM Prompt: Adjust the
Basic LLM Chainnode'stextparameter to refine how the AI extracts and formats data from your invoices. Specify desired output fields and categories. - Connect to Notion: Set up your Notion integration in n8n and configure the
Get Recent Data from Notionsnode with your database ID (e.g., 'Pengeluaran Rizqi Dini'). Ensure theCreated timefilter is set appropriately (e.g., 'past_week'). - Configure Reporting Schedule: Set up the
Schedule Trigger | for send chart reportnode to define how often you want to receive spending reports (e.g., weekly). - Customize Chart Generation: In the
Convert Data to JSON chart payloadnode, review and adjust the JavaScript code to match your desired chart type, labels, and datasets based on your Notion data. - Configure Telegram Report Delivery: Set up the
Send Chart Image to Group or Private Chatnode with your Telegram bot token and the targetchatIdfor your reports. - Activate Workflow: Enable the n8n workflow to start automating your financial tracking.
Apps Used
Workflow JSON
{
"id": "f18423a8-8796-4c7a-9a56-40dc0839feb2",
"name": "Automate Your Finances: AI-Powered Telegram Invoice Tracking to Notion",
"nodes": 21,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: f18423a8-8796...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.