I have a button capture card
I set the "Type of value to extract" --> "Raw input"
I then used this dynamic code to generate the buttons:
const listOfQuestions = [
{ label: 'question 1', value: 'Question1' },
{ label: 'question 2', value: 'Question2' },
{ label: 'question 3', value: 'Question3' },
{ label: 'question 4', value: 'Question4' },
{ label: 'question 5', value: 'Question5' },
]
workflow.array1 = listOfQuestions
I added the button payload to the button capture card.
When I click a button it will capture the "label" NOT the "value" like its meant too.
If I then switch the "Type of value to extract" --> "single choice" it will work correctly and capture the "Value" instead of the "label"