Track SERP winners and losers with a SERP API, Claude, and WhatsApp alerts
Ready for 3.0What this workflow does
This workflow has 27 nodes and runs on a schedule (every 24 hours) (plus 2 other triggers). Along the way it connects WhatsApp Business Cloud. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: On a schedule (every 24 hours) (plus 2 other triggers).
- Normalize Trigger Input (Code): runs custom JavaScript code
- Set Configuration Parameters (Edit Fields (Set)): sets 10 fields: significantMovementThreshold, topBandSize, maxKeywordsPerRun…
- Determine Trigger Mode (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Build Queue from Trigger Keyword (Code): runs custom JavaScript code
- Fetch Tracked Keywords (HTTP Request): calls an HTTP API
- Get Next Keyword from Queue (Code): runs custom JavaScript code
- Build Queue from Tracked Keywords (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Build Final Battlefield Digest (Code): runs custom JavaScript code
…plus 14 more steps. See the full node list below.
Services it uses
Other Anthropic + WhatsApp templates (20)
HTTP calls to: api.anthropic.com
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 (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow tracks SERP changes for one or more keywords by pulling top-100 organic results from a SERP API, storing snapshots in a historical database, analyzing winners/losers and SERP patterns with Anthropic Claude, and sending WhatsApp…