I have created an app that connects to a SharePoint list and the app is working ok. We now have a requirment where someone can open an item in the app and then press a button, which will output the fields from that item into a Word document.
The image below shows how I've tried to do this so far. I have created a flow to add the fields in the item into an Excel spreadsheet, which works. The next stage is then trying to create a Word document using information from the spreadsheet. This Word document is created successfully but when I try to open it Word says the file is corrupt, and the reason for this is explained here.
My question is this - is it possible to create a file with blank file content? I just need to create the file because I can then use another Flow to set the content of the file using field values from the SharePoint document library.
Thanks for your help in advance.
