Automate Expense Tracking with n8n, Google Sheets & Telegram

Struggling to manually track receipts and expenses? This n8n workflow automates expense data extraction from receipts sent via Telegram, adds them to Google Sheets, and sends smart SMS and Telegram confirmations to save hours and reduce errors.
telegramTrigger
httpRequest
set
+3
Workflow Identifier: 1025
NODES in Use: telegramTrigger, httpRequest, set, googleSheets, telegram, twilio
Automate expense tracking with n8n and Google Sheets

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow takes receipt images sent by the user on Telegram and turns them into organized expense entries automatically.

It solves the problem of slow, manual entry of receipts by reading data from images fast and adding it to a Google Sheets file.

The result is a saved time of hours every week and accurate expense records with quick confirmations on Telegram and SMS.


How the Workflow Works

Inputs

  • Receipt images sent by users via Telegram.

Processing Steps

  • Telegram Trigger catches receipt images and downloads them.
  • HTTP Request sends images to Mindee API which reads key data like amount and merchant.
  • Set Node extracts needed fields from Mindee’s response into clean variables.
  • Google Sheets Node adds the extracted receipt info as a new row to a spreadsheet.
  • Telegram Node sends back a message confirming the receipt was added with details.
  • Twilio Node sends an SMS alert with summary and link to the sheet.

Outputs

  • New row in Google Sheets with accurate receipt data.
  • Confirmation message sent to user on Telegram.
  • SMS notification sent to a configured phone number.

Who Should Use This Workflow

This is useful for small business owners, freelancers, or anyone who collects receipts and needs a fast way to log expense data.

The automation saves you time by removing manual entry and cuts errors that hurt reimbursements or tax filing.


Tools and Services Used


Beginner Step-by-Step: How to Use This Workflow in n8n

Import the Workflow

  1. Download the workflow file by clicking the Download button on this page.
  2. Open your n8n editor where you want to run this automation.
  3. Click on “Import from File” and select the downloaded workflow file.

Configure Credentials and IDs

  1. Add your Telegram bot credentials in the Telegram Trigger and Telegram nodes.
  2. Fill in your Mindee API Key inside the HTTP Request node headers.
  3. Update the Google Sheet ID and range inside the Google Sheets node.
  4. Add your Twilio Account SID, Auth Token, and phone numbers in the Twilio node.

Test and Activate

  1. Send a test receipt image via Telegram to your bot and watch the workflow run.
  2. Check that new rows appear in Google Sheets and that confirmation messages arrive on Telegram and via SMS.
  3. Once tested, toggle the workflow to active to run in production.

For self-host n8n users, make sure your webhook URL is accessible on the internet and all credentials are correct. See self-host n8n for helpful info.


Troubleshooting Common Problems

Telegram Trigger Does Not Download Images

Make sure the “Download Media” option is enabled on the Telegram Trigger node.

HTTP Request to Mindee Fails or Has No Data

Confirm “Send Binary Data” is enabled and the Mindee API key is correctly added to the header.

Google Sheets Rows Do Not Appear

Check the Google Sheet ID is correct and that OAuth2 credentials have permissions.

SMS Messages Not Sent

Verify Twilio credentials and phone numbers in the Twilio node are correct and active.


Customization Ideas

  • Change the SMS notification node to an Email node to notify via email instead.
  • Use a different receipt OCR API by swapping out the HTTP Request node URL and authentication.
  • Add a manual approval step after data extraction by inserting a conditional or code node.
  • Adjust category mapping in the Set node for custom expense classifications.
  • Support multiple Telegram users by sorting entries by user in Google Sheets using Telegram user fields.

Summary

✓ Saves time by automating receipt data entry.

✓ Reduces errors by extracting exact details from images.

✓ Keeps expense data organized in Google Sheets.

✓ Provides instant confirmation on Telegram and SMS.

→ Helps users keep accurate expense records for taxes and reports.

→ Works with simple setup and can run on shared or self-host n8n environments.

Automate expense tracking with n8n and Google Sheets

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Ensure the Download Media option is enabled in the Telegram Trigger node to allow receipt images to be captured.
Check that Send Binary Data is enabled and the Mindee API Key is correct in the HTTP Request node headers.
Verify the correct Google Sheet ID is used, the sheet is shared properly, and OAuth2 credentials have required permissions.
Confirm Twilio credentials and phone numbers are correct and that the Twilio account has SMS permissions active.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.