# Summarize invoices with AWS Textract and Gemini: n8n workflow

> Started by someone submitting a form, and works across S3 and Slack. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/summarize-invoices-with-aws-textract-and-gemini (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Money admin](https://millionrounds.com/workflows?category=Money+admin#library)

# Summarize invoices with AWS Textract and Gemini

Started by someone submitting a form, and works across S3 and Slack. It hands the judgement calls to Gemini. 5 steps: small enough to read in one sitting and change without fear.

Small Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsummarize-invoices-with-aws-textract-and-gemini)

**5 steps** Small: readable in one sitting

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 1 Service 3

The steps in the order they run, from what starts it.

- 1 **On form submission** Form trigger *Starts it*
- 2 **Upload a file** Aws S3 *Service*
- 3 **AWS Textract** Aws Textract *Service*
- 4 **Message a model** Google Gemini *Model*
- 5 **Send a message** Slack *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 5
- **Size:** Small: readable in one sitting
- **Connects to:** S3, Slack
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own S3 and Slack accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Not long. At 5 steps it can be read in one sitting and changed without fear.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 5 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsummarize-invoices-with-aws-textract-and-gemini)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[S3](https://millionrounds.com/workflows?service=S3#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also money admin, with the same services where possible, closest in size first.

- [**AI proposal generator with OpenAI and Notion** 5 steps · calls a model · Gmail, Notion](https://millionrounds.com/workflow/ai-proposal-generator-with-openai-and-notion)
- [**Create an invoice in Google Sheets based on Typeform submission** 5 steps · Email, Google Sheets](https://millionrounds.com/workflow/create-an-invoice-in-google-sheets-based-on-typeform-submiss)
- [**Verify French suppliers before payment with Google Sheets** 5 steps · Google Sheets, Slack](https://millionrounds.com/workflow/verify-french-suppliers-before-payment-with-google-sheets)
- [**Automate payment tracking with Google Sheets and ClickUp** 6 steps · ClickUp, Gmail](https://millionrounds.com/workflow/automate-payment-tracking-with-google-sheets-and-clickup)
- [**Automate quote request processing with Tally and Airtable** 6 steps · Airtable, Gmail](https://millionrounds.com/workflow/automate-quote-request-processing-with-tally-and-airtable)
- [**Automate real-time QuickBooks invoice alerts in Slack** 4 steps · Slack](https://millionrounds.com/workflow/automate-real-time-quickbooks-invoice-alerts-in-slack)
