Upon further research, I was able to find a tutorial that that allowed me to save the attachment from a CSV to an excel file using Office Scripts. (Convert CSV Files to Excel (xlsx format) in Power Automate - YouTube)
My problem now is that the table generated via Office Scripts is not formatted as expected.
The source data from the CSV report export is
| Interval Start | Interval End | Interval Complete | Filters | Media Type | Queue Id | Queue Name | Offer | Answer | Answer % | Abandon | Abandon % | ASA | Service Level % | Service Level Target % | Avg Wait | Avg Handle | Avg Talk | Avg Hold | Avg ACW | Hold | Transfer |
| 7/1/2023 0:00 | 7/2/2023 0:00 | TRUE | | voice | c49cdbc9-a4ca-4b31-8458-a2bcba36617e | IT Corporate Support | 32 | 19 | 0.59375 | 13 | 0.40625 | 638958.2 | 0.34375 | 0.8 | 719566.4 | 627131.8 | 283339.4 | 26625 | 342391.1 | 1 | |
| 7/1/2023 0:00 | 7/2/2023 0:00 | TRUE | | voice | 0c97fd2a-9f0a-4e14-850c-743affa9617e | IT MIDS | 4 | 2 | 0.5 | 2 | 0.5 | 289990.5 | 0.25 | 0.8 | 357182 | 1083752 | 290097 | | 793655 | | |
| 7/1/2023 0:00 | 7/2/2023 0:00 | TRUE | | voice | 4d010029-2331-4a70-81a2-56be591f6402 | IT Rx Support | 58 | 55 | 0.948275862 | 3 | 0.051724138 | 135047.2 | 0.413793103 | 0.8 | 137290.6 | 3250597 | 294373.6 | | 2958346 | | |
| 7/1/2023 0:00 | 7/2/2023 0:00 | TRUE | | voice | 8668b841-df1c-4d76-9abc-0608476e24eb | IT Store Support | 633 | 345 | 0.545023697 | 288 | 0.454976303 | 685148.4 | 0.154818325 | 0.8 | 751551 | 590078.5 | 303517.1 | 88447.5 | 286368.4 | 4 | 9 |
But after running the script the table generated is this:
["\"Interval Start\"\"Interval End\"\"Interval Complete\"\"Filters\"\"Media Type\"\"Queue Id\"\"Queue Name\"\"Offer\"\"Answer\"\"Answer %\"\"Abandon\"\"Abandon %\"\"ASA\"\"Service Level %\"\"Service Level Target %\"\"Avg Wait\"\"Avg Handle\"\"Avg Talk\"\"Avg Hold\"\"Avg ACW\"\"Hold\"\"Transfer\"\r""\"7/1/23 12:00 AM\"

I'm not sure what I've done wrong, as this did not occur in the tutorial.
The outputs of my information in the flow also look correct.

Below is the code for my Office Script. It creates an XLSX using the saved data from the CSV attachment.
CSVtoXLSX Script:
function main(workbook: ExcelScript.Workbook, lineCSV: string[]) {
let selectedSheet = workbook.getActiveWorksheet();
const alllines = lineCSV;
let counter = 1;
for (let line of alllines) {
if (line.includes(",")) {
let items = line.split(",");
selectedSheet.getRange("A" + counter + ":W" + counter).setValues([[items[0], items[1], items[2], items[3], items[4], items[5], items[6], items[7], items[8], items[9], items[10], items[11], items[12], items[13], items[14], items[15], items[16], items[17], items[18], items[19], items[20], items[21], items[22]
]]);
counter++;
}
}
workbook.addTable(selectedSheet.getRange("A1:W" + counter), true).setName("Table1");
}
Here's screenshots of the full flow:



Thanks to anyone who is willing to look into this or provide suggestions!!!