Runpagespeed

pagespeed_insights.runpagespeed
ActionGoogle Cloudconnection required

Calls PageSpeed Insights GET /pagespeedonline/v5/runPagespeed.

Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Google PageSpeed Insights
Secret shape
the API key as raw text
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
url
Required. The URL to fetch and analyze
stringYes———
timeout_seconds
How long to wait for the Lighthouse run. Defaults to 120; a heavy page can need longer and otherwise fails as 'Google API unreachable: ReadTimeout'. Capped at 300.
numberNo120≥ 0—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "timeout_seconds": 120
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
id
string—
originLoadingExperience
object—
lighthouseResult
object—
kind
string—
loadingExperience
object—
analysisUTCTimestamp
string—
{
  "analysisUTCTimestamp": "",
  "id": "",
  "kind": "",
  "lighthouseResult": {},
  "loadingExperience": {},
  "ok": false,
  "originLoadingExperience": {}
}

See Runpagespeed run in a workflow.

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