Need a button to download CSV via API call

I created an API in Xano that allows me to run a bunch of calculations on data and then return those as a CSV. Works great from the Run/Debug area of Xano but when I connect it up as a custom action in Adalo. I can test it, it says it runs fine, I link it up to the button and I can click it and it runs the api call but ignores the returned CSV.

Please help. I need this for a client next week.

Does your Xano API endpoint create a .csv file? Then surely if you return the URL of that file, I would think the user can click to download it.