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.
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
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/
So I would return the PowerAutomate values back to PVA as an adaptive card?
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/
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/