Process invoices and send weekly AI reports with OpenAI and Gmail — n8n Workflow
Overview
Overview This workflow automates invoice handling from upload to reporting using AI.
Users submit invoices through a simple form. The workflow extracts key details, validates the data, stores valid invoices, and sends email notifications. It also generates a weekly summary report automatically.
This helps reduce manual data entry and ensures consistent invoice processing.
How It Works
Form Submission Users upload an invoice (PDF or image) along with their email.
Initial Storage The ra
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 19 nodes, connecting agent, code, datatable.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (19)
Gmail
gmail
Code
code
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
process-invoices-and-send-weekly-ai-reports-with-openai-and-gmailfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
ResilNext
@rnair1996
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →