Automate Google Search Console Checks and Alerts
Set up free Google Search Console alerts for indexing errors, traffic drops and key pages falling out of Google, using built-in emails, the API or a dashboard.
By freeseobot Editorial · Published · 6 min read
Google Search Console already sends free email alerts for new indexing problems, security issues and manual actions, as long as email notifications are switched on. What it does not do is warn you when clicks drop or when one important page quietly falls out of the index. For that you need a small scheduled check using the Search Console API, a dashboard, or a tool that reads your data for you.
This guide covers all three levels, from zero set-up to a script you can run weekly.
What does Search Console alert you about by default?
Search Console has a message panel (the bell icon at the top) and sends many of those messages by email. Google's help page splits them into two types:
- Property messages, sent to all appropriate users of a site, for example a warning about a new indexing issue.
- User messages, sent only to you, for example about your own account.
The panel keeps property messages from the past year. Emails are on by default. You control them under User settings > Email preferences, where you can turn off specific types or all email. The setting applies to every property you have access to, not one site at a time.
First step: open Email preferences and confirm "Enable email notifications" is ticked. Then add a second person, such as your web developer, as a user on the property so alerts do not depend on one inbox.
What Search Console does not alert you about
| You want to know | Built-in alert? | How to cover it |
|---|---|---|
| A new type of indexing error appears | Yes, by email | Leave notifications on |
| Manual action or security issue | Yes, by email | Leave notifications on |
| Clicks fell 30% this week | No | Weekly API check or dashboard |
| Your top 10 pages are still indexed | No | URL Inspection API check |
| A key query dropped from position 3 to 12 | No | Weekly API check or rank tracker |
| Sitemap stopped being read | Partly, in the Sitemaps report | Weekly look, or API check |
| robots.txt suddenly blocks Google | Not instantly | Daily robots.txt check |
The gaps are about change over time. Search Console reports what happened; it does not compare this week with last week unless you ask it to.
Level 1: a 10-minute weekly manual check
If you would rather not automate yet, a fixed routine catches most problems.
- Performance > Search results. Set the date to Compare > Last 28 days vs previous period. Note total clicks and impressions.
- Pages tab. Sort by the click difference. The pages that lost most sit at the top.
- Indexing > Pages. Check whether the "Not indexed" count jumped.
- Indexing > Sitemaps. Check the status says "Success".
- URL Inspection. Inspect your home page and your best-selling page.
Our 30-minute weekly SEO routine builds the rest of the week around this.
Level 2: a free dashboard
Looker Studio, Google's free reporting tool, has a Search Console connector. You can build one page that shows clicks this week against last week, by page and by query, and have it emailed to you on a schedule. This removes the clicking, but you still have to read it and notice the drop yourself.
Bing Webmaster Tools has its own email alerts and is worth setting up for the same reason. You can import your sites from Search Console to save time.
Level 3: real alerts with the Search Console API
The Search Console API is free and lets a script read the same data you see in the interface. Two parts matter for alerts.
Search Analytics: catch traffic drops
The searchanalytics.query method returns clicks, impressions, click-through rate and position, grouped by query, page, country, device or date. Google's reference says each request can return up to 25,000 rows, and you page through more with startRow. Set dataState to all to include the freshest, still-changing data, or leave it as final data only.
A simple drop alert:
- Request clicks by
pagefor the last 7 complete days. - Request the same for the 7 days before.
- For each page with at least 20 clicks last period, calculate the change.
- Send yourself an email listing any page that fell by more than 30%.
Pick thresholds that match your traffic. On a small site, a page going from 4 clicks to 2 is a 50% fall and means nothing. A minimum click count stops that noise.
URL Inspection: confirm key pages are indexed
The URL Inspection API returns what the URL Inspection tool shows: whether the page is indexed (coverageState), when Google last crawled it (lastCrawlTime), and which canonical Google chose (googleCanonical). Google's published limits are 2,000 inspections per day and 600 per minute for each site. That is plenty to check your 20 or 50 most important pages every day.
A useful daily check:
- Inspect each key URL.
- Alert if the verdict is not a pass, or if Google's chosen canonical is a different URL from the one you expect.
- Alert if
lastCrawlTimeis much older than usual for that page.
When a page fails, our guide on why a page isn't indexed explains what each status means.
Where to run the script
Any scheduler works: a scheduled Google Apps Script, a cron job on your server, or a serverless function. The script needs an OAuth sign-in or a service account that has been added as a user on the Search Console property.
Level 4: let a tool do the watching
If you do not want to write or maintain a script, a monitoring tool can read your Search Console data for you. When you connect a site to freeseobot, the dashboard walks you through Search Console set-up, submits your sitemap, and runs weekly checks on the things Search Console does not watch, such as noindex tags appearing, robots.txt blocking crawlers and broken internal links. Connecting adds one line of code to your site, and any fix it suggests is applied only after you approve it.
Whichever level you choose, keep the free SEO checker for one-off checks after a redesign or plugin update, when problems are most likely.
Which alerts are worth having?
More alerts are not better. Start with these five:
| Alert | Trigger | Why |
|---|---|---|
| Indexing issue | Search Console email | Google found a new problem |
| Key page not indexed | Daily URL Inspection check | Your money pages must stay in |
| Weekly clicks drop | More than 30% on pages with real traffic | Catches problems early |
| robots.txt change | File content changed | One line can block the whole site |
| Site down | Home page not returning 200 | Nothing else matters if it is down |
Review them after a month. If an alert has fired five times and never needed action, raise its threshold or remove it.
Questions
Is the Search Console API free?
Yes. It has usage limits rather than a price. Google lists 2,000 URL Inspection queries per site per day, and separate per-minute limits for Search Analytics queries.
How fresh is Search Console data?
The newest data in the Performance report can be preliminary. Google's help page says it "might change in the next few hours" and shows it as a dotted line on the chart. For alerts, compare complete days to avoid false drops.
Can I get a Slack or chat alert instead of email?
Yes, if you use the API. Your script can post to any chat tool that accepts incoming messages. The built-in Search Console alerts only arrive by email and in the message panel.
Why does my alert show a drop when nothing is wrong?
Common causes are seasonality, a public holiday, or comparing a partial day. Compare the same days of the week and use complete days only.
Sources
- Google Search Console Help, Message panel and email preferences: https://support.google.com/webmasters/answer/9388335
- Google Search Console Help, Performance report (Search results): https://support.google.com/webmasters/answer/7576553
- Google Search Console API, Search Analytics query reference: https://developers.google.com/webmaster-tools/v1/searchanalytics/query
- Google Search Console API, Usage limits: https://developers.google.com/webmaster-tools/limits
- Google Search Central blog, URL Inspection API: https://developers.google.com/search/blog/2022/01/url-inspection-api