Return element transform action
Last updated
Was this helpful?
You have a list of users and you would like to grab the first user in the list.
Returns the Nth element of a string or list
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.
Input:
Element: 0
Input String or List:
[
{
"id": 1,
"user": "Bob"
},
{
"id": 2,
"user": "Kim"
},
{
"id": 3,
"user": "Magnus"
},
{
"id": 4,
"user": "Karin"
},
]Result of example 1:
Last updated
Was this helpful?
Was this helpful?
{
"id": 1,
"user": "Bob"
}