Announcements
Hello,
I have created a chatbot which starts by asking the user to select a category from total 5 categories. I have created 5 topics, 1 for each category which has further set of questions including selecting sub category and 2 more questions. Once user gives answer to these questions, bot runs a flow and return the result back to user. Now I am trying to figure out a way if I can organize the topics in a way by creating a separate topic for flow and when each topic needs to run a flow it redirects to flow topic.
Problem with this approach is that I need to create global variable and it is not possible because in category topic there is a question to select sub category which is different for each of the category. Is there any other way where I need not to integrate Flow for each of the topic and can be managed from one topic?
Thanks
Hi @Sharmilshah
Could you share some screenshots of your topics / sub topics and flow? Is the flow always the same or different? Why is it a problem to create multiple global variables to get the user input and execute the correct flow?
Another option coult be to create one flow that accept multiple parameters (like category and subcategory) and then from Power Automate you call the appropriate subflow depending on the parameters? That way you have one single flow topic in Copilot and you maintain the flow logic in Power Automate.
Sure @remidyon Here are the screenshot of my Topics and Flow topic: I have thought of managing the chatbot as follows:
From all the sub category topic, only 1 topic works fine but in rest all topic it throws the error as "Variable is being set to an incorrect type. Assigned EmbeddedOptionSet, expected: EmbeddedOptionSet"
My confusion is why it works for 1 topic and doesn't work for another? I have attached YAML file also for reference (Greeting Topic, 2 Subcategory where bot is working for 1 and not working for another.)
Hi @Sharmilshah,
See my response in the other discussion: you need to create an entity with all options, that way you will be able to pass it to your global variable.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 572
Haque 154
chiaraalina 144 Super User 2026 Season 1