Extract and log invoice data to Google Sheets with Ainoflow and ChatGPT
UnknownWhat this workflow does
This AI workflow has 20 nodes and runs on a schedule (every day). Along the way it connects OpenRouter Chat Model, Gmail, Google Sheets and OpenAI Chat Model and 1 more.
How it runs
Trigger: On a schedule (every day).
- OPTIONS (Edit Fields (Set)): sets or maps fields
- Get invoice (Gmail): uses Gmail
- invoice clear (Code): runs custom JavaScript code
- Stop and Error: stops the run with an error
- Campos Factura (Edit Fields (Set)): sets or maps fields
- Convert (Ainoflow Convert): uses Ainoflow Convert
- HTTP Request: calls an HTTP API
- Send a message (Gmail): uses Gmail
- Invoice to JSON (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Clear json (Code): runs custom JavaScript code
…plus 8 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @ainoflow/n8n-nodes-ainoflow is verified or supports 3.0 (used in Convert).
Nodes used (12)
- HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Ainoflow Convert
@ainoflow/n8n-nodes-ainoflow.ainoflowConvert - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Stop and Error
n8n-nodes-base.stopAndError - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Every time a new invoice lands in your inbox, this workflow reads it, extracts all the relevant data using AI, and logs everything into a Google Sheets spreadsheet automatically. No copy-pasting, no forgotten invoices, no duplicate entries. --- Who is this…