web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Copilot Studio - Autonomous Agents
Suggested answer

autonomous copilot agent sending multiple responses from a trigger when a email arrives

(0) ShareShare
ReportReport
Posted on by
We have built a copilot autonomous agent that handles new emails and reply.
 
its working really well and grounded to our knowledge base.  
 
it uses a trigger 'when email arrives v3'.  we have modified the trigger so it ignores keywords in the subject line and from particular email addresses (like noreply).  and we use a send an email v2 to send a reponse
 
the only issue we are having if emails come in near the same time, it replies with multiple copies e.g.
 
If sender A and Sender B sends an email and arrives at or near the same time (i am not sure what the polling times are with that trigger), then the following happens
 
Sender A and Sender B gets a response twice!  
 
when we look at the runned flows, we can see that there are two emails in the when a new mail arrives.  each time there is a response to the copilot for the object.  which is two emails.  so the foreach will send a object back with two emails, and the second iteration will send another email object with two emails.
 
the foreach gets added automaticaly when we put a condition in
 
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    52,433 Super User 2025 Season 2 on at
    autonomous copilot agent sending multiple responses from a trigger when a email arrives
     
    Double check the settings of your trigger, make sure Split On is on so that it only processes 1 at a time no matter what. Since its a trigger, you should be able to jump directly into the flow from CP (I know thats a duh statement) but for others.
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 302 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 77 Moderator

Last 30 days Overall leaderboard