Extract invoice data from Gmail with GPT-4o and send Slack notifications
Ready for 3.0What 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).
- 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
- Notify Slack User (Slack): uses Slack
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Slack templates (979) · Other Gmail + Slack templates (957)
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 - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
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…