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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How can Power Virtual ...
Copilot Studio
Unanswered

How can Power Virtual Agent send email on behalf of a user with all the conversation scrips?

(0) ShareShare
ReportReport
Posted on by 40

Hi all,

I have a Power Virtual Agent chatbot in Teams, and got a request to enable the chatbot to send an email on behalf of the user to IT department (when the chatbot cannot answer the user's question), and the email body need to include the chatbot conversation scrips. 

 

1) I am able to send email using my email, but not able to send that email (Send from, on behalf) the user's email (when other user use the bot, the email still send from my email address). I know there is variable available "UserDisplayName", but I don't have the user's email in the variable. Instead of asking the users to input their email address, is there a way we can get the user's email from somewhere in Teams or other database? (the user already login Teams)

 

2) how can I get the conversation scrips to be passed as a variable as the email body? I know we can see the conversation scrips from Analytics->Sessions, but it is manually download. how can we get the topics and scrips as variables that we can use in the session when we need to send email?

 

Thanks a lot for your helps and suggestions.

  

Categories:
I have the same question (0)
  • Diganta Profile Picture
    on at

    1. Can you please try this Microsoft Dataverse for Teams - Get Current User’s Information from Power Virtual Agents Chatbot - YouTube?

    2. We only have the manual download session option today.

  • MinL Profile Picture
    40 on at

    Thanks @Diganta for your reply. I am able to get user's email now. I also set up a flow in Power Automate try to send email on behalf of the user to our IT department. But it seems the email can only send "From" my email address, which is the flow creator. I saw the connector reference is my email address. How can I send email in Power Automate flow using the current user's email?

     

    Do you know when the Power Virtual Agent (preview) will be launched in production? It seems the preview version has the system variables that was be part of the session data. Wondering whether it is possible to have "Current Topic Name" and chat scripts of the current topic as system variable? or can be found somewhere else?

  • MinL Profile Picture
    40 on at

    Hi @Diganta

    Is there a way we can migrate a chatbot build in the current PVA to the PVA(preview) version without rebuild all the questions in the existing chatbot?

     

    Thanks a lot for your guidance.

    Min

  • HenryJammes Profile Picture
    on at

    @MinL, you can clone a PVA bot on the current version into a PVA bot in the preview version: Create a preview bot from the content of an existing bot (preview) - Power Virtual Agents | Microsoft Learn

  • MinL Profile Picture
    40 on at

    @HenryJammes ,

     

    Thank you so much for the quick reply. I went to my current PVA chatbot, but I cannot see the option of "Try the preview" as shown in the document you sent. Here is the screenshot of what I can see from overview. Is there any setting need to be changed in order to see the "try the preview" option?

    Screen Shot 2023-01-26 at 9.39.13 AM.png

     

    Thanks,

    Min

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard