Return element transform action

Use case

You have a list of users and you would like to grab the first user in the list.

Overview

Returns the Nth element of a string or list

A screenshot of the set return element transform action, seen in the actions list menu of the workflow builder canvas.

Parameters

Parameter
Description
Required

Element

Element number to Return, starting at 0 for the first element. -1 will return the last element

Input String or List

String or list that you would like to return the element of.

Usage

Example 1: Return the first user in a list of users

Input:

Element: 0

Input String or List:

Results output

Result of example 1:

Last updated

Was this helpful?