Skip to main content

Automate WhatsApp invoice processing with OCR, GPT-4 Mini & Google Services

Workflow preview

Workflow preview
100%
Automate WhatsApp invoice processing with OCR, GPT-4 Mini & Google Services preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description How it works This powerful workflow helps businesses and freelancers automatically manage invoices received on WhatsApp. It detects new messages, downloads attached invoices, extracts k...

Best for

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

Tools used

n8n-nodes-base.whatsapptrigger, n8n-nodes-base.httprequest, n8n-nodes-base.googledrive, n8n-nodes-base.googlesheets, n8n-nodes-base.whatsapp, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate WhatsApp invoice processing with OCR, GPT-4 Mini & Google Services
Workflow name
Automate WhatsApp invoice processing with OCR, GPT-4 Mini & Google Services

Description

How it works

This powerful workflow helps businesses and freelancers automatically manage invoices received on WhatsApp.
It detects new messages, downloads attached invoices, extracts key data using OCR (Optical Character Recognition), summarizes the details with AI, updates Google Sheets for record-keeping, saves files to Google Drive, and instantly replies with a clean summary message all without manual effort.

Perfect for small businesses, agencies, accountants, and freelancers who regularly receive invoices via WhatsApp.
Say goodbye to manual data entry and hello to effortless automation.


Set up steps

Setup takes around 10–15 minutes:

  1. Connect your WhatsApp Cloud API to trigger incoming messages.
  2. Add your OCR.Space API key to extract invoice text.
  3. Link your Google Sheets and Google Drive accounts for data logging and storage.
  4. Enter your OpenAI API key for AI-based summarization.
  5. Import the template, test once, and you’re ready to automate your invoice workflow.

Why use this workflow
  • Save hours of manual data entry
  • Keep all invoices safely stored and organized in Drive
  • Get instant summaries directly in WhatsApp
  • Improve efficiency for client billing, and expense tracking.

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 - WhatsApp Trigger

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

Block 2 - Analyze Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Download File

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

Block 4 - Add Invoice To Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 5 - Update DataBase

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 6 - Reply

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

Block 7 - Original Invoice Retrieval

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

Block 8 - Invoice Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 9 - Parse Text

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

Block 10 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 11 - Sticky Note3

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

Block 12 - Sticky Note4

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

Block 13 - Sticky Note5

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

Block 14 - Sticky Note6

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

Block 15 - Sticky Note7

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

Block 16 - Get Download URL

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

Block 17 - Sticky Note

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

3. Summary Table

Workflow Automate WhatsApp invoice processing with OCR, GPT-4 Mini & Google Services
Complexity advanced
Nodes 17
Categories Invoice Processing, AI Summarization
Author Muhammad Ali
Published 03 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10462/10462.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 Automate WhatsApp invoice processing with OCR, GPT-4 Mini & Google Services do?

Description How it works This powerful workflow helps businesses and freelancers automatically manage invoices received on WhatsApp. It detects new messages, downloads attached invoices, extracts k...

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.