Create Assessment

recaptcha_enterprise.create_assessment
ActionGoogle Cloudconnection required

Calls reCAPTCHA Enterprise POST projects/{p}/assessments.

Verify a reCAPTCHA token and get its risk score and reasons.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google reCAPTCHA Enterprise
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, site_key
Resolved by
config.connection_id, else node.connection_id

Configuration

6 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———
site_key
reCAPTCHA site key (overrides connection).
stringNo———
token
Token from the client. Supports {{ }}.
stringYes—credential materialcredential
expected_action
Expected action name, e.g. login (optional).
stringNo———
user_ip
End-user IP (optional).
stringNo———
user_agent
End-user User-Agent (optional).
stringNo———

Input

Used when the config leaves token blank.

FieldTypeExample
token
The reCAPTCHA token from the client.
string—

Output

One shape.

result

FieldTypeExample
name
string—
valid
boolean—
token_valid
boolean—
invalid_reason
string—
score
number—
reasons
array—
action
string—
action_matches
boolean—
hostname
string—
{
  "action": "",
  "action_matches": false,
  "hostname": "",
  "invalid_reason": "",
  "name": "",
  "reasons": [],
  "score": 0,
  "token_valid": false,
  "valid": false
}

Related Google reCAPTCHA Enterprise nodes

See Create Assessment run in a workflow.

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