Skip to content

Create a list

In Power Automate Desktop, a variable that can hold multiple values is called a “list”.

This article explains how to create a list.

The action used in this article is “Create new list”.

The action has the following parameter.

Parameter Value
Variables produced The variable name of the list to create

action

As a sample, here’s a flow that creates a new list and adds three values to it.

Copy the following code and paste it into the Power Automate Desktop flow designer to add the actions.

Variables.CreateNewList List=> List
Variables.AddItemToList Item: 1 List: List NewList=> List
Variables.AddItemToList Item: 2 List: List NewList=> List
Variables.AddItemToList Item: 3 List: List NewList=> List
  1. In “Search actions”, type “Create new list”.
  2. Set the variable name for the list you want to create and save the action. This defines a list that can hold multiple values.

Besides the “Create new list” action used here, you can also create list data with the “Convert JSON to custom object” action.

For details, see this page.