store multiple elements in a single cell but with ...
# 🤝help
i
Hey thanks Robert for your help but I needed to know if I could save new element from the same variable one after the other in the same cell of the table, like if there is multiple entries from @workflow.Soup as the user might have multiple orders. How would I save it without making the table bigger with multiple rows.
n
Hello! You can create a "response filter" using AI Task and a prompt that returns a specific value based on the response. AI Task will give the possibility of understanding the context of the customer's message
For example, I ask it to return a number based on the customer's response and save it in the switcher variable Within the same node I place an "expression" card that checks the value of the switcher variable. "switcher contains X (number I define)". https://cdn.discordapp.com/attachments/1236089933941178398/1236316257775652944/image.png?ex=663790bd&is=66363f3d&hm=51c1962f8da3b0c8aa0e7bb76ebe469ce185424f6a7d15da619ce03b0dc6049d&
Through response filters, you no longer need to create a flow with several branches for each type of response.
Your BOT will also be much more humanized, as it understands the first message and doesn't have that boring pattern of "Enter a number to talk to the desired sector"
i
Can't I do it with multiple choice card ?
i
Thanks a lot 🙏🏻
f
You are very welcome!
i
Yes, it will💯. Then what's the difference between a Raw-input & Multiple-choice card!?
f
The raw input will store it as a string
You can try them both, and see the difference
i
In a multiple-choice card, it's not selecting more than one option. (it's acting like a single-choice card)
f
You can't click more than one, but you can type them in