Expense Logging with Telegram to Google Sheets using AI Voice & Text Parsing
Use Cases -Personal or family budget tracking.
-Small business expense logging via Telegram
-Hands-free logging (using voice messages)
How it works:
-Trigger receives text or voice.
-Optional branch transcribes audio to text.
-AI parses into a structured array (SOP enforces schema).
-Split Out produces 1 item per expense.
-Loop Over Items appends rows sequentially with a Wait, preventing missed writes.
-In parallel, Item Lists (Aggregate) builds a single summary string; Merge (Wait for Both) releases one final Telegram confirmation.
Setup Instructions
Connect credentials: Telegram, Google, OpenAI. Sheets: Create a sheet with headers Date, Category, Merchant, Amount, Note. Copy Spreadsheet ID + sheet name. Map columns in Append to Google Sheet. Pick models: set Chat model (e.g., gpt-4o-mini) and Whisper for transcription if using audio. Wait time: keep 500β1000 ms to avoid API race conditions. Run: Send a Telegram message like: Gas 34.67, Groceries 82.45, Coffee 6.25, Lunch 14.90.
Customization ideas:
-Add categories map (Memory/Set) for consistent labeling.
-Add currency detection/formatting.
-Add error-to-Telegram path for invalid schema.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
π€ Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments