Script to export fields to CSV on submit or as Custom Trigger

Script to export fields to CSV on submit or as Custom Trigger

I would like to export the content of certain fields in my custom Incident Template to a .csv if possible. 

Could someone point me in the right direction please? 

                  New to ADSelfService Plus?