Skip to main content

Summarize invoices with AWS Textract, Google Gemini, and send to Slack

Workflow preview

Workflow preview
100%
Summarize invoices with AWS Textract, Google Gemini, and send to Slack preview
Open on n8n.io

1. Workflow Overview

Who’s it for This workflow is built for finance teams, operations managers, founders, and businesses that process invoices regularly and want to eliminate manual document handling. It’s especially ...

Best for

  • Invoice Processing automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.awss3, n8n-nodes-base.awstextract, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.slack, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Pixcels Themes.

Original n8n.io source

1.1 Workflow description

Title
Summarize invoices with AWS Textract, Google Gemini, and send to Slack
Workflow name
Summarize invoices with AWS Textract, Google Gemini, and send to Slack

Who’s it for

This workflow is built for finance teams, operations managers, founders, and businesses that process invoices regularly and want to eliminate manual document handling. It’s especially useful for teams that need quick, structured invoice insights delivered directly to their communication tools.


What it does / How it works

This workflow automates the entire invoice-processing pipeline from upload to notification.

  1. A user uploads an invoice file through an n8n form trigger.
  2. The uploaded file is securely stored in AWS S3.
  3. AWS Textract analyzes the invoice and extracts text and structured data such as vendor name, totals, and line items.
  4. The extracted data is sent to AI Agent, which summarizes the invoice and highlights key financial details.
  5. The AI-generated summary is sent as a direct message to a selected user in Slack.

All steps run automatically after the form submission.


Requirements

  • AWS credentials with access to:
  • Amazon S3
  • AWS Textract
  • Google Gemini (PaLM) API credentials
  • Slack API credentials
  • An existing S3 bucket to store uploaded invoice files

How to set up

  1. Connect your AWS credentials in n8n with permissions for S3 and Textract.
  2. Specify the S3 bucket name where invoice files should be uploaded.
  3. Add and authenticate your Google Gemini API credentials.
  4. Connect your Slack account and choose the user or channel for notifications.
  5. Test the workflow by submitting an invoice through the n8n form.

How to customize the workflow

  • Update the Gemini prompt to extract specific fields such as tax, due date, or invoice number.
  • Route invoices differently based on total amount or vendor.
  • Send Slack messages to a channel instead of a direct message.
  • Store extracted invoice data in a database or spreadsheet.
  • Add approval or alert steps for high-value invoices.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.4

Block 2 - Upload a file

Type / Role
n8n-nodes-base.awsS3 - awsS3
Config choices
Version 2

Block 3 - AWS Textract

Type / Role
n8n-nodes-base.awsTextract - awsTextract
Config choices
Version 1

Block 4 - Message a model

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 5 - Send a message

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Summarize invoices with AWS Textract, Google Gemini, and send to Slack
Complexity intermediate
Nodes 8
Categories Invoice Processing, AI Summarization
Author Pixcels Themes
Published 02 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13803/13803.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Summarize invoices with AWS Textract, Google Gemini, and send to Slack do?

Who’s it for This workflow is built for finance teams, operations managers, founders, and businesses that process invoices regularly and want to eliminate manual document handling. It’s especially ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Invoice Processing, AI Summarization use case.