Hi @Anonymous,
Within the "Create file" action within your flow, the File Content field is required to fill an binary data, but you filled a String within it.
More details about the "Create file" action of SharePoint list, please check the following article:
Create file action
I have made a test on my side and please take a try with the following workaround:
- Add a "When an item is created" trigger, specify Site Address and List Name.
- Add a "Compose" action, Inputs set to following json data:
-
Add a "Create HTML table" action, From set to following formula:
array(outputs('Compose'))
-
Add a "Create file" action, File Content field set to output of "Create HTML table" action, File Name field set to following formula:
First Name Dynamic content Last Name Dynamic content .doc
Note: File Name ends with .doc rather than .docx within File Name field of "Create file" action.
Image reference:
The flow works successfully as below:
The created file opened successfully in my SharePoint library as below:
Best regards,
Kris