Telegram expense tracker with n8n
An n8n workflow can turn Telegram messages into an expense log. The free template saves each expense to an n8n Data Table and replies with a monthly report by category, an undo command and help. The PRO version adds budgets, credit card statement cycles, due-date reminders and a monthly CSV export.
Track Telegram expenses with Data Tables and monthly reports
Log expenses by sending Telegram messages, keep them in an n8n Data Table, and get monthly reports by category, an undo command and a help menu in Telegram.
- Parses the message to detect a command (/report, /undo, /help) or extract an expense amount, category (from keywords or a #tag), note, and month.
- When an expense is detected, saves a normalized row to the n8n Data Table named
expensesand sends a formatted confirmation back in Telegram. - When
/reportis sent (optionally withYYYY-MM), fetches that month’s rows for the sender’s chat ID from theexpensesData Table, aggregates totals by category, and sends a monthly summary back in Telegram. - When
/undois sent, retrieves the most recent expense row for the sender’s chat ID, deletes it from theexpensesData Table, and posts the undo result in Telegram. - When
/helpis sent or no amount is found, sends usage examples and available commands back in Telegram.
Free
Track expenses, budgets and card cycles with Telegram and Data Tables
Log expenses by sending Telegram messages or receipt photos, keep them in an n8n Data Table, and get budget status, credit card statement totals, due-date reminders and monthly CSV exports in Telegram.
- Triggers when a new Telegram message arrives or every morning at 08:00 on a schedule.
- Parses the Telegram text or photo caption to detect amount, note, category, month, optional card tag (for payment method), and optional receipt photo file ID.
- If the message is an expense entry, saves it to the n8n Data Table and replies in Telegram with a confirmation plus current-month category budget progress and the relevant card statement total/close/due dates (if a card is used).
- If the message is a command, reads the sender’s expenses from the Data Table and returns either a month-by-category report with month-over-month comparison, a budget overview, or credit-card cycle/statement/due-date details in Telegram.
- If the command is /export, formats the selected month’s expenses as a CSV file and sends the CSV document to the Telegram chat.
$19.00