Skip to main content

Notifications

Calling Actions from Copilot Studio
Unanswered

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

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,762 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,762 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,762 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,762 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/

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,006

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics