In this blog, we are going to see how to read or write data in SharePoint from PVA using Power Automate Flow.
For example, If you would like to create a leave request from the Chat Bot (PVA) based on the information provided by the user, then you can use Power Automate Flow to create the leave request in SharePoint list by getting the information like user name, email address, type of leave, from and to date from the user.
Step 1: Create a new topic with keywords to create leave request.
Step 2: Collect the key information like user name, email address, type of leave, from and to date from the user. Store those in variables.
Step 3: Add Power Automate Flow action, Pass those values stored in variables as input parameter.
In Power Automate Flow : use the SharePoint list item creation action, and configure the leave request list details along with the input parameter values like user name, email address, type of leave, from and to date from the user.
After that you can even add "Send an email (V2)" action for sending email to the user as Leave Request created successfully.
Step 4: Show the confirmation message in Chat Bot (PVA).
Step 5: End Conversation