Button creation in Copilot Studio that trrigers a specific topic

Maria-Loredana Cobzaru 0 Reputation points
2024-09-12T13:17:56.8033333+00:00

Hello,

 

Is there a way to add custom buttons in a copilot studio chatbot build for teams?

The desired  functionality is this one:

Once we press the button to trigger a specific topic for the user?

The button can be as it is currently build in Copilot for Ms365.(below picture).Screenshot 2024-09-12 161645

Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
137 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
300 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shagupta Maniyar-MFST 0 Reputation points Microsoft Vendor
    2024-09-18T10:46:16.5366667+00:00

    Yes, you can add custom buttons in a Copilot Studio chatbot for Teams to trigger specific topics. This functionality is similar to the buttons in Microsoft 365 Copilot. Here are the steps to achieve this:

     

    1. Create a new trigger : In Copilot Studio, open your bot and create a new trigger. This trigger will be associated with the button you want to add1.](https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4)."https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4).")

     

    1. Show an Adaptive Card : Use an Adaptive Card to display the button in your chatbot. Adaptive Cards are a way to present richly formatted content in a consistent way1.](https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4)."https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4).")

     

    1. Add the button to the Adaptive Card: In the Adaptive Card, add a button element. This button will be configured to trigger the specific topic you want1.](https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4)."https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4).")

     

    1. Configure the button action: Set the action for the button to trigger the desired topic. This can be done by specifying the action type and the associated trigger1.](https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4)."https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4).")

     

    1. Test and publish: Once you have configured the button, test it to ensure it works as expected. After testing, you can publish your chatbot with the new button functionality1.](https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4)."https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-bot-framework-composer-example4).")

     

     


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.