Return from a Child Agent to a Parent Agent in Copilot Studio

Phillips, Kaelyn 10 Reputation points
2025-07-21T15:04:59.3966667+00:00

Hello!

I am building an agent in Copilot Studio and have multiple "child agents" that it goes to when seeking answers.

The challenge I face is that I can't get back to the "parent agent." I want the child to answer the question, but then the user may have other questions and I need to loop back to the parent to get the right answers.

How do I direct the child to connect back to the parent?

Thank you!

Microsoft Copilot | Microsoft 365 Copilot | Development

4 answers

Sort by: Most helpful
  1. Phillips, Kaelyn 10 Reputation points
    2025-07-23T16:24:58.4033333+00:00

    Thank you, Karan. This is more clear. I have done the following:

    1- In the Parent/ Router Agent, I have created a topic called Return.

    • The trigger is "It's redirected to" because I couldn't find another trigger that's closer.
    • It looks for the phrase "I have another question."

    2- In my Child Agent, when I want to return to the Parent, I have the user click "I have another question."

    Everything works up to that point. However, every time, I get "SystemError." as the code. It doesn't give me more information but that's what it tells me.

    I've tried with two different Child Agents and I get the same thing.

    Any thoughts?

    Thank you!

    Was this answer helpful?

    2 people found this answer helpful.

  2. Lab Admin 2 0 Reputation points
    2025-08-21T05:12:20.8066667+00:00

    This YouTube video demonstrates a modern, smarter method for calling multiple child agents and passing them to the parent agent; it eliminates the need for custom topics and actions, utilizing pre-built features and prompt instructions: https://youtu.be/00VI-wQB868

    Was this answer helpful?

    0 comments No comments

  3. Phillips, Kaelyn 10 Reputation points
    2025-07-22T17:45:21.3233333+00:00

    Thanks so much, Karan, for this super detailed answer!

    One challenge is this- I cannot connect the Parent Agent TO the Child Agent and the Child Agent TO the Parent Agent. It only allows the Parent Agent to connect if the Child Agent isn't already connected to an agent. So, as soon as I connect the Child Agent to the Parent Agent, the Parent can no longer connect to the Child.

    And, if I don't connect the Child to the Parent, then I can't transfer from the Child back to the Parent.

    Additionally, I tried having multiple topics in a single agent, but the topics are similar enough that the agent couldn't identify the triggers properly (no matter how detailed the instructions...)

    Any thoughts?

    Thank you!

    Was this answer helpful?


  4. Karan Shewale 2,585 Reputation points Microsoft External Staff
    2025-07-22T08:13:59.6766667+00:00

    Hi Kaelyn,

    This is a great question about multi-agent orchestration in Copilot Studio. Currently, there are some limitations with agent-to-agent handoffs, but here are the available approaches:

    Current Solutions

    1. Using "Transfer to Agent" Action (Recommended)

    In your Child Agent:

    Add a "Transfer to agent" action at the end of your topic

    Select your Parent Agent from the dropdown

    This creates a handoff back to the parent

    Configuration:

    Go to your child agent topic

    Add action: "Transfer to agent"

    Select: [Your Parent Agent Name]

    Add a message like: "Transferring you back to the main assistant"

    2. Parent Agent Topic Management

    In your Parent Agent:

    Create a "Welcome Back" topic that triggers after child agent returns

    Use conversation variables to track context

    Set up routing logic to handle follow-up questions

    Example Flow:

    3. Using Global Variables for Context

    Before transferring to child:

    In parent agent, create trigger:

    Trigger condition: Global.ConversationContext = "ChildAgentComplete"

    Response: "I'm back to help with any other questions!"

    Current Limitations

    Important Notes:

    No automatic return: Child agents don't automatically return to parents

    Manual transfer required: You must explicitly add "Transfer to agent" actions

    Context loss: Some conversation context may be lost during transfers

    Single direction: Each transfer is a one-way handoff

    Alternative Architecture (Better Approach)

    Consider restructuring your solution:

    Single Agent with Multiple Knowledge Sources

    Instead of multiple child agents, use:

    Single parent agent with multiple topics

    Knowledge sources (SharePoint, files, etc.) for different domains

    Conditional topic routing based on user intent

    Benefits:

    No transfer complexity

    Better context retention

    Smoother user experience

    Implementation:

    Recommended Implementation

    Step-by-step:

    In each Child Agent topic:

    End with: "Is there anything else I can help you with?"

    Add: "Transfer to agent" → Select Parent Agent

    In Parent Agent:

    Create a "Welcome Back" topic

    Trigger: After agent transfer

    Message: "I'm here to help with any other questions!"

    Test the flow:

    User asks question → Parent routes to Child

    Child answers → Transfers back to Parent

    Parent ready for next question

    Future Considerations

    Microsoft is working on improving multi-agent orchestration, so this workflow may become more seamless in future updates.

    Thanks,  

    Karan Shewale. 

    *************************************************************************  

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

    Was this answer helpful?

    0 comments No comments

Your answer

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