Templates / Extract invoice data from Gmail with GPT-4o and send Slack notifications

Extract invoice data from Gmail with GPT-4o and send Slack notifications

Ready for 3.0

by Matt Chong | n8n Creator ✓ · 371 views · created 2025-08-22 · Content Creation, Multimodal AI

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 8 nodes and runs on a schedule (every hour). Along the way it connects OpenAI Chat Model, Gmail and Slack.

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. Notify Slack User (Slack): uses Slack

Services it uses

OpenAI Chat ModelGmailSlack

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

Who is this for? This workflow is ideal for freelancers, accountants, and finance teams who receive invoices in Gmail and want to automate their tracking process with AI. If your inbox fills up with invoice-related messages and you want to automate how…

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.