That’s an interesting question. To clarify on the expected behavior of the step
Email a CSV attachment, a flow will run and use credits even if there are 0 rows by the time it reaches the end if it ends with this export. A CSV file isn’t emailed if the data set reduces to 0 rows by the time it reaches
Email a CSV attachment. You can check if a flow with this export ran and used credits, despite not receiving a CSV file, by going the flow’s
Live mode section Run History for an entry with
If you’re seeing a flow’s
Live Run History section with entries of
(1 row) (or any number greater than 1), this means a CSV file was emailed.
To clarify, are you noting that after your flow ran, you received a blank-appearing CSV file with a header row in it? Can you screenshot or explain what you’re seeing in your flow’s
Email a CSV attachment step? If the file you’re receiving is completely blank (no headers), we’re happy to troubleshoot with you to find a solution.