Skip to content

Google Address Validation

Google Address Validation

Google Address Validation is a Google Cloud API that verifies the accuracy of postal addresses, standardizes their components, and returns geocoding and deliverability information. With the integration in SquadOS, your agents can validate addresses in real time before using them in orders, registrations, or any flow that depends on accurate location data.

This tool uses API key (API_KEY) to connect.

You will need the following fields:

FieldRequiredDescription
api_keyYesGoogle Cloud API key with the Address Validation API enabled.
  1. Go to the Google Cloud Console and sign in with your Google account.
  2. Create a project (or select an existing one) using the project selector at the top of the page.
  3. In the side menu, go to APIs & Services → Library.
  4. Search for Address Validation API and click Enable.
  5. Go to APIs & Services → Credentials and click + Create Credential → API Key.
  6. Copy the generated key — this is the value to use in the api_key field when connecting in SquadOS.
  1. Go to Tools in the side menu (/admin/tools).
  2. Open the Available tab and search for Google Address Validation.
  3. Click the card to open the details modal and hit Connect.
  4. You’re taken to the secure connection page hosted by Composio, where you enter the credentials obtained above.
  5. Once done, you’re sent back to SquadOS with the account connected and the tool available for your agents. (Connection-flow details in Organization Tools.)

GOOGLE_ADDRESS_VALIDATION_PROVIDE_VALIDATION_FEEDBACK

Tool to provide feedback on an address validation attempt. Use after completing an address validation sequence.

NameTypeRequiredDescription
conclusionstring (VALIDATION_CONCLUSION_UNSPECIFIED | VALIDATED_VERSION_USED | USER_VERSION_USED | UNVALIDATED_VERSION_USED | UNUSED)YesOutcome of the sequence of validation attempts. Must not be VALIDATION_CONCLUSION_UNSPECIFIED.
responseIdstringYesID of the response this feedback is for; the responseId from the first validateAddress response.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

GOOGLE_ADDRESS_VALIDATION_VALIDATE_ADDRESS

Tool to validate and standardize addresses. Use when you need detailed parsing, geocode, and deliverability verdict of an address.

NameTypeRequiredDescription
addressobjectYesAddress to validate; use addressLines for unformatted addresses.
sessionTokenstringNoAutocomplete session token (URL-safe base64, max 36 chars).
enableUspsCassbooleanNoEnable USPS CASS mode (US/PR only).
languageOptionsobjectNoPreview language options.
previousResponseIdstringNoFor follow-up requests; omit on first request.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.