early-train-33247
06/02/2023, 8:05 PMjs
workflow.button_options = ['OPTION 1️⃣', 'OPTION 2️⃣', ...]
However the capture card message and options never show up on whatsapp.
I can see that the message is sent on the logs - Dialog [913b] Sending Message. Type: choice. Text: 💬 Which option do you want?
I am aware there is a problem happening with choices, but I am not sure if this issue here is a symptom or another bug.
Cheersacceptable-kangaroo-64719
06/05/2023, 10:45 AMbutton_options = [
{
label: 'Option 1',
value: '1'
},{
label: 'Option 2',
value: '2'
}
]
Where label
is what's shown to the user and value
what's sent back to the chatbotcuddly-gpu-96563
06/05/2023, 11:32 AMacceptable-kangaroo-64719
06/05/2023, 11:34 AMcuddly-gpu-96563
06/05/2023, 11:57 AMacceptable-kangaroo-64719
06/05/2023, 12:00 PMevent.preview
, which is the user's message. If your AI task is outputting workflow.checkProduct
or workflow.userProduct
, then that should be the variable used in the transition.cuddly-gpu-96563
06/05/2023, 12:03 PMcuddly-gpu-96563
06/05/2023, 12:04 PMcuddly-gpu-96563
06/05/2023, 12:06 PMacceptable-kangaroo-64719
06/05/2023, 12:08 PMworkflow.var
variables without issueacceptable-kangaroo-64719
06/05/2023, 12:09 PMworkflow.usrProduct
instead of event.preview
?cuddly-gpu-96563
06/05/2023, 12:12 PMcuddly-gpu-96563
06/05/2023, 12:18 PMcuddly-gpu-96563
06/05/2023, 12:19 PMearly-train-33247
06/05/2023, 2:32 PM