Is it possible to assign a workflow to a number? B...
# 🌎general
g
Is it possible to assign a workflow to a number? Because I would like the chatbot to store the data from the workflow, not the number. (If it works it might be useful for me because it would allow me to have many possibilities e.g if the user said 1 and 2, then the chatbot would store the data @workflow.budget + @workflow.age)
f
You mean a workflow variable of type number?
check this:

https://www.youtube.com/watch?v=izDdQ8_6omM

https://www.youtube.com/watch?v=deElt8Blwh0

https://www.youtube.com/watch?v=mUbejiHGksM

g
the prompt on the image is what I would like the AI to do
@famous-jewelry-85388
f
Sorry it is not clear for me what you want to do.
Let's take business and then we can apply it on Botpress easily
The prompt itself is not clear to me, for example:
User's answer containe the number 1
Where is the "User's answer" as an input?
store data from @workflow.budget
store it where?
This is a bit old video but it should give you the essence on how to enhance how you use the AI Task:

https://www.youtube.com/watch?v=S5t-e81UF-g

That's for the AI Generate:

https://www.youtube.com/watch?v=QIXjF4JcTqQ

In addition, if you have time, I would recommend watching this 1 hour course about prompting: https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/
However, I will continue to support you, but I need to understand the business first.
g
I was trying to find a way to maybe add up data for a multiple answers but I abandonned this idea it was too much complicated (or seems to much complicated to do) so I dropped down the selection to only 1. All you gotta know is that I was trying to find a way to make multiple selection, but since it was too hard or not possible I just abandonned, and the AI task was only a test,it's just not useful anymore to me.
And as of now, I am not having problem with AI task card with what I'm currently building as an alternative
I know it's not clear, I'm not good at expressing my thoughts and not a native english speaker
Anyways thanks for taking the time to answer my questions
f
Quick question, do you want to fill a choice field with dynamic choices?
I am not a native English speaker my self 🙂 Google Translate helps me a lot 🙂
Anytime, one team 💪 🙂
g
The roots of my questions are just coming from the fact that I didn't and still don't know how to have a user answer select more than one answer in a multiple choice
Because, as you know a user can user 1 or 2
but can't answer 1 and 2 at the same time in a multiple choice
f
That is not possible by clicking on the choices, it is possible by writing their answer
I hope that was helpful