Connect Google Search Console to your Wiro AI agent
Search performance, sitemaps and URL inspection for your sites.
Our search traffic fell last week. Which queries lost clicks, and is the matcha starter kit page still indexed?
For Steepwell Tea, clicks dropped 17%, from 4,210 to 3,490, while impressions held steady. Two queries lost the most:
- matcha starter kit: 640 to 310 clicks, position 2.8 to 5.9
- ceremonial grade matcha: 260 to 120 clicks, position 3.9 to 6.2
Both land on /products/matcha-starter-kit. That page is indexed: Google crawled it 3 days ago and kept your canonical, so this is a ranking slip, not an indexing problem.
Overview
What Google Search Console does for your agent
Reports on the Search Console properties you choose, with a read-only Google sign-in through an OAuth client from your own Cloud project. The agent breaks down clicks, impressions, CTR and average position by query, page, country, device or date, compares two periods, lists sitemaps with their errors and checks how Google indexed a URL and which canonical it chose. It cannot submit sitemaps, request indexing or change anything in a property.
Use cases
What your Wiro agent can do with Google Search Console
A weekly SEO report with the queries and pages that lost clicks
Every Monday, a Scheduled Task compares the last 7 days with data against the 7 days before: clicks, impressions, CTR and average position for the site, plus the queries and pages behind each change. Drops are listed first, and the report lands in Chat.
Page-two queries worth a content update
Ask for queries where your pages sit around positions 8 to 20 with plenty of impressions but few clicks. The agent groups them by page, shows the click-through rate of each and suggests title, description and section changes aimed at moving the page onto page one.
An indexing check for the URLs that matter
A weekly Scheduled Task inspects your key URLs, such as product, pricing and new blog pages, and reports which ones are not indexed, which canonical Google chose, when each was last crawled and whether robots rules block it. Google allows 2,000 inspections per property each day.
A sitemap check after a site release
After a release, ask the agent to check your sitemaps. It lists each one with its last submit and download time, errors, warnings and the number of URLs submitted, and flags any sitemap Google has not downloaded since you last submitted it.
Brand and non-brand search traffic, month by month
Ask how much of your Google traffic comes from people searching for your brand. The agent splits clicks and impressions into branded and non-branded queries using Search Console's own classification, month by month, so you can see whether non-brand SEO work is paying off.
A year-over-year view for seasonal pages
Before a seasonal peak, ask the agent to compare the last 28 days with the same dates a year earlier. It shows the change in clicks and position for the site and for each seasonal page, so you know which pages to refresh before demand arrives.
How it works
How Google Search Console works with Wiro
- 01
Deploy an agent, open its Connectors tab, choose Google Search Console and sign in with your Google Search Console account.
- 02
Set each Google Search Console action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask your agent for Google Search Console work in Chat, or put it on a Scheduled Task that runs on its own.
Google Search Console opens in a new window. Sign in there and allow access; this page updates by itself.
Sign In With Google Search ConsoleA weekly SEO report with the queries and pages that lost clicks
Page-two queries worth a content update
- Where it runsInside your agent. Its requests go straight from the agent to Google Search Console.
- Where its data goes
searchconsole.googleapis.com - How it signs inSign in to Google Search Console with your own app.
- AccountsAfter connecting, pick the Search Console properties the agent may work with. It cannot reach any other.
What it can do
Actions your Wiro agent can take in Google Search Console
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 6 actions
Looks things up in Google Search Console and changes nothing.
List Search Console properties
Lists the Search Console properties the connected Google account has verified access to: the property id, a display name, whether it is a Domain or URL-prefix property, and the permission level.
Chat AllowScheduled Tasks Allow
Query Search Console performance
Google Search clicks, impressions, CTR and average position for one property, grouped by query, page, country, device, date, hour, search appearance or branded classification, with filters, for given dates or the last N days with data.
Chat AllowScheduled Tasks Allow
Compare Search Console periods
Compares two periods of the same length for one property: totals with the change, and with a dimension the keys that lost and gained the most clicks or impressions.
Chat AllowScheduled Tasks Allow
List Search Console sitemaps
Lists the sitemaps submitted for one property, or the sitemaps inside a sitemap index.
Chat AllowScheduled Tasks Allow
Inspect a URL in Search Console
Shows how Google indexed one URL of a property.
Chat AllowScheduled Tasks Allow
Read other Google Search Console data
Reads what the actions above do not cover, straight from the Google Search Console API.
Chat AllowScheduled Tasks Allow
How to connect
Connect Google Search Console to Wiro
Open the agent's Connectors tab, choose Google Search Console and sign in with your account. The consent screen shows what the agent can reach.
What the Connect dialog asks for
| Field | About |
|---|---|
| OAuth Client IDRequired |
|
| OAuth Client SecretRequired | Google shows the Client secret only once, in the dialog that opens when you create the client: copy it there, or click Download JSON to keep it in a file. After you close that dialog, Google never shows it again. If you no longer have it, open your client in Google Auth Platform → Clients, click Add secret and copy the new secret the same way. When nothing uses the old secret any more, Disable it and delete it. |
Troubleshooting
Troubleshooting Google Search Console
What to check when Google Search Console stops working for your agent.
- Your own app's sign-in fails Check your app's settings in Google Search Console: the redirect URL shown in the Connect dialog must be added there, and the client secret you pasted must be the app's current one. Then sign in again.
- Access revoked in Google Search Console If the access is removed in Google Search Console, or the sign-in can no longer renew, the connection reads Reconnect needed. Open the agent's Connectors tab, choose Google Search Console and Reconnect.
- Limits set by Google Search Console Google Search Console limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your Google Search Console plan.
For developers
Connect Google Search Console from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "google-search-console" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "google-search-console", "title": "Google Search Console", "category": "analytics", "authtype": "provider-oauth", "credentialfields": [ { "name": "clientid", "label": "OAuth Client ID", "required": true, "secret": false, "format": "text" }, { "name": "clientsecret", "label": "OAuth Client Secret", "required": true, "secret": true, "format": "password" } ], "accountpickers": [ { "key": "sites", "label": "Search Console properties", "multiple": true } ], "tools": [ { "name": "list_sites", "readonly": true }, { "name": "query_search_analytics", "readonly": true } ] } ] } - 02
Start the sign-in
Connect answers with the vendor's sign-in page. Open it in the browser of the person who owns the account.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-search-console", "mode": "oauth", "values": { "clientid": "YOUR_CLIENTID", "clientsecret": "YOUR_SECRET" }, "redirecturl": "https://your-app.example.com/connectors/return" }Response { "result": true, "errors": [], "status": "pending", "authorizeUrl": "https://vendor.example.com/oauth/authorize?client_id=...&state=..." } - 03
Come back to your page
After the consent screen the browser returns to your redirect URL with the outcome in its query. Read the status next; the query is only a reason to look.
Your redirect URL https://your-app.example.com/connectors/return?connector_connected=true https://your-app.example.com/connectors/return?connector_error=authorization_denied - 04
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "google-search-console", "title": "Google Search Console", "authtype": "provider-oauth", "status": "connected", "accounts": {}, "savedvariables": [ "clientid", "clientsecret" ], "lasterror": null } ] } - 05
List the accounts
After connecting, list what the agent may use. It cannot reach anything else.
POST /UserAgent/ConnectorAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-search-console" }Response { "result": true, "errors": [], "pickers": [ { "key": "sites", "label": "Search Console properties", "multiple": true, "candidates": [ { "id": "1234567890", "name": "Example account" } ], "selected": [] } ] } - 06
Save the accounts
Every id is checked against a fresh list, then the agent uses them, with no restart for most changes.
POST /UserAgent/ConnectorSetAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-search-console", "accounts": { "sites": [ "1234567890" ] } }Response { "result": true, "errors": [], "restart": "scheduled" } - 07
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "google-search-console" }Response { "result": true, "errors": [], "removed": true, "revoked": true, "restart": "scheduled" }
Questions
Google Search Console and Wiro FAQ
What can a Google Search Console AI agent report on?
It reads your Search Console data: clicks, impressions, CTR and average position by query, page, country, device, date, search appearance or branded classification, with filters and period comparisons. It lists your sitemaps with their errors and warnings and inspects how Google indexed a URL, including the canonical it chose and the last crawl. You do not need to install a Search Console MCP server, because the connector works inside your agent, and you can automate Search Console reports with a Scheduled Task.
How do I connect Google Search Console to an AI agent?
Search Console can be connected from your agent's Connectors tab, or on request in Chat. You connect with an OAuth client from your own Google Cloud project: enable the Search Console API, pick External as the audience, add the webmasters.readonly scope and create a Web application client under Clients with the redirect URI the Connect dialog lists. Enter that client's ID and secret, sign in as a Google user with access to the property, and choose the properties the agent may report on.
Can the agent submit sitemaps or request indexing?
No. The connection uses Search Console's read-only access, so it reports on sitemaps and on how a URL is indexed but cannot submit, remove or change anything in your property. Sitemap submissions and indexing requests stay in Search Console, and the agent can tell you exactly which ones to make.
How many URLs can the agent inspect in a day?
Google allows 2,000 URL inspections per property per day and 600 per minute. An inspection shows the indexed version Google holds, not a live test of the page. For a large site, ask the agent to start with the pages that bring traffic and spread the rest over several days with a Scheduled Task.
Why doesn't the agent list every search query?
The Search Console API returns a capped number of rows for each request, sorted by clicks, and Google leaves out queries it keeps private. For site totals, the agent groups by date or by nothing. The last few days can be missing until Google finishes processing them, which is why reports use the last days that have data. Search Console keeps 16 months of performance data, so comparisons reach back that far.
Can I reuse the Google Cloud client I made for Google Analytics 4?
Yes. Add this connector's redirect URI to that OAuth client and enable the Search Console API in its project, then enter the same client ID and secret here. If Google warns that the app is unverified when you sign in, it is your own app: open Advanced and continue.
Why did my Search Console connection stop after a week?
While your Google Cloud app is in Testing, only the test users on its Audience page can connect, and Google ends their connection 7 days after they agree. Move the app to In production on that page and reconnect with Sign In Again to keep it running.
Where are tokens kept, and what does the connector cost?
Tokens for Search Console are stored encrypted; the AI model only sees the report data. You pay nothing extra for this connector on any agent plan, and the Search Console API is free to call.
Access
Revoke Google Search Console access
Remove the app's access in your Google Search Console account's connected apps settings, then disconnect it here.
Related connectors
More analytics connectors for your Wiro agent
RevenueCatSubscription revenue, MRR, churn and charts from RevenueCat.
RoasitCreative-level ROAS and attribution from Roasit.
AdaptySubscription analytics for mobile apps: revenue, conversion, retention and cohorts.
AdjustMobile attribution and campaign KPIs from Adjust: installs, events, cohorts and creative…
Google Analytics 4Reports, realtime data and attribution from your Google Analytics 4 properties.
Put Google Search Console to work with Wiro
Deploy an agent and connect Google Search Console from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.