Skip to main content

How to create an Adaptive Card list

Pick the array from your incoming JSON that you wish to generate the list with, frequently this would the items array.

Array of items in JSON

In that case, we want a container in our Adaptive Card to be repeated for each item that we find in the array. This repetition will result in our list. To achieve this, enter into the Data context input {$items} or whatever the name of your desired array is.

To check if the list is generated as expected, simply flick the Preview mode on and off.