Get Sitemap
search_console.get_sitemap
ActionGoogle Cloudconnection required
Calls Google Search Console GET /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}.
Retrieves the submission status of one known sitemap — errors, warnings, when it was last downloaded and whether it is still pending.
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, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
site_url Property URL (https://example.com/) or sc-domain:example.com. | string | Yes | — | — | — |
feedpath Full URL of the sitemap, e.g. 'https://example.com/sitemap.xml'. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
path | string | — |
lastSubmitted | string | — |
lastDownloaded | string | — |
isPending | boolean | — |
isSitemapsIndex | boolean | — |
type | string | — |
warnings | string | — |
errors | string | — |
contents | array | — |
{
"contents": [],
"errors": "",
"isPending": false,
"isSitemapsIndex": false,
"lastDownloaded": "",
"lastSubmitted": "",
"ok": false,
"path": "",
"type": "",
"warnings": ""
}Related Google Search Console nodes
See Get Sitemap 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.