You can customize the name of your documents by entering a name pattern in the template settings. Add variables to the name pattern to make each document name unique.
Variables can be used in your document name pattern the same way they are used within Text elements in templates.