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

Can't Access or Retain Trigger Email Body in Copilot Studio Agent from Outlook Email

(1) ShareShare
ReportReport
Posted on by 4

I'm building a Copilot Studio agent that's triggered by a new email arriving in Outlook (via Power Automate or native integration). The agent is supposed to parse and extract employee information for On-boarding process from the email body but I’m running into an issue, I can’t seem to access or store the email body inside the Copilot agent. I've also tried using Power Automate to pass the body to Copilot, but either I can't see input parameters, or the body gets lost before reaching the topic.

I just need a reliable way to get the email body into Copilot Studio, so the agent can extract structured data from it. What’s the best way to do this — or is this a current limitation?

Any help would be greatly appreciated! 

Thank you

I have the same question (2)
  • Suggested answer
    Arild Aarnes Profile Picture
    201 on at
    Can't Access or Retain Trigger Email Body in Copilot Studio Agent from Outlook Email
    Hi,
     
    I use a couple of input variables in a topic to catch the subject and body of incoming emails, that seems to be stable and gives me two variables I can use inside the topic.



    My trigger is in the agent "When a new email arrives (v3)", but should work the same from Power Automate as long as you send the subject and body in the payload.
    The instructions of the agent tells it to use the topic with the input variables.
    Could be something like: "If the body mentions on-boarding run the
    On-boarding
    topic, ONLY do this if the body mentions on-boarding"


    Regards,
    Arild
     
  • Romain The Low-Code Bearded Bear Profile Picture
    900 Super User 2025 Season 2 on at
    Can't Access or Retain Trigger Email Body in Copilot Studio Agent from Outlook Email
    Hello :)
     
    When things don't go as supposed i have a personnal solution, that probably somebody will come with better elegant, but mine work well and it's bullet proof :)
     
    The trigger of new mail arrive is a power automate one, since you lost the body inside what if , when in the power automate you store it inside a sharepoint list.
    Then creat a topic to read it from the list
    Then in the prompt part use instruction and say when a mail arrive please use this topic with the "/" action ?
     
     
     
     
    It's not the most elegant or quick but it's bullet proof :)
     
    In real life i use this method with autonomous agent link to Support Email, wich take body, attachment, and collect information, store it inside a sharepoint list. Then the Agent is doing AI magic to enrich the content en prépare an answer to be review by support team based on KB of the company and inserted in the Support internal tool. 
     
    if this helped you, please check the answer button, it's important for the community and search engine :)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 390 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
chiaraalina Profile Picture

chiaraalina 91

Last 30 days Overall leaderboard