Hunt brand impersonation and deepfake threats with Claude, Google Sheets and SendGrid
Needs changesWhat this workflow does
This AI workflow has 13 nodes and runs on a schedule (every 4 hours). Along the way it connects Anthropic Chat Model. It also calls sheets.googleapis.com and api.sendgrid.com over HTTP.
How it runs
Trigger: On a schedule (every 4 hours).
- Set - Prepare Brand Protection Context (Edit Fields (Set)): sets 11 fields: brandName, officialDomains, officialSocialHandlesJson…
- JS - Build Brand Monitoring Query Batch (Code): runs custom JavaScript code
- Fetch Candidate Brand Mentions & Accounts (HTTP Request): calls an HTTP API (POST)
- Wait: pauses before continuing
- AI - Classify & Score Impersonation Candidates (AI Agent): runs an AI agent, with model: Anthropic - Impersonation Classification Model
- JS - Parse Impersonation Classification Output (Code): runs custom JavaScript code
- JS - Calculate Aggregate Threat Score & Format Alert Record (Code): runs custom JavaScript code
- Save Scan Results to Google Sheets Tracker (HTTP Request): calls sheets.googleapis.com (POST)
- If: checks a condition and branches into true / false
- Wait: pauses before continuing
…plus 1 more step. 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 AI - Classify & Score Impersonation Candidates (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI - Classify & Score Impersonation Candidates (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow runs every 4 hours to search a brand-monitoring API for lookalike accounts and mentions, uses Anthropic Claude to classify impersonation risk, logs results to Google Sheets, and sends a SendGrid email alert when critical or…