Monitor suspicious transactions using Google Sheets, Groq AI and Gmail alerts
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Groq Chat Model and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Fetch Transactions (Google Sheets): uses Google Sheets
- Update Transaction date (Google Sheets): update
- filters today's transactions (If): checks a condition and branches into true / false
- Calculate Transaction Metrics (Code): runs custom JavaScript code
- Prepare Transaction Data (Edit Fields (Set)): sets 2 fields: total_transactions, row_number
- Check suspicious (If): checks a condition and branches into true / false
- Generate Risk Analysis (AI Agent): runs an AI agent, with model: Groq Chat Model
- Merge: merges the data from its input branches
- Update non-suspicious (Google Sheets): update
- Fetch Updated Rows from Sheet (Google Sheets): uses Google Sheets
…plus 3 more steps. See the full node list below.
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 (9)
- If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge
From the author
Transaction Monitoring Workflow > n8n, Google Sheets, Groq AI & Gmail Alerts --- This workflow automatically monitors daily transactions stored in Google Sheets, detects suspicious activity based on defined thresholds, generates AI-based risk analysis,…