Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

Sending data from an excel document to PVA User

(0) ShareShare
ReportReport
Posted on by 22

Hi, 

I've created a PVA to capture data in excel via Power Automate which is working successfully. However now I want to be able to return an Accepted/Rejected message back to the user once the information has been verified on the excel document. 

Does anyone know a way of pushing the information back to an individual user? using Automate/PVA. 

 

Many thanks 

 

Michael

Categories:
  • Mt1983 Profile Picture
    22 on at
    Re: Sending data from an excel document to PVA User

    Thanks both that's been really helpful. Appreciate your time 🙂 

  • Verified answer
    MattJimison Profile Picture
    577 Most Valuable Professional on at
    Re: Sending data from an excel document to PVA User

    Agreed with @Pstork1 on this likely being an asynchronous process to validate the file, and so you wouldn't want your Flow to wait on it to finish before it responded back to PVA, because PVA will time out after 99 seconds.

     

    There are options, though. You can return back values from Power Automate to PVA, but have the Flow still otherwise continue on afterwards. There are also a lot more user variables in the new Unified canvas, so you can work with more than just the user's ID and/or display name (see picture at bottom for reference)

     

    I'd recommend looking at the following options for communicating back to the user when the validation is complete: (choosing what works best for you and your users)

     

    1. Use the "Post message in a chat or channel" Teams action to post the response back to the user in the conversation with the bot (you do this by selecting "Post As: Power Virtual Agents (Preview)" and selecting the respective bot and user)
    2. Use the "Post message in a chat or channel" Teams action to post a message directly to the user via the Flowbot (you do this by selecting "Post As: Flow bot")
    3. Send an email to the user via an Outlook action in Power Automate

     

    With all of the above, you can reference the user email address via User.Email.

     

    MattJimison_5-1687381843554.png

     

     

     

    Find this post helpful? Please mark it as the solution and/or provide kudos so that it will help others in the future.

    Cheers,
    Matt

     

     

  • Verified answer
    Pstork1 Profile Picture
    66,176 Most Valuable Professional on at
    Re: Sending data from an excel document to PVA User

    Assuming you are using Teams or Azure AD authentication for the Bot, then you can capture the user's account name from the Bot when they submit the information and store that in the Excel spreadsheet.  You can then use that account name as their email address to have Power Automate send an email to the user when the items are approved.  Its unlikely that the BOT would still be open if you are going through an approval process so you would need to send the message back by email.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
stampcoin Profile Picture

stampcoin 8

#2
Artur Stepniak Profile Picture

Artur Stepniak 5 Super User 2025 Season 1

#3
Ekta Gupta Profile Picture

Ekta Gupta 4

Overall leaderboard