I am working on creating a chatbot that can get items from a SharePoint List through Power Automate. Currently, the bot can get items but only using the automatically assigned SharePoint List item ID. Is there a way to configure it such that it gets items using a different ID, like phone number?
Hi @vehicle8837 ,
You can use the "Get Items" action inside Power Automate and inside the OData filter you can use the query like PhoneNumber eq '9999999' . (PhoneNumber is a column inside the SharePoint list)
And you can see this topic: https://powerusers.microsoft.com/t5/General/Power-virtual-agent-insert-data-in-sharepoint-list-and-t...
Insert data into SharePoint
You can use Power Automate action to save rows inside the SharePoint list using this documentation:
List items into PVA
You can use Power Automate action to get items inside the SharePoint list using this documentation
After it, you can use Markdown to format items inside the Power Automate and send as outputs to show inside the PVA response
Hi @vehicle8837 ,
You can create an action of the beginning of your workflow called "Initialize variable" and the type String.
After your SharePoint action, create an action called "Append to string variable" adding your data to the Markdown (variable).
And on the final of the workflow, you can send the variable to the Response.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.