You are helping me build the following AI agent workflow. ## Goal SEO Analysis with Ahrefs and Sheets: Imports a list of domains from a Google Sheet, fetches their Ahrefs traffic metrics via an SEO MCP server. ## Specification - What it does: You instantly import a list of domains from your Google Sheet and automatically fetch their Ahrefs traffic metrics without manual data entry. The workflow writes these results back into the same sheet so you can immediately analyze SEO performance trends. This automation saves you time on repetitive research tasks while keeping your data centralized for quick review. - Trigger: Run manually (Manual ยท on demand) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Google Sheets: Store domain list and fetched SEO data - Ahrefs: Fetch SEO and traffic information - Code: Process data via MCP server integration ## Known pitfalls, handle each one explicitly in your implementation 1. The Google Sheets update node may overwrite formulas if not configured to write only values, so use the append or specific cell update mode carefully. 2. Invalid domains in your sheet will cause the API call to fail silently unless you add explicit validation before sending the request. ## Reference implementation https://n8n.io/workflows/7010 (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/automate-seo-analysis-with-ahrefs-and-sheets/ via usecasesforagents.com