🤖 Copilot Studio Agent Development

Designing Topics in Microsoft Copilot Studio

Learn how to design smarter conversational agents by understanding System Topics, collaborating with your team using topic comments, and controlling agent behavior through topic triggers.

This guide walks through the essential building blocks of topic design in Copilot Studio— from built-in system behaviors to collaborative development practices and advanced trigger configurations that determine how and when your agent responds to users.

System Topics
Topic Comments
Topic Triggers

Using System Topics in Microsoft Copilot Studio

When building conversational agents in Microsoft Copilot Studio, not every part of the conversation needs to be designed from scratch. The platform already provides built-in conversation flows called system topics.

System topics automatically handle common situations such as greeting users, responding when a question can't be matched, escalating to a human agent, or ending the conversation. These built-in capabilities help developers build reliable agents faster without manually designing every interaction.

Tip: System topics cannot be deleted, but they can be disabled if they are not needed for your agent experience.

What Are System Topics?

System topics are preconfigured conversation topics that come automatically with every agent created in Copilot Studio. They are designed to handle important conversation events and maintain a smooth user experience.

Unlike custom topics that developers create manually, system topics already contain the logic needed to manage key conversational moments.

  • Greeting users when a conversation starts
  • Handling unmatched user questions
  • Escalating conversations to human agents
  • Managing authentication requests
  • Resetting or restarting conversations
  • Ending conversations gracefully

How System Topics Are Triggered

System topics are triggered automatically when specific events occur during a conversation. For example, they may run when a conversation begins, when the bot fails to understand a message, or when the user requests to speak with a human agent.

  • Triggered by conversation events
  • Activated by matching user phrases
  • Triggered when errors occur
  • Manually invoked through conversation redirection

Why System Topics Matter

System topics act as the backbone of your agent’s conversation logic. They ensure that common interaction scenarios are handled consistently and professionally without extra development effort.

  • Reduce development time
  • Ensure consistent conversation flow
  • Improve user experience
  • Provide built-in fallback and error handling

Important System Topics

Conversation Start

Automatically greets users and introduces the agent when a conversation begins. It sets the tone and informs users about what the agent can help with.

Conversational Boosting

Generates answers from external knowledge sources when the bot cannot match a user query to an existing topic.

Fallback

Activated when the agent cannot understand the user's message. It asks the user to rephrase or try again.

Escalate

Allows users to speak with a human agent when the bot cannot solve their problem or when the user directly requests assistance.

End of Conversation

Confirms whether the user's question was answered and gracefully closes the conversation session.

Reset Conversation

Clears variables and restarts the conversation so the agent can run using the most recently published configuration.

Other Useful System Topics

Multiple Topics Matched

When a message matches more than one topic, the agent asks the user to choose the correct option.

On Error

Displays a message when an error occurs during a conversation and includes debugging details such as conversation ID and timestamp.

Sign In

Prompts the user to authenticate when the conversation requires access to secure or personalized data.

Final Thoughts

System topics are a core part of building conversational agents in Microsoft Copilot Studio. They provide ready-to-use conversation behaviors that help manage greetings, errors, escalation, and conversation endings.

For developers and designers, the best approach is to first understand how these built-in topics behave before customizing them. Once you are comfortable with conversation design, you can adjust system topics to better match your agent’s personality and business requirements.

Team Collaboration in Topics

Designing agents often involves multiple developers, testers, and stakeholders. Copilot Studio provides a built-in commenting system that helps teams collaborate directly within topic flows.


Create and Reply to Comments in Topics

Comments act as notes attached to items in your agent. They allow team members to collaborate during the design process, provide feedback, or document implementation details directly within the conversation flow.

In Microsoft Copilot Studio, comments can be attached to entire topics or to individual nodes inside a topic. This makes it easy to discuss specific parts of a conversation flow without losing context.

Important Notes:
  • Comments are stored in a Dataverse table inside the default solution.
  • Comments are not exported when an agent is exported.
  • You cannot @mention other makers in comments.
  • New comments appear to other makers after they refresh the page.
  • The topic does not need to be saved for comments to appear.

Comment Threads

When someone replies to a comment, it creates a comment thread. Threads keep discussions organized so teams can focus on a specific issue without mixing unrelated comments.

  • Used for focused discussion about a topic or node
  • Helps prevent confusion between unrelated feedback
  • Threads can be resolved when the issue is complete
  • Threads can be deleted if they are no longer relevant

Using the Comments Pane

The Comments pane is the central place where you manage all comments related to a topic. You can open it by selecting Comments from the top menu bar in the topic editor.

  • Create new comment threads
  • Reply to existing comments
  • Resolve or delete threads
  • Edit or delete individual comments

Types of Comment Threads

