See llms.txt for all machine-readable content.

Back to Templates

Track LLM and AI search visibility with DataForSEO and Google Sheets

Quick overview

This workflow runs on a schedule or manually, reads tracking prompts from Google Sheets, queries DataForSEO for multiple LLM and AI search engines (OpenAI, Claude, Gemini, Perplexity, Google AI Overview/AI Mode, and Bing Copilot), then normalizes answers and citations and appends the results back to Google Sheets.

How it works

  1. Runs on a monthly schedule (or on manual запуск) and loads configuration values such as sheet names, location/language, enabled engines, and model names.
  2. Reads the prompt list (prompt_id, prompt_text, category) from the Prompts tab in Google Sheets.
  3. Cleans each prompt and truncates it to the DataForSEO 500-character limit while recording whether truncation occurred.
  4. Processes prompts one at a time and builds DataForSEO API requests for each enabled provider (OpenAI, Claude, Gemini, Perplexity, Google AI Overview, Google AI Mode, and Bing Copilot).
  5. Calls the DataForSEO API for each request, continuing even if some calls fail.
  6. Extracts response text, citations, cost, model used, sources consulted, fan-out queries, and brand/domain/competitor mentions, then appends a row per provider to the Results tab in Google Sheets.
  7. Waits for the configured buffer time between prompts to respect rate limits and then continues with the next prompt.

Setup

  1. Create a DataForSEO Basic Auth credential in n8n (username = DataForSEO login, password = API password) and select it in the HTTP request step.
  2. Create a Google Sheets OAuth2 or Service Account credential in n8n and select it for reading the Prompts tab and appending to the Results tab.
  3. Duplicate or create a Google Sheet with two tabs named Prompts and Results and the exact header columns expected by the workflow.
  4. Update the google_sheet_url, location_code/language_code, enabled engines, model_* values, brand_names, target_domain, competitors, and timing settings in the Template_Config step before activating.