Create Array Variable - Invalid Value Error

I’m trying to create an Array variable for the first time. Not sure how to get past this ‘Invalid value’ error. Any help appreciated!

You would need to type [‘Hourly’, ‘Monthly’, ‘One-time’]

You need to input a valid JSON, something like:

[
"hello", 
"workd"
]

or

[
["hello"],
["world"]
]

remember to use double quotes " for strings

Thanks that worked. :slightly_smiling_face:

Follow up question please @gbeaudoin. How do I store both a label and value for each item? Similar to what WeWeb allows in the UI for dropdown values:

do you mean how to store them in a variable?
You can try something like this:

[
{"label":"Hourly", "value":"hourly"},
{"label":"One-time", "value":"onetime"}
]

Yep that’s what I meant. Thanks @dorilama!