Skip to main content
All CollectionsWrk Action LibraryOpenAI
Split an address into its elements
Split an address into its elements
Wrk Product avatar
Written by Wrk Product
Updated over a year ago

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)

Name

Description

Data Type

Required

Example

Address

Address to split into individual elements

Text(Long)

Yes

ATTN: 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)

Name

Description

Data Type

Required

Example

Unit number

Unit number of the address provided

Text(Short)

No

Suite 2200

Attention

Attention details of the address provided

Text(Short)

No

PAYMENTS DEPARTMENT

Street number

Street number of the address provided

Integer

No

1250

Street

Street name with directional indicator (if applicable) of the address provided

Text(Short)

No

Boulevard René-Lévesque O

City

City of the address provided

Text(Short)

No

Montréal

State/Province

State or Province of the address provided

Text(Short)

No

QC

Postal code

Postal code of the address provided

Text(Short)

No

H3B 4W8

Country

Country of the address provided

Text(Short)

No

Canada

Outcomes

Name

Description

Success

This status is selected if the elements of the address can be extracted.

No Result

This 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 complete

This status is selected in the event of the following scenarios:

  • External system is not available

Did this answer your question?