Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Trying to build a flow that will add a table into an email using responses from MS Forms

(0) ShareShare
ReportReport
Posted on by 12

I am trying to add a table into an email using responses from MS Forms to populate the table (See Flow below for details) , but I keep getting error: BadRequest. The 'from' property value in the 'table' action inputs is of type 'Null'. The value must be of type 'Array'.

 

I am trying to create a flow that will mimic the email below where my colleague's email has a small two column table. (Below that is my Flow)

Wolfeman_0-1649356459141.png

 

Wolfeman_1-1649356459356.png

 

 

Thanks!

 

Kindest Regards,

Wolfeman

  • Pstork1 Profile Picture
    67,047 Most Valuable Professional on at
    Re: Trying to build a flow that will add a table into an email using responses from MS Forms

    The problem is that you can't create an HTML table from a string using that action.  You need an array.  Since all the responses come in as individual answers there is no simple way to group them into an array.  So you need to do something like this.

    1) Get the details of the response and then Initialize an Array variable.

    image.png

    2) Then append each question and answer to the Array variable like this.  (The braces and format are required.) 

    image.png

    3) Now you have an array that you can convert to an HTML table.

    image.png

     

  • Wolfeman Profile Picture
    12 on at
    Re: Trying to build a flow that will add a table into an email using responses from MS Forms

    Thanks Pstork1! I appreciate the response, I am trying to Insert the Response information into an HTML table in String format...but I'm not sure how to do that, here is my progress, but at this point I am just guessing...

     

    Wolfeman_0-1649427470830.png

     

  • Pstork1 Profile Picture
    67,047 Most Valuable Professional on at
    Re: Trying to build a flow that will add a table into an email using responses from MS Forms

    The problem is that the responses from an MS Form aren't returned in the form of an array.  They are returned as individual data elements. So you can't just create an HTML table from them directly.  You'll need to either append them to an array and convert that to a table or insert them into an HTML table in string format.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1