πŸ”¬ Automated expense tracking with Telegram, easybits & Google Sheets

⚑ 139 views Β· πŸ”¬ Document Extraction & Analysis

Description

How it works

I wanted to avoid the rush at end of month to log expenses. I tried existing expense apps but found them either too expensive for what they offer, or frustrating with inconsistent extraction results. That is why I built my own Telegram expense bot that:

The whole extraction process takes about 10 seconds and is fully GDPR compliant. No coding. No manual typing. Just snap and send.

Step-by-step guide

Initial Setup

  1. Import the JSON workflow
  2. Sign up and log in to easybits at https://extractor.easybits.tech
  3. Create a pipeline by uploading an example receipt and mapping the fields you want to extract:
    β€” vendor_name β€” total_amount β€” currency β€” transaction_date β€” category β€” extraction_confidence
    For more details, visit our Quick Start Guide

Get Your easybits Credentials

  1. Once you have finalized your pipeline, go back to your dashboard and click Pipelines in the left sidebar
  2. Click View Pipeline on the pipeline you want to connect
  3. On the Pipeline Details page, you will find:
    β€” API URL: https://extractor.easybits.tech/api/pipelines/[YOUR_PIPELINE_ID] β€” API Key: Your unique authentication token
  4. Copy both values and integrate them into the β€œExtract with easybits” HTTP Request node

To keep in mind: Each pipeline has its own API Key and Pipeline ID. If you have multiple pipelines (for example, one for receipts and one for invoices), you will need separate credentials for each.

Important: To integrate your API Key, make sure to set it up in the following format: > Bearer [YOUR_API_KEY]

Set Up Telegram Bot

  1. Open Telegram and search for @BotFather
  2. Send /newbot and follow the prompts
  3. Copy your Bot Token and add it to the Telegram credentials in n8n

Connect Google Sheets

  1. Create a new spreadsheet for expenses
  2. Copy the Spreadsheet ID from the URL
  3. Update the Google Sheets nodes with your Spreadsheet ID

Go Live

Activate the workflow and send your first receipt photo to your Telegram bot

πŸ”— Nodes Used

HTTP Request, Webhook, Telegram

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup