Forum Discussion
Agent response duplicated in email
Thank you for your response.
The behaviour is independent from having a variable in between or not. Here are some screenshots.
Here is what I do in the agent 3, where I summarize the output of agent 1 and agent 2.
And this screenshot shows the email send node setup.
Any idea what I can change to get it solved?
Thanks again for checking. I appreciate the help!
Steffen
- sohnashAug 12, 2026Iron Contributor
Hello Spitzinger, may be checking these would help? And let me know if you've already managed to fix it!
- For the agent 1 and agent 2 (which are only doing research), is it set as "Don't respond" under "Completion" - I'm not sure what this section is called in the new GitHub Copilot harness but you should be able to it
- In agent 3, did you consider adding extra instructions like
- Do not create additional or duplicate answers
This resource might give you some insights too - https://learn.microsoft.com/en-us/answers/questions/5840426/copilot-studio-duplicate-responses-returned
If you can share a screenshot of the email that shows how the content appears, that would be helpful :)
- SpitzingerAug 12, 2026Copper Contributor
Hi sohnash,
thanks for checking my flow.
- Unfortunately I do not find the "Don´T respond"-setting. I do not have "Completion"-section.
- In Agent 3, I specifically mention that duplicates should be removed
Later in the email node I add a general text which appears only once.
The email output looks like the following:
Any idea?
Thanks for all your help
- sohnashAug 13, 2026Iron Contributor
Thanks for sharing the details, Spitzinger :). As the general text you've added displays only once, I think this has something to do with merging the responses.
A few options for you to try
- Can you display Agent 1 result and Agent 2 result in the email (or as an output message) so you can see what is the content of these two responses?
- Instead of using Agent 3 just for the purpose of combining results, are you able to use a "create generative answers" action or another relevant action that's available in the new experience?
- I wonder if this is related to the new experience (as you are using the new GitHub Copilot harness for this agent).
- Do you think you could try doing this in the standard harness experience? Here when you create connected agents, you will see a "Don't respond" option under "Completion". I'm also wondering may be this use case doesn't need the GitHub Copilot harness & could work with the standard harness.
- CoralieSimonaireAug 10, 2026Iron Contributor
Thanks for sharing the screenshots.
I don't see anything obviously wrong in the configuration shown. The email body appears to contain only a single Agent 3.Agent Response token, although the advanced settings of the Send Email action aren't visible.
At this point, I'm not able to tell where the duplication is being introduced based on the screenshots alone.
The most useful next step would be to review:
- The output of Agent 3 from the run history.
- The exact content of the received email showing the duplication.
- The Send Email advanced settings, if possible.
That should help narrow down whether the duplication is already present in the agent output or whether it is introduced later in the email process.