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 / auto reply agent not w...
Copilot Studio
Suggested Answer

auto reply agent not working

(1) ShareShare
ReportReport
Posted on by 7
Hi guys, first time user of Copilot studio, i want to to reply to outlook emails that come into a customer service account, using the knowledge bank i uploaded, and send the reply. 
all looks ok, trigger get the green ticks, everything seems fine but on all tests the email arrives and nothing is sent to reply! 



 
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,716 Super User 2026 Season 1 on at
    Why do you have a foreach loop for a single email?
     
    Have you examined the run history?  Maybe it provides some clues as to what when wrong in the flow.
  • Suggested answer
    deepakmehta13a Profile Picture
    369 on at

    Hi,

    From the screenshots you shared, it looks like the trigger “When a new email arrives (V3)” is working correctly and the flow is successfully calling the Copilot action. That means the flow itself is running as expected.

    One important detail is that the action “Send a prompt to the specified copilot for processing” only sends the email content to the Copilot agent and returns a generated response. It does not automatically send that response back as an email.

    Because of this, you usually need an additional Outlook step in the flow to send the reply.

    A typical pattern for this scenario would be:

    1. Trigger:
      When a new email arrives (V3)

    2. Send the email content to Copilot:
      Send a prompt to the specified copilot for processing

    3. Send the reply email:
      Add an Outlook action such as Reply to email (V3) or Send an email (V2) and use the response from the Copilot step as the email body.

    For example:

    • To: From (sender address from the trigger)

    • Subject: Re: Subject from the trigger

    • Body: Response returned from the Copilot action

    This allows the Copilot agent to generate the response using your knowledge base, and then the Outlook action sends that response back to the original sender.

    If you'd like, you could also add a Compose step after the Copilot action to confirm that the response text is being generated before sending the email.

    Hope this helps.

  • DM-06031204-0 Profile Picture
    7 on at
    Thanks a lot - Because the 'Reply to email V3' is in tools, for the agent, do i still need the additional step?

  • DM-06031204-0 Profile Picture
    7 on at
    I cant seem to do the action without a 'for each' loop' any ideas why? 
    https://community.powerplatform.com/forums/thread/details/?commentid=80731bfc-c519-f111-8341-6045bddc3278

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard