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 / I want to display rece...
Copilot Studio
Answered

I want to display received outlook mail's subject and sender name in PVA

(0) ShareShare
ReportReport
Posted on by 43

I want to display received outlook mail's subject, sender name and time stamp in Power Virtual Agent when a user prompts for the same. I tried creating a Power Automate flow like this but I getting error.image.png

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,853 Most Valuable Professional on at

    Hi @Simran1607,

     

    Power Virtual Agent flows always start with a When Power Virtual Agents calls a flow trigger action:

    https://learn.microsoft.com/en-us/power-virtual-agents/advanced-flow-create

     

    If you want to sent a message as bot while using a different trigger you can use the pro-active messages feature:

    https://learn.microsoft.com/en-us/power-virtual-agents/advanced-proactive-message#send-a-proactive-message

     

    You should be able to combine that pro-active message feature with the outlook trigger.

  • Simran1607 Profile Picture
    43 on at

    Hello @Expiscornovus 

    I am sorry for the confusion. I actually want to display that result in Power Virtual Agent. For ex. I am using PVA and I receive a lot of emails everyday, so to simply my life, I'll ask PVA to summarize my mails for me. Now, I want PVA to give me a list of Subjects of the mails I've received along with the sender's name.

  • Expiscornovus Profile Picture
    33,853 Most Valuable Professional on at

    Hi @Simran1607,

     

    Yeah, that is what a pro-active message does. It is able to sent the message/display the result to the recipient as a Power Virtual Agent message. So, you will receive that message from a PVA chatbot (without having to start the conversation first, hence the name pro-active).

     

    Btw, it sounds a bit like you are building something similar as what M365 Copilot should be able to do. Are you sure you don't want to use that product instead (saves building your own bespoke solution)?

    https://support.microsoft.com/en-gb/office/summarize-an-email-thread-with-copilot-a79873f2-396b-46dc-b852-7fe5947ab640

     

  • Simran1607 Profile Picture
    43 on at

    Thanks for the help @Expiscornovus!

    Can you also share how can I build the Power Automate flow for this scenario?

  • Verified answer
    Expiscornovus Profile Picture
    33,853 Most Valuable Professional on at

    Hi @Simran1607,

     

    You could for example use Chat GPT api calls to create a summary. However, that is a paid service. 

     

    Below is an example blog on how to use that endpoint in an HTTP request:

    https://tomriha.com/how-to-use-chatgpt-in-your-power-automate-flow/

     

    Using that approach it would look like the below as a pro-active message via a Power Virtual Agent.

     

    chatcompletion_chatgpt.png

  • Simran1607 Profile Picture
    43 on at

    Thank you @Expiscornovus for the help!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 633

#2
Vish WR Profile Picture

Vish WR 301

#3
Haque Profile Picture

Haque 219

Last 30 days Overall leaderboard