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 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
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
11manish Profile Picture

11manish 225

#2
sannavajjala87 Profile Picture

sannavajjala87 224 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 201

Last 30 days Overall leaderboard