Extract stock trade details from broker confirmations on Telegram

This reads a photo or PDF of your broker trade confirmation on Telegram and pulls out the trade details automatically.

How the work actually flows

It branches. Exactly one path is taken; runs once per one per transaction found.

Pattern: Exclusive Choice (4) · Multiple Instances without Synchronization (12)

flowchart TD trig>"trade confirmation received"]:::trig s0["read trade document"]:::task s1[["extract transaction details"]]:::mi s2(("show transactions for review")):::human trig --> s0 s0 -->|"one per one per transaction found"| s1 s1 --> s2 gx{"× you confirm or cancel"}:::gate s2 --> gx p00["save trade record"]:::task gx -->|"you confirm"| p00 p10["discard entry"]:::task gx -->|"you cancel"| p10 p00 --> out p10 --> out out[/"confirmed trades logged"/]:::out pay{{"accurate trade records without manual entry"}}:::pay 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 stepRuns once per itemA personOne path onlyResultPayoff
Build size
Standard

A mid-size build with several tools working together.

Business functions
Messaging & NotificationsImage & Media ProcessingFinance & Accounting
Connects
TelegramGoogle Gemini

The problem it solves

After every trade, you get a confirmation document from your broker, and typing all those details like ticker, quantity, and price into a tracking sheet by hand is tedious and error-prone. It's easy to lose track of trades when you're moving fast.

Who it fits

An individual investor or trading team who wants trades logged without manual data entry.

How it works

  1. You send a photo or PDF of your trade confirmation to a Telegram bot
  2. AI reads the document and pulls out ticker, quantity, price, fees, and date
  3. All the transactions found are shown back to you in one message
  4. You confirm or cancel before anything is saved
What you get

Trades logged exactly as your broker confirmed them

Send a photo of your trade confirmation to Telegram and see the ticker, quantity, price, and fees pulled out for you to confirm.

What you get

A confirmed, structured record of your stock trades, ready to send anywhere you track them.

What you need

A Telegram account and an AI API key.

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