Back to Problem Dictionary
The Problem

How to audit the map rankings for your entire franchise

You are looking for a way to audit the map rankings for your entire franchise. Most people would tell you to buy a SaaS subscription for this.

We say: Build it yourself for free.

The Automation Blueprint

Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to audit the map rankings for your entire franchise.


# Agent Configuration: The Multi-Location SEO Auditor

## Role
Managing SEO for multiple locations is hard. This agent reads a list of locations from a CSV, audits their Google Maps profiles, checks NAP consistency across the web, and generates a prioritized 'Fix List' for every branch.

## Objective
Audit the map rankings for your entire franchise.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `locations_to_audit.csv` exist?
2.  **If Missing:** Create `locations_to_audit.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop

**Phase 2: The Map Audit Loop**
For each location in the CSV:
1.  **NAP Consistency:** Search Google/Yelp for the `Branch_Name`. Check if Address matches exactly.
2.  **Reputation Check:** Count reviews from the last 3 months. If zero, flag as "Dead Listing".
3.  **Audit:** Is the owner replying to negative reviews?

**Phase 3: The Branch Report**
1.  **Create:** `franchise_seo_health.csv`.
2.  **Summary:** "Processed [X] locations. Branch 'Downtown' has 3 NAP errors. Branch 'Eastside' has a 0% review response rate."
3.  **Action:** "Generating 'Fix Guides' for each failing branch."

Want the Full Library?

I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.

Browse All 500 Blueprints