See llms.txt for all machine-readable content.

Back to Templates

Track weekly Google AI Mode brand share of voice with Apify and email

Quick overview

This workflow runs every Monday to query Google AI Mode via an Apify actor, checks whether your brand and competitors are mentioned and linked in the answers, stores weekly results in an n8n Data Table, and emails a share-of-voice visibility report.

How it works

  1. Runs every Monday at 08:00 on a schedule.
  2. Loads your prompt list, brand name, domain, competitors, and locale settings from the workflow configuration.
  3. Creates (if needed) and reads the existing ai_mode_brand_visibility n8n Data Table to retrieve last results for comparison.
  4. Uses Apify (Google AI Mode Scraper actor) to fetch Google AI Mode answers for all prompts in the selected country/language (and optional location), and emails an alert if the actor run fails.
  5. Cleans each answer, detects whole-word brand and competitor mentions, and checks whether your domain (and competitor domains) appear in referenced links.
  6. Builds a weekly HTML report with share of voice, week-over-week mention changes, and a prompt-by-prompt breakdown, then sends it by email.
  7. Upserts this week’s per-prompt results into the Data Table only for prompts that were successfully checked.

Setup

  1. Add an Apify credential and ensure the Apify community node @apify/n8n-nodes-apify is installed, then confirm access to the subimpact/google-ai-mode-scraper actor in your Apify account.
  2. Add an SMTP email credential and set the recipient (alertEmail) and sender (fromEmail) addresses.
  3. Update the prompts, your brand name/domain, competitor list (as Name | domain.com per line), and locale settings (country/language/location) in the workflow configuration before the first run.
  4. Run the workflow once manually to create the ai_mode_brand_visibility Data Table and validate the report output.
  5. Adjust the maximum Apify spend (maxCostUsd) to control pay-per-search costs in your Apify account.