Export data at the end of a flow as cvs file

I’ve implemented a flow that checks CSV data via import. Each checked row is written to a table with or without an error message. The table contents should then be automatically made available to the user as a CSV file.
What’s the best way to solve this task?

What is the trigger to the flow? How are you passing in the csv file?

The Directus API supports CSV output by adding on a ?export=csv to your API request. Your final csv URL will look something like this:

http://localhost:8055/items/posts?export=csv&filter[year(date_created)][_eq]=2025&filter[month(date_created)][_eq]=10&filter[day(date_created)][_eq]=15