Comment Type Description Behavior
Topic-Level Comments Comments attached to the entire topic instead of a specific node. Displayed first in the Comments pane in the order they were created.
Node-Level Comments Comments attached to a specific node within the conversation flow. Displayed based on where the node appears in the topic structure.
Helpful Navigation:
  • Selecting a node-level comment automatically moves the canvas to that node and highlights it.
  • Selecting a topic-level comment moves the canvas to the last selected node in the topic.

Create a Topic-Level Comment

  1. Open the Comments pane.
  2. Select New.
  3. Enter your comment in the comment field.
  4. Select Post comment.
You can also press Ctrl + Enter to quickly post the comment.

Create a Node-Level Comment

  1. Select the three dots (…) on the node.
  2. Choose New comment.
  3. Enter your comment.
  4. Select the Post comment icon.
When a node has comments, a comment icon appears next to it. Selecting the icon opens the comment thread for that node.

Edit, Delete, and Resolve Threads

You can manage an entire comment thread using the three-dot menu at the top of the thread.

  • Edit the initial comment
  • Delete the entire thread
  • Resolve the thread when the issue is addressed
Deleting a thread removes it permanently. Deleted threads cannot be restored.

Edit or Delete Individual Comments

Individual comments within a thread can also be managed. Select the three dots (…) next to your name on the comment.

  • You can edit or delete only the comments you created.
  • Editing a comment does not affect other comments in the thread.
  • Deleting a comment removes it permanently from the thread.
Deleted comments cannot be restored once they are removed.

Controlling When Topics Run

Beyond creating topics and adding comments, another important part of building an intelligent agent is deciding when a topic should activate. Topic triggers allow your agent to react to user messages, system events, and conversation activities.


Set Topic Triggers

Topic triggers determine when a topic should start running during a conversation. In Microsoft Copilot Studio, triggers allow your agent to intercept different types of incoming activities or events and respond with the correct topic.

The default trigger depends on the orchestration model used by your agent:

Generative Orchestration
Uses the trigger "The agent chooses". The agent evaluates the topic name and description on the Trigger node and activates the topic when it determines they match the user’s message.
Classic Orchestration
Uses the trigger "User says a phrase". The topic activates when one or more predefined trigger phrases match the user's message.
Prerequisite: Before configuring triggers, make sure you are familiar with creating and editing topics in Copilot Studio.

Understanding Activities

When a user interacts with an agent, the message is sent as an activity. A message activity is the most common type and occurs whenever a user types or speaks to the agent.

However, agents can also receive other activity types depending on events within the chat platform.

Example: In Microsoft Teams, hidden invoke activities may be sent when a user interacts with features such as message extensions or other interactive elements.

Available Trigger Types

Trigger Type Description
The agent chooses Available for generative orchestration. The topic activates when the agent determines that the topic name and description match the user's message.
User says a phrase Available for classic orchestration. The topic activates when a user's message matches one or more defined trigger phrases.
A message is received Activates when a message activity is received, typically when a user types or says something to the agent.
A custom client event occurs Activates when an event activity is received. You can filter events using the Event name property.
An activity occurs Activates when any activity type is received. You can optionally filter by specifying the Activity type.
The conversation changes Activates when a conversation update occurs. For example, when a user joins a conversation in Microsoft Teams.
It's invoked Activates when an invoke activity occurs. This commonly happens when users interact with message extensions in Teams.
It's redirected to Activates when another topic explicitly calls this topic.
The user is inactive for a while Activates when the user hasn't interacted with the agent for a configured period of time.
A plan completes Available for generative orchestration. Activates when the agent finishes executing all planned steps to answer a user request.
An AI-generated response is about to be sent Activates when the agent generates a response after calling topics, tools, or knowledge sources. You can inspect the response using the Response.FormattedText system variable.
Advanced Control: Set the ContinueResponse variable to false if you want to stop the generated orchestration response and send your own message using a Message node.

Change the Trigger for a Topic

  1. Open the Topics page for your agent.
  2. Select and open the topic you want to modify.
  3. Hover over the Trigger node.
  4. Select the Change trigger icon.
  5. Choose the trigger type appropriate for your scenario.
  6. Edit the trigger properties from the properties panel.

Trigger Configuration Options

When editing a trigger, several properties can be configured to control how and when the topic activates.

  • Activity Type – Filters the trigger for a specific activity.
  • Condition – Defines logic that must be satisfied.
  • Priority – Controls which trigger runs first.
You can also switch to the Power Fx formula editor to create more advanced trigger conditions.

Trigger Priority and Execution Order

Sometimes multiple triggers can qualify for the same incoming activity. In this case, the system follows a defined order of execution.

1. Highest Priority
  • An activity occurs
2. Second Level
  • A message is received
  • A custom client event occurs
  • The conversation changes
  • It's invoked
3. Final Level
  • The agent chooses
  • User says a phrase
If multiple triggers of the same type qualify, they run in the order they were created (oldest first). You can adjust the Priority property to explicitly control execution order.