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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to Change system t...
Copilot Studio
Unanswered

How to Change system topic Multiple Topics Matched response to a Vertical

(0) ShareShare
ReportReport
Posted on by

Hi,

 

if anyone can help, I am wondering if its possible to change system topic Multiple Topics Matched response to a Vertical and if so what I would need to change in the code. I am using the web PVA.

 

Cheers for any help.

I have the same question (0)
  • mboninco Profile Picture
    on at

    @Old_man_rolly 

    The following forum post has a solution that may work for you: 

     

    Solved: Customize the options display - Power Platform Community (microsoft.com)

     

    -- Mike Bonincontri

  • HenryJammes Profile Picture
    on at

    Hi @Old_man_rolly,

     

    As @mboninco, you can likely address this on the client side (i.e. your chat replies displays the suggested actions / quick replies.

     

    Alternatively, you may choose to display the Multiple Topics Matched options using an adaptive card.

    I played around a little bit and got to that result:

     

    HenryJammes_0-1696647995170.png

     

    You can do the same by replacing the Multiple Topics Matched topic YAML with the below code.

    You can access the code by click this top right corner option:

     

    HenryJammes_1-1696648061605.png

     

    Maybe do a backup of your existing code before pasting mine.

     

    kind: AdaptiveDialog
    beginDialog:
     kind: OnSelectIntent
     id: main
     actions:
     - kind: SetVariable
     id: setVariable_M6434i
     variable: init:Topic.IntentOptions
     value: |-
     =Sort(
     System.Recognizer.IntentOptions, 
     Score, 
     SortOrder.Descending
     )
    
     - kind: EditTable
     id: sendMessage_g5Ls09
     changeType: Add
     itemsVariable: Topic.IntentOptions
     value: "={ DisplayName: \"None of these\", TopicId: \"NoTopic\", TriggerId: \"NoTrigger\", Score: 1.0 }"
    
     - kind: Question
     id: question_zf2HhP
     interruptionPolicy:
     allowInterruption: false
    
     alwaysPrompt: true
     variable: Topic.SelectedOption
     prompt:
     text:
     - "To clarify, did you mean:"
     attachments:
     - kind: AdaptiveCardTemplate
     cardContent: |-
     ={
     type: "AdaptiveCard",
     '$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
     version: "1.5",
     body: 
     ForAll(Topic.IntentOptions,
     {
     type: "Container",
     items: [
     {
     type: "ActionSet",
     actions: [
     {
     type: "Action.Submit",
     title: DisplayName,
     data: DisplayName
     }
     ]
     }
     ]
     }
     )
     }
    
     entity: StringPrebuiltEntity
    
     - kind: SetVariable
     id: setVariable_HazjLn
     variable: System.Recognizer.SelectedIntent
     value: |-
     =LookUp(
     Topic.IntentOptions, 
     DisplayName = Topic.SelectedOption
     )
    
     - kind: ConditionGroup
     id: conditionGroup_60PuXb
     conditions:
     - id: conditionItem_rs7GgM
     condition: =System.Recognizer.SelectedIntent.TopicId = "NoTopic"
     actions:
     - kind: ReplaceDialog
     id: YZXRDb
     dialog: cc_ContosoCoffeeBot.topic.Fallback

     

    You also need to fix the redirect to the Escalate topic at the end:

     

    HenryJammes_2-1696648240144.png

     

    Let me know if that helps.

    Henry

  • LimeLeaf Profile Picture
    278 on at

    Would be awesome if Micosoft would be adding this as a setting to show the matched responses vertically.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard