Templates / Automatic invoice detection & reminder creation with Gmail & Google Tasks

Automatic invoice detection & reminder creation with Gmail & Google Tasks

Ready for 3.0

by Matt Chong | n8n Creator ✓ · 2,043 views · created 2025-07-11 · Invoice Processing, AI Summarization

Ready 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).

  1. Get Unread Emails (Gmail): get many
  2. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  3. Check If Email is Invoice (If): checks a condition and branches into true / false
  4. Add Label to Email (Gmail): add labels
  5. Create a task (Google Tasks): uses Google Tasks
  6. Mark Email as read (Gmail): mark as read

Services it uses

OpenAI Chat ModelGoogle TasksGmail

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)

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…

Excerpt from Matt Chong | n8n Creator's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.