Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
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. 

Categories:
  • renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: Provide Links up to a total 5 documents that match search critera based on the bot input in PVA

    @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

  • renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: Provide Links up to a total 5 documents that match search critera based on the bot input in PVA

    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/

  • cortese98 Profile Picture
    cortese98 56 on at
    Re: Provide Links up to a total 5 documents that match search critera based on the bot input in PVA

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

  • renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: Provide Links up to a total 5 documents that match search critera based on the bot input in PVA

    @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/

  • renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: Provide Links up to a total 5 documents that match search critera based on the bot input in PVA

    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/

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics