download dots

🧾 Route Invoices Out of the Inbox with AI

An attachment is read, classified, and sent down a different path depending on whether it is an invoice, a receipt, or something else entirely.

  • Event-triggered
  • 100+ integrations
  • Branching logic
  • Schedule + monitor
UNIT · TASKADE.FLOW4 STEPS

How this flow runs

When

New Email Attachment

Gmail

Then 1

Turn a file into text

Media

Then 2

Categorize with AI

Taskade AI

Then 3

Branch

Branch

Take the first path whose condition is true, each with its own steps. Paths are evaluated in order.

  1. 01Invoice

    Add Task

    Taskade

    Set Task Due Date

    Taskade

    Assign Task

    Taskade

  2. 02Receipt

    Add a subtask

    Taskade

  3. 03Everything else

    Add Task

    Taskade

Branch is a step you add in the builder, in the same list as an app step — there is no separate scripting surface. All automation actions

Build this flow with AI

Opens the builder with these steps already described. Free to start, no card.

What does this automation do?

An attachment is read, classified, and sent down a different path depending on whether it is an invoice, a receipt, or something else entirely.

What can you do with it?

  • Sort invoices, receipts and everything else without opening them
  • Put a payment deadline on the ones that have one
  • Keep the classification on the record for reporting later

The Steps

This automation runs in 4 steps:

  1. When Gmail — New Email Attachment
  2. Then Media — Turn a file into text
  3. Then Taskade AI — Categorize with AI
  4. Then Branch — Invoice: Add Task, Set Task Due Date, Assign Task · Receipt: Add a subtask · Everything else: Add Task

Who is this automation for?

Built for finance and bookkeeping teams. An attachment is read, classified, and sent down a different path depending on whether it is an invoice, a receipt, or something else entirely.

How do you set it up?

  • Open the "Automations" tab in your workspace.
  • Click ➕ Add automation, then start from scratch.
  • Add the trigger "New Email Attachment" from Gmail.
  • Add the action "Turn a file into text" from Media.
  • Add the action "Categorize with AI" from Taskade AI.
  • Add a Branch step: Branch — Invoice: Add Task, Set Task Due Date, Assign Task · Receipt: Add a subtask · Everything else: Add Task.
  • Enable the toggle in the top-right corner to activate the automation.

Prefer to describe it instead? Click Build this flow with AI above and Taskade wires the trigger, the steps for you.

Related from the blog