You are helping me build the following AI agent workflow. ## Goal Competitor SEO Content Audit: Scrapes top-ranking competitor URLs for your keywords, compares them against your brand identity using Gemini. ## Specification - What it does: You instantly uncover content gaps by scraping top-ranking competitor URLs and comparing their text against your brand identity with Gemini. This process automatically generates a structured action plan and saves it directly to your master Google Sheet for your marketing team. - Trigger: Run manually (Manual or Scheduled) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Decodo: Web scraping and SERP itemization - Google Sheets: Brand identity storage and reporting dashboard - Google Gemini Chat Model: Strategic gap analysis and action plan generation ## Known pitfalls, handle each one explicitly in your implementation 1. Decodo scraping can fail on anti-bot protected sites so implement a retry mechanism with varied user agents. 2. Gemini context windows may truncate long articles so split large texts into chunks before sending for analysis. 3. Competitor URLs might return 403 errors if they detect automated traffic so configure fallback proxies or manual review steps. ## Reference implementation https://n8n.io/workflows/13817 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/competitor-seo-content-audit/ via usecasesforagents.com