AI Agent to Categorize the expense in n8n When a receipt is uploaded to your drive and Post It to Slack

An n8n workflow that fires when a receipt is uploaded to your drive, then an AI agent reads it and assigns the right accounting category — giving you expenses categorized the moment they land. No code: import the JSON, connect your apps, and it runs 24/7.

difficulty Beginnersetup 45 minresult Expenses categorized the moment they land
  1. 1

    Trigger when a receipt is uploaded to your drive

    A Google Drive Trigger starts the workflow the moment a receipt is uploaded to your drive.

  2. 2

    Hand it to the AI agent

    An AI Agent node running Claude reads it and assigns the right accounting category. The prompt is pre-written and scoped to this one job so results stay consistent.

  3. 3

    Deliver the category

    The result is sent to Slack — ready for a human to approve.

  4. 4

    Add a safety net (optional)

    Insert an IF/human-approval step before anything is published or emailed, so you stay in control until you trust the output.

Frequently asked questions

How much does the AI part cost to run?

Pennies. Each run sends a small amount of text to the model, so most teams spend a few dollars a month even at hundreds of runs. You set the model and can cap volume in n8n, so costs never surprise you.

Can I trust the AI to get the category right?

The prompt is tightly scoped to one job and you can add a human-approval step in n8n before anything is sent or published. Start with review-mode for a week, and once you trust the output, switch it to fully automatic.

Does this need n8n Cloud or can I self-host?

Either works. The workflow is a standard n8n export, so you can run it on n8n Cloud or on your own self-hosted instance — you only connect your own app credentials.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.