Get List Item step

Introduction

The "Get List Item" step retrieves a specific item from a list based on the selected mode. This step is useful for accessing elements within a list in various ways, such as retrieving the first, last, or a random item, or by a specific index.

Configuration

  • List: The list from which an item will be retrieved. This parameter is required and must be of a type that supports lists.

  • Mode: Determines how the item will be selected from the list. This parameter is required and offers the following options:

    • First: Retrieves the first item in the list.

    • Last: Retrieves the last item in the list.

    • Random: Retrieves a random item from the list.

    • By index: Retrieves an item based on a specific index.

  • Index: Specifies the index of the item to retrieve when the "By index" mode is selected. This parameter is required only if "By index" is chosen as the mode.

Outputs

  • Item: The item retrieved from the list. This output corresponds to the specific item based on the mode and index provided, and can be used in subsequent steps of the automation.

Last updated