Hi @fchopo ,
Please find the details as per the request,
From Power Apps, ON select button event,
I'm sending the collection converting it into a JSON format using FormatJson formula.
Clear(ExportColGal4);
ForAll(Gallery4.AllItems, Collect(ExportColGal4, { CustID: Text(Gal4ACustId.Text), EmpName:Gal4Name.Text, EmailOfApprover: Gal4ApproverEmail.Text, UnitName: Gal4UnitName.Text, GrandTotal: Gal4WeeklyTotal.Text, ItemGlCode: Gal4GLcode.Text, ItemDescription: Gal4Description.Text, PurcahseDate: Gal4P_Date.Text, PerTransactionTotal: Gal4DayTotal.Text }));
Set(VarFormatJSON, JSON(ExportColGal4, JSONFormat.IndentFour));
NewExportCSVFlow.Run(VarFormatJSON, "");
On Flow Trigger event in Compose Action: JUst asking for the input from powerapps using the above formula.

ON Parse Action in flow, Im using the output from Compose Action and the schema is been taken form the output of compose action as well which is as mentioned below;

JSON Schema:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"CustID": {
"type": "string"
},
"EmailOfApprover": {},
"EmpName": {},
"GrandTotal": {},
"ItemDescription": {},
"ItemGlCode": {},
"PerTransactionTotal": {},
"PurcahseDate": {},
"UnitName": {}
},
"required": [
"CustID",
"EmailOfApprover",
"EmpName",
"GrandTotal",
"ItemDescription",
"ItemGlCode",
"PerTransactionTotal",
"PurcahseDate",
"UnitName"
]
}
}
And then Creating A CSV table as shown in the above screenshot of this post images using AUTOMATIC COLUMNS option
Thanks in advance for your help. 🙂 @fchopo