# Prioritize AI search SEO keywords with DataForSEO and Google Sheets

> Quick overview This workflow reads a keyword list from Google Sheets, gets the AI search volume for each keyword using the DataForSEO AI Optimization API, and writes a ranked list back to Google Sheets, so you know which queries to optimize for AI search (GEO) first. How it works 1. Triggers on your preferred schedule (weekly by default) or manually. 2. Fetches keywords from the "Keywords" tab of your Google Sheet. 3. Cleans and deduplicates the list and splits it into batches of up to 1,000 keywords (the API limit per request). 4. Gets the AI search volume and monthly AI search history for each keyword using the DataForSEO AI Optimization API. 5. Compares the average of the last 3 months with the 3 months before to label the trend as Rising, Flat, or Declining. Volume alone can mislead: a keyword whose AI demand is growing is often a better bet than a bigger one that has gone flat. 6. Assigns a priority (Optimize first, Rising opportunity, Watch – declining, Backlog, No AI demand) and

- **Domain**: `n8n-workflow-22548.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/22548
- Page (HTML): https://agenstry.com/agents/n8n-workflow-22548.n8n.io
- Documentation: https://n8n.io/workflows/22548
