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 to bring the agent to send an email if the question is not in the knowledge.

Example:

When I ask the agent about animals: I like the agent to send an email,

When I aks the agent about buildings: The agent will give me an result form the knowledge.

Thanks for your help 

Stefan

  • 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

2 Replies

  • 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

    • Stefan31's avatar
      Stefan31
      Copper Contributor

      Hello Sunita, thanks. This helps a lot. 

       

      Thank you Stefan