Skip to content

EasyPost - Create/Validate Address

This module creates an address in EasyPost and optionally validates it. It receives the individual address fields (name, company, street, city, state, zip code, country, phone, email) and a verification flag. It makes a POST request to the /addresses endpoint with the option to verify delivery. It returns the created address with its ID, verification results, and a message indicating whether the verification was successful or if there were warnings.

ParameterTypeRequiredDescription
credentials_idcredentialsYesEasyPost credential (provider: easypost)
nametextYesRecipient name
companytextNoCompany name
street1textYesAddress line 1
street2textNoAddress line 2
citytextYesCity
statetextYesState or province
ziptextYesZip code
countrytextYesCountry code (default: US)
phonetextNoPhone number
emailtextNoEmail address
verifybooleanNoVerify address (default: true)

A easypost type credential is required with the following fields:

  • api_key: EasyPost API Key

Credentials are obtained from the EasyPost dashboard (https://www.easypost.com/account/api-keys).

{
"success": true,
"address": {
"id": "adr_abc123",
"street1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"country": "US"
},
"address_id": "adr_abc123",
"verifications": {
"delivery": {
"success": true,
"errors": []
}
},
"message": "Direccion verificada exitosamente"
}
{
"credentials_id": "mi_credencial_easypost",
"name": "Juan Garcia",
"street1": "123 Main Street",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"country": "US",
"verify": true
}
  • Verification is performed with the “delivery” type by default
  • If verification is disabled (verify: false), the address is created without validation
  • The returned address_id can be used in other EasyPost nodes
  • Optional fields (company, street2, phone, email) are only included if they have a value