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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Tuesday Tip #2 Global Search…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,243

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,555

Leaderboard

Featured topics