cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Formatting a response that a bot gives.

Im creating a bot that can fetch files from Sharepoint when the user doesn't want to find it manually.

 

If the user says some part of the file name like, if the word "manual" exists in a file then the bot gives options with files that say "manual".

 

The issue:

 

(that last response goes on and on, can't give full response since it says my personal info and others.)

 

But it basically gives me the right answer since it shows a file that includes the word "Sharepoint". But the response is too long and hard to read.

 

I know it has to do something with Parse JSON, right?

 

how can i fix this so it only shows the file/filelink and nothing else?

 

 

 

6.PNG

 

___________________________________________________________________________________________________________________________________________

 

POWER AUTOMATE:

 

1.PNG

2.PNG

 

___________________________________________________________________________________________________________________________________________

 

PVA

 

3.PNG

4.PNG

5.PNG

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @Anonymous,

 

I would suggest to have a look at markdown. You can use markdown in the formatting of urls and tables.

 

I have created a blog about this over here:

https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Community/How-to-use-mark-down-to-format-a-table-for-the-bot-response/ba-p/1190942

 

Let me know if you need any additional help configuring this.



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

1 REPLY 1
Expiscornovus
Super User
Super User

Hi @Anonymous,

 

I would suggest to have a look at markdown. You can use markdown in the formatting of urls and tables.

 

I have created a blog about this over here:

https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Community/How-to-use-mark-down-to-format-a-table-for-the-bot-response/ba-p/1190942

 

Let me know if you need any additional help configuring this.



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Virtual Agents Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Virtual Agents!

Users online (3,383)