Triage scam messages and alert family with Claude and Google Sheets
Needs changesWhat this workflow does
This AI workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model. It also calls sheets.googleapis.com and api.sendgrid.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Prepare Message Context (Edit Fields (Set)): sets 11 fields: messageText, messageChannel, senderInfo…
- Extract Risk Signals (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Fraud Indicator Analysis Agent (AI Agent): runs an AI agent, with model: Claude Fraud Model
- Parse Analysis Output (Code): runs custom JavaScript code
- Check Analysis Usability (If): checks a condition and branches into true / false
- Calculate Risk Score (Code): runs custom JavaScript code
- Respond Analysis Insufficient (Respond to Webhook): sends the response back to the webhook caller
- Wait: pauses before continuing
- Safety Guidance Agent (AI Agent): runs an AI agent, with model: Claude Guidance Model
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: sheets.googleapis.com, api.sendgrid.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Fraud Indicator Analysis Agent (v1.6), Safety Guidance Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Fraud Indicator Analysis Agent (v1.6), Safety Guidance Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Wait
n8n-nodes-base.wait - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow analyzes suspicious calls, WhatsApp messages, and emails using AI to detect scams, explain risks simply, suggest safe actions, alert trusted family members about high-risk fraud, and maintain a history of suspicious activity. How…