There is an app for that: https://appstore.home.mendix.com/link/app/16873/Conclusion-BAM/Excel-Exporter-Template-Manager
Regards,
Ronald
I think you're looking for step 6 of the how-to
https://docs.mendix.com/howto/integration/using-the-excel-exporter#6-call-the-excel-export-module-via-microflow