cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Onebadterran
Microsoft
Microsoft

Create a Word Docx from Microsoft Forms using String Data

 

Hi there, 

 

I am trying to build a Flow to convert my Microsoft Form into a Word Doc and I got most of the way by reading other posts but it seems the Convert to HTML step fails whenever it encounters a String response, it requires Arrays. Is there another way to pull String Reponses out of Forms to automatically create a Word Docx?

 

"BadRequest. The 'from' property value in the 'table' action inputs is of type 'String'. The value must be of type 'Array'."

 

Inputs

Format: HTML

From: askldfjlweiofjnao;wegaboopbeepbop



1.png

 

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @Onebadterran,

 

If it encounters a String response, I guess it is a multiple-choice answer, the Create HTML table action only accept the array of objects, for example:

[
{
"Column1": "Test1",
"Column2": "Test2"
},
{
"Column1": "Test3",
"Column2": "Test4"
}
]

 

If you want to extract data from an MS Form and create a word file, you could refer to this blog:

Intermediate | Flow of the week: Create PDF Invoices Using Word Templates with Microsoft Flow | Powe...

And there is a post with a similar requirement you could refer to:

Solved: MS forms to Word Template - Question has multiple ... - Power Platform Community (microsoft....

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (41,481)