Hi,
Is there a way to generate files with these two extensions from Appian?
Discussion posts and replies are publicly visible
Use the Generate Text Doc From Template smart service
https://docs.appian.com/suite/help/20.1/Text_Doc_From_Template_Smart_Service.html
Just create a template file with the desired extension.