Get Approval Request

access_approval.get_approval_request
ActionGoogle Cloudconnection required

Calls Access Approval GET /v1/projects/{projectsId}/approvalRequests/{approvalRequestsId}.

Gets an approval request. Returns NOT_FOUND if the request does not exist.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Access Approval
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
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
project_id
GCP project id (overrides connection).
stringNo———
approval_request
Approval request id.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
requestTime
string—
approve
object—
name
string—
requestedLocations
object—
requestedResourceName
string—
requestedReason
object—
{
  "approve": {},
  "name": "",
  "ok": false,
  "requestTime": "",
  "requestedLocations": {},
  "requestedReason": {},
  "requestedResourceName": ""
}

See Get Approval Request run in a workflow.

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