Skip to main content

Split an address into its elements

Splits an address into its individual elements.

This Wrk Action uses AI-generated content. Like all AI content, use with caution; information may be outdated, incomplete, or inaccurate.

Common use cases

  • Text transformation

Application

  • OpenAI GPT

Inputs (what you have)

NameDescriptionData TypeRequiredExample
AddressAddress to split into individual elementsText(Long)YesATTN: PAYMENTS DEPARTMENT 1250 Boulevard René-Lévesque O Suite 2200, Montréal, QC H3B 4W8 Canada

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NameDescriptionData TypeRequiredExample
Unit numberUnit number of the address providedText(Short)NoSuite 2200
AttentionAttention details of the address providedText(Short)NoPAYMENTS DEPARTMENT
Street numberStreet number of the address providedIntegerNo1250
StreetStreet name with directional indicator (if applicable) of the address providedText(Short)NoBoulevard René-Lévesque O
CityCity of the address providedText(Short)NoMontréal
State/ProvinceState or Province of the address providedText(Short)NoQC
Postal codePostal code of the address providedText(Short)NoH3B 4W8
CountryCountry of the address providedText(Short)NoCanada

Outcomes

NameDescription
SuccessThis status is selected if the elements of the address can be extracted.
No ResultThis status is selected in the event of the following scenarios:The AI is unable to retrieve the address elements from the provided address and does not return JSON in the result.
Impossible to completeThis status is selected in the event of the following scenarios:External system is not available