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)
- 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)
- 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")
- 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.
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