Use this advanced n8n workflow to track expenses instantly via Telegram (voice or text). It leverages AI agents and Google Sheets for smart financial management and analysis.
Download this n8n workflow template and start using it instantly.
Financial professionals needing immediate, hands-free expense logging.
Users looking for easy expense tracking via a mobile app.
Developers building custom conversational bots using the n8n node system.
Anyone interested in complex n8n templates integrating voice transcription, AI agents, and spreadsheets.
Managing finances requires speed and accuracy. This sophisticated n8n workflow solves the problem of manual expense entry by turning Telegram into a smart financial assistant. Whether you speak your expenses using a voice note or type them, the robust n8n automation handles the rest. It uses AssemblyAI to transcribe voice notes, then passes the context to an advanced AI Agent powered by a large language model. This n8n agent determines if the message is a new transaction to be logged in Google Sheets or a query about past spending. This specific n8n workflow demonstrates powerful conditional logic, external API calls, and the utility of the Langchain Agent n8n node, making it one of the most useful n8n templates for personal finance. The flow even includes mechanisms to track API costs and provide responses back to the user via generated voice or text through the Telegram n8n node.
Route by Message Type Switch n8n node to separate voice messages from text inputs.Read Transaction History Google Sheets n8n node to fetch recent transaction data, which provides essential context to the subsequent AI agent.AI Expense Analyzer agent (Langchain Agent n8n node) receives the text input (either direct or transcribed) along with transaction context. This powerful n8n agent utilizes the GPT-4.1 Mini Model and Conversation Memory to understand user intent (logging vs. querying).Append Transaction to Sheet n8n node for logging expenses or the Read Sheet for Queries n8n node to answer questions about the ledger.Track API Costs n8n node) and logs the expense data in a separate sheet (Log Cost to Sheet).To successfully deploy this powerful n8n workflow, follow these steps:
Telegram Input n8n trigger and the various Telegram output n8n nodes. You will need a Telegram Bot token and must set up the webhook URL pointing to your n8n instance.GPT-4.1 Mini Model n8n node (API Key).Generate Voice Response), ensure the associated HTTP Request n8n node is configured with the correct endpoint and authorization. Telegram Input (n8n trigger): The starting point of the n8n workflow, which monitors for incoming messages.
Route by Message Type (Switch n8n node): Determines the next step based on the message type (voice or text).
🎙️ Download Voice File (Telegram n8n node): Downloads the actual audio file from Telegram, preparing it for external API processing.
Upload to AssemblyAI / Start Transcription (HTTP Request n8n node): Handles the API calls necessary to upload and initiate the voice-to-text transcription service.
AI Expense Analyzer (Langchain Agent n8n node): The core intelligence, orchestrating the entire process. This specific n8n node uses the LLM and the defined tools to execute complex financial logic.
GPT-4.1 Mini Model (Langchain ChatOpenAi n8n node): Provides the language understanding and generation capabilities for the AI Agent.
Append Transaction to Sheet (Google Sheets Tool n8n node): A dedicated tool available to the AI agent, allowing it to correctly structure and log new transactions into the Google Sheet.
Read Sheet for Queries (Google Sheets Tool n8n node): Allows the AI agent to access the transaction history to answer user queries about spending patterns or balances.
Generate Voice Response (HTTP Request n8n node): Converts the final text response from the AI into an audio file for a more conversational reply.
Send Text/Voice to Telegram (Telegram n8n node): The final action of the n8n workflow, delivering the AI's answer back to the user.
Use this n8n workflow to scrape sales data, analyze rep performance using an AI agent (OpenAI, Bright Data), and automatically save detailed metrics to Google Sheets. Find more powerful n8n templates here.

Use this robust n8n workflow to automatically track public holidays for distributed teams using the Nager.Date API. This powerful n8n template identifies shared holidays and sends real-time alerts to Slack while maintaining a master schedule in Notion.

Automate your Todoist weekly review using this powerful n8n workflow. It fetches completed tasks, allows project filtering via a custom n8n node, and sends a beautifully formatted email report.

Use this essential n8n workflow to accurately track AI Agent token usage (prompt and completion tokens) across various models and log cost estimates in Google Sheets. This n8n templates solution is crucial for cost management.

Use this advanced n8n workflow to capture execution metrics, token usage, and performance data from your AI applications and send them automatically to LangFuse for deep observability. A powerful addition to your n8n templates collection.

I help customers experience 10x faster ROI through AI Automation. AI Generalist | Pursuing Generative AI & ML(IIT-G) | Google Certified Prompt Engineer | Ex-VP | Ex-Microsoft | ISB Certified CTO & AI Leader | Azure & AI Strategist | 5X Azure | n8n level2 | Wellness Advocate & Cult Ninja







































