Catch and log subscription price rises with Gmail and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 26 nodes and runs on Gmail events (plus 2 other triggers). Along the way it connects Gmail, OpenAI Chat Model and Slack.
How it runs
Trigger: On Gmail events (plus 2 other triggers).
- Your Settings (Edit Fields (Set)): sets or maps fields
- Create The Changes Table (Data table): uses Data table
- Is It The Weekly Run (If): checks a condition and branches into true / false
- Read The Logged Changes (Data table): uses Data table
- Prepare The Email (Code): runs custom JavaScript code
- Build The Weekly Digest (Code): runs custom JavaScript code
- Is There Text To Read (If): checks a condition and branches into true / false
- Is The Digest On (If): checks a condition and branches into true / false
- Read The Price Details (AI Agent): runs an AI agent, with model: Price Reader Model; output parser: Price Details Format
- Mark For A Human Look (Code): runs custom JavaScript code
…plus 11 more steps. See the full node list below.
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (13)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Data table
n8n-nodes-base.dataTable - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Quick overview Price-rise emails are easy to miss, so this n8n workflow reads vendor mail in Gmail and logs each price change it finds. Every email becomes a row in an n8n data table, big rises can post to Slack, and a weekly digest can arrive by email. How…