web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Provide Links up to a ...
Copilot Studio
Unanswered

Provide Links up to a total 5 documents that match search critera based on the bot input in PVA

(0) ShareShare
ReportReport
Posted on by 56

I would like to have the PVA bot return the top 5 (or up to 5) links to documents stored in OneDrive or SharePoint based on the users search criteria input into the bot. 

I don't know how to return the multiple document URLs using PowerAutomate. 

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @cortese98 ,

     

    You can use the SharePoint/OneDrive connectors inside the Power Automate, getting the documents and you can see properties (after to get documents) calling URL or something like that.

     

    Templates: https://flow.microsoft.com/en-us/connectors/shared_sharepointonline/sharepoint/

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

     

    Or OneDrive connector. (personal account)

    Templates: https://flow.microsoft.com/en-us/connectors/shared_onedrive/onedrive/

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

     

    Or OneDrive for Business (work account)

    Templates: https://us.flow.microsoft.com/en-us/connectors/shared_onedriveforbusiness/onedrive-for-business/

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

     

    If you got any error, you can reply here or inside the Power Automate forum: https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    @cortese98 ,

     

    Adding, you can use the Markdowns to show inside the PVA.

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

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • cortese98 Profile Picture
    56 on at

    So I would return the PowerAutomate values back to PVA as an adaptive card?

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Exactly! @cortese98 

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    @cortese98 ,

    Sorry, I sent the wrong name that you can use.

    Adaptive cards no, you can use Markdown.

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 104

#2
11manish Profile Picture

11manish 98 Super User 2026 Season 2

#3
Sapan Patel Profile Picture

Sapan Patel 54

Last 30 days Overall leaderboard