Get an Item from a List (Array) Using the "Pick from Array" Helper

Keragon’s Pick from Array helper enables you to efficiently retrieve a specific item from a list (array) within your workflow. This is particularly useful when you need to consistently select the first, last, or a specific position in a list of values.

How to Use the Pick from Array Helper

00:00: This guide will assist you in officially retrieving, an item from a list using 00:04: Kerrigan's pick from array helper. 00:07: Click the plus button on your canvas to add a new action. 00:11: Select the helper actions from your tabs. 00:14: Select the data helpers. 00:17: Select the option to extract an item from a list. 00:21: Click the curly braces icon to mapping a r, a list data 00:25: from your previous steps to this helper. 00:28: Click the input. 00:31: Find your array list data. 00:34: Choose the desired list or a dead I taught you want to pick an item 00:38: from it. 00:40: Select the position of the item. 00:43: Click save to save your configuration. 00:46: Verify the functionality of the helper. 00:49: Examine the resulting output. 00:52: The guide cover the process of extracting, an item from a list in Kerrigan.

  • Open your workflow editor.

  • Click the + icon to add a new step.

  • In the step selection panel, click "Helpers".

  • From the Helpers options, select "Data Helpers".

  • Choose the "Pick from Array" action.

Configure the Helper

  • Click the {} icon to open the variable selector and map the array (list) data from a previous step.

  • Click the Input field and select the array variable.

  • Select the Position of the Item to Retrieve:

    • First: Returns the first item in the list.

    • Last: Returns the last item in the list.

    • Custom: Specify a custom index to return the item at that position (Index starts at 0).

  • Click "Save" to apply changes.

  • Click "Test Step" to preview the result.

  • Go to the Outputs tab to view the retrieved item.

Example Usage:

  • Input Array: ["Apple", "Banana", "Cherry"]

  • Position: First

  • Output: "Apple"

  • Position: Custom (Index 1)

  • Output: "Banana"

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more