Catalog action Integrations

Standardize and verify a free-form US shipping address via the Google Address Validation API. Returns USPS-standardized components (street / unit / city / state / ZIP), a confidence verdict (high / medium / low), whether Google corrected anything, and which components are missing. Ideal for: confirming a deliverable address collected in chat before placing an order, surfacing the corrected form for the user to approve rather than re-type.

At a Glance

FieldValue
Action IDvalidate-address
CategoryIntegrations
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagsshopping, address, lookup, read

Payload Schema

FieldTypeRequiredDescription
addressLinesarrayYesFree-form address lines, roughly street-first (e.g. ["9149 sepulvda blvd", "los angeles 90045"]). One combined line is accepted too — Google splits it.
regionCodestringNoCLDR region code. Only 'US' is supported today (shipping is US-only).

Result Schema

FieldTypeRequiredDescription
confidencestringYeshigh = complete, nothing unconfirmed (safe to ship after user confirm); medium = complete but Google inferred/replaced/spell-corrected components (show the corrected form for confirm); low = incomplete or unconfirmable (caller should fall back to its own handling).
correctedbooleanYesTrue when the standardized address differs materially from what the user typed.
formattedAddressstring | nullYesGoogle's single-line formatted address (no recipient name).
standardizedobject | nullYesUSPS-standardized components — null when confidence is low.
missingComponentsarrayYesGoogle component types the input lacked (e.g. 'subpremise') — useful for a targeted re-ask.

Examples

json
{ "type": "validate-address", "payload": { "addressLines": [] }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.