The ZipCodeMapGen Generator takes a valid zip code and returns information associated with that zip code. Information types: 

  • City
  • County
  • Timezone
  • Elevation
  • Latitude
  • Longitude
  • State
  • Timezone
  • Areacode 


The following parameters may be configured for the ZipCodeMapGen Generator. Items with an asterisk* are required. 

  • zipCode* - Defines the real, valid zip code you want to use to return the data. The value is often referenced from another Attribute using the ZipCodeGen.

  • returnType* - Defines the value returned based on the given valid zip code. Choices include city, county, state, etc.

  • caseType* - Options: capitalize, uppercase, and lowercase.

  • randomAreaCode* - When returnType equals areaCode and the number of areaCodes for a given zipCode is greater than one, if true, then one of the zip codes will be randomly selected. In all other cases the first zip will be selected. 

Example 1: Generate the City for each Zip Code

For this example, the ZipCodeGen Generator has been linked to the ZipCodeMapGen Generator. It will generate random zip codes for all U.S. States, which will then be used to generate the corresponding City Name. 

ZipCodeGen Generator configuration: 

Sample Output