Capture expenses and receipts from Telegram and Gmail automatically

Pulls expense receipts from Telegram messages and Gmail, reads the amounts with OCR, and logs them in Google Sheets.

How the work actually flows

It branches. Exactly one path is taken.

Pattern: Exclusive Choice (4) · Simple Merge (5)

flowchart TD trig>"receipt arrives by message"]:::trig s0["Detect message type"]:::task s1["Extract receipt amount"]:::task s2[("Log expense to spreadsheet")]:::store trig --> s0 s1 --> s2 gx{"× is it a photo pdf or text"}:::gate s0 --> gx p00["OCR extracts amount"]:::task gx -->|"Photo or PDF"| p00 p10["Parse text for amount"]:::task gx -->|"Text message"| p10 jn{"○ continue to logging"}:::gate p00 --> jn p10 --> jn jn --> s1 out[/"spreadsheet with every expense logged"/]:::out pay{{"accurate expense tracking without manual entry"}}:::pay s2 --> out out --> pay classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
Starts itA stepA record or sheetOne path onlyPaths rejoinResultPayoff
Build size
Advanced

A larger build with multiple systems, AI reasoning, and custom rules.

Business functions
AI Agents & Autonomous SystemsEmail AutomationMessaging & NotificationsDocument Processing & OCRSpreadsheet & Database OpsAPI & Webhook IntegrationFinance & Accounting
Connects
TelegramGmailGoogle Sheets

The problem it solves

You get receipts scattered across text messages, forwarded emails, and photos, and someone has to manually type each one into a spreadsheet. Expense tracking falls behind and it's hard to keep an accurate picture of spending.

Who it fits

Small business owners and bookkeepers tracking day-to-day expenses.

How it works

  1. A receipt or expense message arrives by Telegram or Gmail
  2. The system detects whether it's a photo, PDF, or text expense
  3. OCR reads the receipt image and extracts the amount and purpose
  4. The expense is logged automatically in Google Sheets
Quick estimate

What it is worth to you

Your numbers, your hourly cost. We add nothing hidden.

per week
minutes
$ per hour
0Hours freed per month
0Value per year at your hourly cost

Assumes freed hours are redirected to other bookkeeping work and receipt volume stays steady.

What you get

An updated Google Sheet with every expense, amount, and purpose logged.

What you need

A Telegram bot, a Gmail account, and a Google Sheets account.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook