Converting base64 string to csv file

Hi guys, I’m getting base64 string data from api call in make, I would like to decode it and create csv file that I could email as attachment. I tried everything I know and I’m unable to achieve my end goal.
Does anyone knows how to convert base64 string data to csv file in make?

Welcome to the Make community!

You can use the built-in functions toBinary and toString

e.g.:

toString( toBinary( TWFrZQ== ; base64 ) )

For more information, see the base64 function documentation in the Help Center.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

that helped, thank you!