Lesson 3 of 5 Copilot Studio Agent Design

Designing Topics and Fallback in Copilot Studio

This lesson explains custom topics, system topics and the design of fallback behaviour.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe principles of good topic design.
  • Identify the purpose of each system topic.
  • Explain how to design an effective fallback.

Custom topics

A topic has a trigger and a sequence of nodes. Under classic orchestration, the trigger is a set of phrases; under generative orchestration, the topic's description is what the orchestrator reads to decide whether the topic applies. Nodes send messages, ask questions with entity validation, branch on conditions, set variables, call tools or agent flows, generate answers from knowledge, and redirect to other topics.

Good topic design follows a few principles. Each topic should cover one coherent task, such as change a delivery address, so that its description is unambiguous. Questions should use entities that validate the answer, such as a date or an order number pattern. Shared steps, such as identity verification, should be separate topics reached by redirect, so that they are maintained in one place. Messages should be short, and longer content belongs in knowledge rather than in topic text.

System topics

Every agent has system topics that handle situations common to all conversations. The following table describes those most relevant to design.

System topicPurposeTriggered when
Conversation StartGreets the user and sets contextA conversation begins
FallbackTells the user the query could not be matched and asks them to try againNo topic matches, or an ungrounded answer is blocked
Conversational boostingCreates generative answers from knowledge sourcesNo topic matches (classic orchestration)
Multiple Topics MatchedAsks the user to choose between close matchesSeveral topics match closely (classic orchestration)
EscalateTells the user they need a human and starts hand-offThe user asks for a person, or the Escalate event fires
On ErrorReports user errors with an error code, conversation ID and timestampAn error occurs
End of ConversationConfirms resolution and can ask for satisfactionA topic ends the conversation

System topics can be customized, and their design matters as much as custom topics, because they decide what happens in the conversations that do not go to plan.

Designing fallback

Fallback is the safety net, and the design question is what the agent should do when it cannot help. A poor fallback repeats I did not understand until the user gives up. A good fallback design considers the following.

  • Rephrase and offer choices: suggest the main things the agent can do, so that the user can continue.
  • Count attempts: after two or three fallbacks in a conversation, escalate to a person or offer another channel instead of repeating.
  • Use knowledge where appropriate: under classic orchestration, Conversational boosting answers from knowledge before fallback is reached.
  • Make gaps visible: fallback events are analytics data that show which requests the agent cannot handle, which feeds the backlog of new topics and knowledge.

Under generative orchestration with Allow ungrounded responses turned off, an answer that no knowledge source or tool supports is blocked and the Fallback topic runs. This is often the intended behaviour for authoritative agents, so the fallback message should explain that the agent has no approved information on the subject and direct the user elsewhere.

Worked example

Redesigning a frustrating fallback

Analytics for a retailer's customer agent show that 18 percent of sessions end in abandonment after the Fallback topic has run three or more times. Transcripts show customers asking about returns for marketplace sellers, which the agent's knowledge does not cover. What should you recommend?

Two changes are needed. The immediate change is to redesign the Fallback topic: offer the main options after the first fallback, and escalate to a representative or offer the returns form after the second, using a variable that counts fallbacks in the conversation. The lasting change is to treat the marketplace returns questions as a backlog item: add approved marketplace returns content as a knowledge source, or a topic if a fixed process applies, and then monitor whether fallback and abandonment rates fall.

Check yourself

Under generative orchestration with Allow ungrounded responses off, what happens when no source supports an answer?

Show answer

The answer is blocked and the Fallback topic runs.

Exam Tips

Remember for the exam

  • One topic per coherent task; shared steps as separate topics reached by redirect.
  • Under generative orchestration, topic descriptions decide selection.
  • Fallback runs when nothing matches, or when an ungrounded answer is blocked.
  • Count fallbacks and escalate after two or three; feed fallback data into the backlog.