Creating a Word doc from a standalone activity

I have used generate doc smart shape nd was able to get doc file extension but my req is to run a standalone activity to send a mail/download the docx which has case details like pyID, createDateTime nd createOpeartor