Skip to content

On a schedule

Monthly Business Profile search keywords in Google Sheets

On the 3rd of each month, the search terms people used to find the Business Profile last month are written to a Keywords tab with impressions.

Runs
On a schedule
Apps
Google Business Profile, Google Sheets
AI
Not needed
Access
business.manage; Google Sheets read+write

Send this to your assistant

Create a ClickRuntime automation: on the 3rd of each month at 8am, add last month's Google Business Profile search keywords and their impressions for my location to the Keywords tab of my sheet.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Google Business Profile shows which searches led people to your listing, but only month by month in the profile screen, with no easy way to keep a history or compare locations.

This automation saves the full keyword list into a sheet each month, so you can see which terms are growing, which are new, and which matter most for calls and visits.

Local businesses and the agencies that manage their listings use it to choose words for posts, services and website pages.

What you get out of it

  • A keyword history that lasts

    Each month's terms stay in the sheet to compare over a year.

  • Find new phrases customers use

    Terms you have never targeted often show up and can be added to your profile or site.

  • Seasonal patterns

    Spot which searches rise before holidays or in summer.

  • Low-volume terms kept

    Rare terms are recorded with Google's threshold rather than dropped.

  • Ready for client reports

    Agencies can chart top terms per client without logging into each profile.

How it works

What happens, step by step

  1. On the 3rd of each month ClickRuntime asks Google for the search terms that showed your profile last month.

  2. It collects every keyword with its impression count.

  3. Rows with the month, keyword and impressions are added to your Keywords tab, highest first.

Before it runs live

  • Connect Google Business Profile
  • Connect your Google Sheets account and pick the spreadsheets it may use

What you get

RunsOn a schedule
Monthly Business Profile search keywords in Google Sheetstoday, 9:00Succeeded
Google Sheets · Local SEO › Keywords2026-10 | bakery near me | 1,830 2026-10 | sourdough bread riverside | 412 2026-10 | gluten free cake shop | under 15

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Google Business Profile and Google Sheets steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
monthly_business_profile_search_keywords_in_google_sheets.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, http

LOCATION_ID = "9876543210"
SHEET_ID = "your-spreadsheet-id"

@on_trigger
def run(event):
    last = date.today().replace(day=1) - timedelta(days=1)
    params = {"monthlyRange.startMonth.year": last.year, "monthlyRange.startMonth.month": last.month,
              "monthlyRange.endMonth.year": last.year, "monthlyRange.endMonth.month": last.month, "pageSize": 100}
    url = f"https://businessprofileperformance.googleapis.com/v1/locations/{LOCATION_ID}/searchkeywords/impressions/monthly"
    auth = {"Authorization": f"Bearer {credentials.connection('google', 'work')}"}
    found = []
    while True:
        data = http.get(url, params=params, headers=auth).json()
        for k in data.get("searchKeywordsCounts", []):
            v = k["insightsValue"]
            found.append((k["searchKeyword"], int(v["value"]) if "value" in v else None, v.get("threshold")))
        if not data.get("nextPageToken"):
            break
        params["pageToken"] = data["nextPageToken"]
    found.sort(key=lambda k: k[1] or 0, reverse=True)
    month = f"{last:%Y-%m}"
    rows = [[month, kw, n if n is not None else f"under {t}"] for kw, n, t in found]
    if rows:
        build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False) \
            .spreadsheets().values().append(spreadsheetId=SHEET_ID, range="Keywords!A:C", valueInputOption="RAW",
                                            body={"values": rows}).execute()
    return {"month": month, "keywords": len(rows)}

FAQ

Common questions

Why does it run on the 3rd and not the 1st?
Google needs a couple of days to finish the previous month's keyword data. Running on the 3rd avoids half-complete numbers.
What does "under 15" mean?
Google hides exact counts for rarely used terms and returns a threshold instead. The sheet keeps that so you still see the term.
Can it cover several locations?
Yes. List the location IDs and ask your assistant to add a location column, or write each to its own tab.
What permissions does it need?
business.manage; Google Sheets read+write. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (on a schedule). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Monthly Business Profile search keywords in Google Sheets” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.