Query Searchanalytics

search_console.query_searchanalytics
ActionGoogle Cloudconnection required

Calls Google Search Console POST /webmasters/v3/sites/{siteUrl}/searchAnalytics/query.

Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Search Console
Secret shape
{"client_id", "client_secret", "refresh_token"}
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
site_url
Property URL (https://example.com/) or sc-domain:example.com.
stringYes———
body
Request body (SearchAnalyticsQueryRequest) as JSON.
objectNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
rows
array—
responseAggregationType
string—
metadata
object—
{
  "metadata": {},
  "ok": false,
  "responseAggregationType": "",
  "rows": []
}

See Query Searchanalytics run in a workflow.

In a technical demo we add the Google Search Console connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.