Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

undefined

(0) ShareShare
ReportReport
Posted on by 2

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?

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at
    Re: Power VA - Get Items from a SharePoint List

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

    https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support#tables

     

    And on the final of the workflow, you can send the variable to the Response.

  • vehicle8837 Profile Picture
    2 on at
    Re: Power VA - Get Items from a SharePoint List
    I have used the get items and ODATA query. However, the response does not allow an apply to each loop. Is there a step by step tutorial on how to achieve this?
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at
    Re: undefined

    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-then/m-p/619240

     

    Insert data into SharePoint

    You can use Power Automate action to save rows inside the SharePoint list using this documentation:

    https://docs.microsoft.com/en-us/connectors/sharepointonline/#actions

     

    List items into PVA

    You can use Power Automate action to get items inside the SharePoint list using this documentation

    https://docs.microsoft.com/en-us/connectors/sharepointonline/#actions

    After it, you can use Markdown to format items inside the Power Automate and send as outputs to show inside the PVA response

    https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support#tables

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 49

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 35

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard