Automatic invoice detection & reminder creation with Gmail & Google Tasks
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 10 nodes and runs on a schedule (every hour). Along the way it connects OpenAI Chat Model, Google Tasks and Gmail.
How it runs
Trigger: On a schedule (every hour).
- Get Unread Emails (Gmail): get many
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Check If Email is Invoice (If): checks a condition and branches into true / false
- Add Label to Email (Gmail): add labels
- Create a task (Google Tasks): uses Google Tasks
- Mark Email as read (Gmail): mark as read
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - No Operation, do nothing
n8n-nodes-base.noOp - Google Tasks
n8n-nodes-base.googleTasks - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Who is this for? This workflow is for anyone who receives invoices by email and wants to stay on top of payment deadlines without manual tracking. What…