web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to organize topics
Copilot Studio
Unanswered

How to organize topics

(0) ShareShare
ReportReport
Posted on by 28

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

I have the same question (0)
  • remidyon Profile Picture
    Microsoft Employee on at

    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.

  • Sharmilshah Profile Picture
    28 on at

    Sure @remidyon Here are the screenshot of my Topics and Flow topic: 
    2024-01-12_16-54-06.png
    I have thought of managing the chatbot as follows: 

    • User starts interaction with chatbot through "Greetings" topic where user is asked a question to select category. This answer is stored in Global Category variable.
    • Once user select the category, topic is redirected to relevant category. I have created 1 topic for each category. 
      • User is asked 3 questions to select sub category (global choice variable), share email ID (Global string variable) and share notes (global string variable).
      • I set all 3 variable into power flow variables and pass it to flow
      • Flow is managed through different topic where existing topic is redirected and flow runs.

    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.) 

  • remidyon Profile Picture
    Microsoft Employee on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 226

#3
Arild Aarnes Profile Picture

Arild Aarnes 73 Super User 2026 Season 1

Last 30 days Overall leaderboard