Add elements to a list

jetFlow.io > Documentation  > Workflow Actions  > Add elements to a list

Add elements to a list

This workflow action adds elements to the copy of a specified list. If no list is specified, it creates a new, empty list and populates it with specified values. The resulting list is available in the next action with the variable {PREVIOUS}. To make it available throughout the rest of the actions in the workflow, use Push results to a list.

Add elements to a list in a WordPress automation workflow

Add elements to a list in a WordPress automation workflow

You can specify any kind of keys; numerical indexes or string keys. To add elements to a multidimensional list, you need to specify keys by using dot notation. For instance, to set a new element with a name key in the first row, use this key: 0.name

If an element is already in the list, it will not be overwritten unless you enable “Replace elements if they exist in the list”. In this case an existing element will be set to a new, specified value.

To take an opposite action and delete elements from a list, use the Remove elements from a list action.

 

No Comments

Sorry, the comment form is closed at this time.