web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Substring to CSV Table...
Copilot Studio
Answered

Substring to CSV Table to Response in ChatBot Flow

(0) ShareShare
ReportReport
Posted on by 48

Hello,

 

I have created a simple Call an Action within a PVA Chatbot flow. It does what I want it to do, which is to take the user input, check a SharePoint List and return all possible answers. However the possible answers are in a line and it isn't clear on on where one ends and the next begins. In the Test Bot area they are stacked one above the other and look nice and neat, however when published they are in a single line.

 

I need advice on:

 

1. Is there a way to better format the return?

2. Next Level would be to have the options as a multiple choice / click option for the user.

substring.jpg
I have the same question (0)
  • Verified answer
    ScottinPoland Profile Picture
    48 on at

    I managed to solve this by doing the following:

    ScottinPoland_0-1682342099336.pngScottinPoland_1-1682342163094.pngScottinPoland_2-1682342179688.png

    Need to have RETURN at the end after :  (I have two, otherwise the results are bunched up).

    ScottinPoland_3-1682342233394.png

    ScottinPoland_4-1682342246906.png

     

    Works well, each result is nicely stacked in a column with one above the to other.

     

    Not to see if I can turn the results in a click options for the user 🙂

     

     

     

  • ScottinPoland Profile Picture
    48 on at

    Looking at the output from the body of the Create CSV table I can see that the partial matches are separated by:

     

    \r\n
     
    Could I use the REPLACE expression? or would I have to use Create HTML Table instead of Create CSV Table?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 401

#2
chiaraalina Profile Picture

chiaraalina 126

#3
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 90 Super User 2025 Season 2

Last 30 days Overall leaderboard