All workflows
Google Sheets logoAnthropic logo

Categorise expenses in a spreadsheet

Reads a sheet of expenses each day and files each one under your own categories, writing the results to a separate tab.

Every day2 apps3 steps

Apps it connects

Authenticate each one once and the workflow is ready to run.

What it does

Each integration step this workflow runs, in order, what it is for, and the conditions and loops that decide when it runs.

  1. 1Google SheetsRead rowsReads the rows on your 'Expenses' tab, taking the date, description and amount from each one.
  2. For each expense

    1. If description is not empty

      1. 2AnthropicGenerate model responseAsks the AI to file each expense under exactly one of your categories, or to say that none of them fit.
      2. If category is not empty and category is not “none”

        1. 3Google SheetsAppend rowAppends one row per filed expense to the 'Categorised' tab with date, description, amount, category and source row number.

How it works

What happens on each run, in plain English.

Once a day, the rows on the 'Expenses' tab of your spreadsheet are read and each one is filed under one of the categories you have listed in plain language, your own chart of accounts. The AI picks exactly one category per expense from its description and amount.

The results land on a separate 'Categorised' tab as new rows holding the date, description, amount, category and source row number, so nothing in your original records is touched and anything that looks wrong can be traced back. An expense that fits none of your categories is left out rather than forced into the nearest one, a row with no description is skipped, and a row that fails is reported while the rest of the sheet is still filed.

You need a spreadsheet with an 'Expenses' tab holding 'Date', 'Description' and 'Amount' columns, and a 'Categorised' tab for the results.

google sheetsexpensesbookkeepingcategorisationaidaily

Start from a workflow that already works.

Add "Categorise expenses in a spreadsheet" to your workspace, connect its apps, and make it yours. No credit card required.

Free plan available · No credit card required