I have a workflow on gallery that uses a script to unzip a docx, it then modifies document.xml with required data, and after that it uses another script to zip it up into docx.
The issue I'm having is that since it's not being created by any kind of output tool, final output.docx is not being detected by the workflow as an output file, so it's not being output on the gallery. What can I do to take a file in the same directory that the flow is in and output it?