Hi @Anonymous
For the Flows that generate a corrupt document... have you checked the run history to see if the 'Apply to each' is running multiple times?
If the user sending the email has an image embedded in the email signature then this would be handled as an attachment, and as the CSV filename is hardcoded the 'Apply to each' loop could be writing in the signature image as a CSV thus corrupting your file.
This seems the most likely cause to me...
If that's the case I can help with a conditional check to avoid this scenario
HTH
Jay
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up