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 / Power Automate / Get Items from Sharepo...
Power Automate
Answered

Get Items from Sharepoint and Create a Markdown Table

(0) ShareShare
ReportReport
Posted on by 15

Hi

I have a multi-step approval process which records each activity of approval process on a sharepoint list. 

I want to share that list with every other approver so he/she knows that happened earlier on this request. I am able to get the list of activity through getItems but showing in the approval markdown language gets tricky. i tried create html table and create csv but the output is not readable. Can this array be converted to Markdown table

 

Create SCVCreate SCV

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @sjehanzeb ,

     

    Unfortunately, as far as I know, Mark down table in Approval email needs to manually populate the data for configuration and follow the specified format.

    I am afraid there is no suitable method to achieve this through the output of Create CSV tale.

    As an alternative, please try to create an HTML table using Send an email with options action and populate the HTML table directly in the email body.

    Please take a try.

     

    Best Regards,

  • Verified answer
    Jehanzeb Profile Picture
    15 on at

    Found a solution myself. html table didn't work as I needed the markdown table for approvals

     

    1. Create CSV table without headers and with an additioal delimeter i.e. | seperately value

    flow1.PNG

     

    2. Included header in the markdown format in approvals details

    flow2.jpg

     

    3. use replace command to change commas to delimiter i.e. |

    replace(body('Create_CSV_table'),',','|')

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi sjehanzeb,

     

    This has helped tremendously but for some reason, the table fails to show my date value.  Any advice?  It works if I leave the | off the last line of the table.

     

    I found the issue. My table needed a | at the beginning as well so that it could complete it.  It was whatever my first field was that didn't populate correctly.

     

    THANKS AGAIN!

     

     

    EDIT: Now It's pushing everything over one column.  So I can't get it to line up.  Any suggestions?

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 > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard