
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

Hello @NickG.85230 (Customer)
I hope you are having a great day
Thank you for posting, this error can be caused by a few things, you can check the troubleshooting links below and try the workaround suggested.https://support.okta.com/help/s/article/Importing-users-through-CSV-fails-with-Please-ensure-that-it-is-a-valid-CSV-file?language=en_US
If you still need further assistance you can open a case with our service desk, in the link below you can find the information needed to open the support case: https://help.okta.com/en/prod/Content/Topics/Directory/get-support.htm
Have a great day ahead
Regards
Henry E.
Okta Inc
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.
That was exactly what was going on. As soon as I added a list construct and tied that output to the e-mail attachment it flowed smoothly. Thank you very much for your help!
Nick Glasmann, Advanced Corporate Systems Engineer
Waystar<https://www.waystar.com/> | simplify + unify healthcare payments
o 502.779.4345
follow us on twitter<https://twitter.com/Waystar> | linkedin<https://www.linkedin.com/company/waystar/> | facebook<https://www.facebook.com/WaystarRCT>