Forum Discussion

Stefan31's avatar
Stefan31
Copper Contributor
May 29, 2026
Solved

Routing agent if the answer is not in the agent knowledge

Hello,, I have an agent with knowledge about buildings. The agent can not use web knowledge.  How I can root the agent to do a spezial action if I ask the agent about a different topic? I I want t...
  • SunitaTrivedi's avatar
    May 31, 2026

    You can handle this by setting up a fallback action in Copilot Studio. The idea is simple: your agent has knowledge about buildings, so whenever a user asks about buildings, the agent will answer directly from that knowledge. But if the user asks about something outside that scope, like animals, the agent won’t find an answer. In that case, you can configure the agent’s fallback to trigger a Power Automate flow. That flow can be designed to send an email notification.

    So, the flow works like this:

    • If the question is about buildings → the agent replies from knowledge.
    • If the question is about anything else → the agent triggers fallback → Power Automate flow runs → email is sent.

    I hope this helps!

     

    Thank You