Help with Add line to text file action?

i was playing around with Add line to text file but cant seem to save all the receipts and reports to a specific file location in pdf automatically without manually editing the file name so that i can use to email my customer account clients at the end of the month…how do i go about it …

You need to create a file name that will be different each time you save so you can add the date and time to the file name such as:


That will give you files with names such as:


add line to text
under file path and text what do i enter…im struggling to set it up to save ,it only prints the ticket but doesnt save…do i need to edit my ticket printer?

what is it youre trying to do?

i wanna save the customer tickets to a file…so i can email them their invoices