İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Raporlar, Analitik ve Panolar

Raporlar, Analitik ve Panolar

Detect competitor SEO strategy shifts with Claude and WhatsApp alerts

On a schedule, it builds reports with Claude using WhatsApp.

Ne yapar

## 1. Competitor - Schedule Trigger - Daily/Weekly Competitor Crawl: fires on the configured interval to re-crawl every already-tracked competitor. - Webhook - Register Competitor: receives {competitorDomain, startUrl, maxPages, maxDepth} to start tracking a competitor and crawl it immediately. - Manual Trigger - Test Run: runs the workflow by hand for testing. - Code 1 - Normalize Trigger Input: reads whichever payload came in (webhook body, or nothing for schedule/manual) and extracts the trigger competitor's fields; defaults to a sample competitor when the payload is empty so manual runs are testable end to end. - Set - Config: defines crawlDelaySeconds, defaultMaxPagesPerCompetitor, defaultMaxDepthPerCompetitor, maxCompetitorsPerRun, internalLinkDeltaThreshold, wordCountDeltaThreshold, significantChangeCountThreshold, strategyConfidenceThreshold, the database endpoints, the Anthropic model, and the WhatsApp sender + recipient. - Code 2 - Determine Trigger Mode: flags isAdHocCompetitor - true when a single competitor came in via webhook/manual, false when this is a full scheduled sweep. - IF - Ad Hoc Competitor Provided: true (single competitor) routes to Code 3; false (full sweep) routes to the tracked-competitors fetch. - Code 3 - Build Competitor Queue From Trigger: builds a one-item competitor queue from the ad-hoc payload. - HTTP Request - Fetch Tracked Competitors: (false branch only) calls the historical database's tracked-competitors endpoint to get every competitor under active monitoring. - Code 4 - Build Competitor Queue From Tracked: turns that list into the same competitor queue shape. - Code 5 - Get Next Competitor From Queue: pops one competitor off the outer queue, and resets the inner per-site crawl state (page queue seeded with that competitor's start URL, visited pages cleared, site snapshot cleared) - the loop-back point every subsequent competitor returns to. - IF - Competitor Queue Empty: true when the competitor queue is empty or maxCompetitorsPerRun has been hit, ending the run and building the digest; false continues into that competitor's site crawl. - Code 11 - Build Final Strategy Digest: once the run ends (competitor queue empty or the run's competitor cap hit), rolls every competitor's report into one summary - competitors checked, how many showed significant strategic change, and total change counts per category across all o

Adımlar

  1. Schedule Trigger - Daily/Weekly Competitor Crawl
  2. Webhook - Register Competitor
  3. Manual Trigger - Test Run
  4. Code 1 - Normalize Trigger Input
  5. Set - Config
  6. Code 2 - Determine Trigger Mode
  7. IF - Ad Hoc Competitor Provided
  8. Code 3 - Build Competitor Queue From Trigger
  9. HTTP Request - Fetch Tracked Competitors
  10. Code 4 - Build Competitor Queue From Tracked
  11. Code 5 - Get Next Competitor From Queue
  12. IF - Competitor Queue Empty
  13. Code 6 - Get Next Page From Queue
  14. IF - Page Queue Empty Or Page Budget Reached

Toplam 28 adım.

Benzer otomasyonlar