I have a flow that reads a SharePoint list into a CSV table and writes the correct columns to a CSV file into a document library in SharePoint. The group that is trying to read this file for import purposes wants the first row to be "UTF-8" and then the rest of the valid CSV file. As an example, the end result would look something like below:
UTF-8
name,age,country
Bob,33,US
Joe,44,US
I tried looking at doing this after the CSV table was created in the flow and before it was saved to a file but I could not see a way to merge anything with output of the CSV table. Then I tried to find a way to merge the saved CSV file with a simple one line text file that has "UTF-8" in it but all I'm seeing is PDF file merge tools you can buy from 3rd parties.
Is there no way to inject or insert a line into the CSV table or a way to merge two text documents and then save the combined results?