Sort invoice emails and forward them to your accounting software

Reads your email attachments with AI, spots invoices and receipts, and forwards them straight to freee.

How the work actually flows

It branches. Exactly one path is taken; runs once per each email attachment.

Pattern: Exclusive Choice (4) · Multiple Instances with a priori Design-Time Knowledge (13)

flowchart TD trig(["inbox checked every minute"]):::trigtime s0["scan new emails for attachments"]:::task s1[["read attachment text"]]:::mi s2["classify document type"]:::task trig --> s0 s0 -->|"one per each email attachment"| s1 s1 --> s2 gx{"× invoice, receipt, or other"}:::gate s2 --> gx p00["forward to accounting inbox"]:::task gx -->|"invoice or receipt"| p00 p10["leave unprocessed"]:::task gx -->|"other document"| p10 p00 --> out p10 --> out out[/"invoices filed without manual sorting"/]:::out pay{{"fewer missed or late invoices"}}:::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 itemOne path onlyResultPayoff
Build size
Standard

A mid-size build with several tools working together.

Business functions
Email AutomationDocument Processing & OCRImage & Media ProcessingFinance & Accounting
Connects
GmailGoogle Geminifreee

The problem it solves

Invoices and receipts land in your inbox mixed in with everything else, and someone has to notice them, decide what they are, and manually forward them to your bookkeeping system. Miss one and it can mean a late payment or a gap in your books.

Who it fits

Small business owners or bookkeepers who receive invoices and receipts by email and use freee for accounting.

How it works

  1. The system checks your Gmail inbox every minute for new emails with attachments
  2. It reads the text of each attachment with Google Gemini
  3. AI decides whether the document is an invoice or a receipt
  4. Matching documents are automatically forwarded to your freee File Box
What you get

Invoices that arrive already sorted for you

Invoices and receipts in your inbox get identified and sent straight to your freee File Box automatically.

What you get

Invoices and receipts automatically filed into your freee accounting inbox, without manual sorting.

What you need

A Google Workspace or Gmail account and a Google Gemini API key, plus a freee accounting 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