```js workflow.myChoices = [] const generated_text...
# đź’»developers
a
Copy code
js
workflow.myChoices = []
const generated_text = ['generated text 1', 'generated text 2', 'generated text 3']
generated_text.map((item) => {
  workflow.myChoices.push({
    label: item,
    value: item
  })
})