XLSX library issue in worflows

I'm trying to send data via email as an excel file, basically exactly this

I'm having issues with the xlsx library. I can't get my JS code snippets to run because of the library. Am I doing something wrong or bug?

Hi @mateinoso, welcome to the community!

Can you share your startTrigger? Looks like it might be an issue with rows, now necessarily with xlsx

Thanks @MikeCB! Exactly, this looks like the startTrigger.data.cartContents is not in the proper format to be passed into the xlsx.utils.json_to_sheet method.

Set up a simple test with some hardcoded data and the library itself seems to work: