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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / autonomous copilot age...
Copilot Studio
Suggested Answer

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

(1) ShareShare
ReportReport
Posted on by 2
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
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,976 Moderator on at
     
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 579

#2
Vish WR Profile Picture

Vish WR 191

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard