Zip

Take two lists of equal length and combine them into a new list with paired items of the same position.

For example, if you combined [1,2,3] and ["a","b","c"], this function card returns a new list: [[1,"a"],[2,"b"],[3,"c"]]. The input lists can be lists of any type.

Input

Field Definition Type Required
List 1 First list of values.

Click on an empty cell in each list to add a list item. A cell can contain only one list item.

Various FALSE
List 2 Second list of values.

Click on an empty cell in each list to add a list item. A cell can contain only one list item.

Various FALSE

Output

Field Definition Type
list Combination of list1 and list2. List of Text

Related topics

About lists

Functions in Workflows

About the elements of Okta Workflows