Library / AI Agents & Assistants
AI Agents & Assistants
Track bank SMS expenses with Google Sheets, Telegram and Claude
When an API call/webhook arrives, it runs an AI agent with Claude using Google Sheets, Telegram.
What it does
## CashLens: Bank SMS expense tracker and Telegram finance assistant Turns your bank SMS alerts into a clean transaction ledger in Google Sheets. You can then ask a Telegram bot questions about your spending in plain language. Who it's for: anyone in India who wants automatic expense tracking from bank SMS without connecting a bank account or a paid app. ### How it works 1. An SMS forwarder app on your Android phone POSTs each bank SMS to the webhook. 2. The parser pulls out amount, debit/credit, date, merchant, payment method, account last 4 and reference ID. It also rejects OTPs and unknown senders. 3. Complete transactions go to the Expenses tab. Incomplete ones go to Review_Queue. Rejected ones get a 422 response. 4. On Telegram, an AI agent reads the sheet, calculates totals and trends, and replies in the same chat. ### Setup steps 1. Make a Google Sheet with two tabs, Expenses and Review_Queue, using the column names from the parser output. Then select the sheet in all four Google Sheets nodes. 2. Create a Header Auth credential for the webhook. Have your SMS forwarder send the same header with message, sender, event_id and sent_at in the body. 3. In Parse & Normalize Transaction, add your bank's sender IDs to allowedSenders. 4. Create a bot with @BotFather and connect it in the Telegram trigger and the reply node. 5. Connect an Anthropic credential to the chat model, then publish. ### Customization - Add more SMS formats to the parser for other banks. - Replace UNCATEGORIZED with your own category rules. - Edit the agent's system message to change its tone or rules.
The steps
- Receive Bank SMS
- Parse & Normalize Transaction
- Is Transaction Valid?
- Save to Transaction Ledger
- Confirm Transaction Saved
- Needs Manual Review?
- Save to Review Queue
- Confirm Review Queue
- Reject Invalid Transaction
- Telegram Message
- CashLens Financial Assistant
- Claude Model
- Conversation Memory
- get_transactions
17 steps in total.
Similar automations
RAG & Knowledge BasesForward Bank SMS Alerts to Telegram with Claude RAG11 stepsDocuments, PDF & OCRConvert Bank Statement PDFs to Markdown with Gemini Vision12 stepsFinance, Invoices & AccountingExtract bank statement transactions from PDFs into Google Sheets with Gemini7 stepsCalendar & SchedulingSend SMS appointment reminders and track replies with Google Calendar and SMS Vert Pro MCP18 steps