Exporting historic data via a flow is not something Homey supports out of the box. You can manually download Insight data from the web UI. But I created this tool to automate it via a flow:
It is a bit tricky to setup though. So if it doesnt work for you, ask Athom for native data export flows