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

Announcements

News and Announcements icon
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)
  • 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?
  • 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 🙂

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 177

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 45 Super User 2026 Season 1

Last 30 days Overall leaderboard