
NickG.85230 (Customer) asked a question.
I am working on the inactive user report template. The table populates successfully, but when I try to export that filtered table to a .csv file and then e-mail the .csv file to myself I receive an error stating the flow is invalid. I have verified the steps individually and the flow test runs successfully, with the exception of attaching the .csv file to the e-mail. Can someone please advise what steps I am missing? In the flow I added a step to export results to a .csv, then as a second step I have compose e-mail in Office 365 and receive an error when I drag the .csv export from step 1 to the attachment field in step 2.
Thank you!
Nick

Nick. You are likely running into the same issue as the question just previous to yours:
https://support.okta.com/help/s/question/0D54z00007PPkDkCAL/file-content-in-oktaworka-flows?language=en_US
Essentially, the "attachments" field on the email cards typically require a list of files. If you make a "list construct" card and drag the file into it, set type output to file, then drag the list output into the attachments on the O365 card you will likely resolve your issue.