Articles on: Collect Features Guide

How to customize the name of the documents in the zip file?

How to Customize the Name of the Documents in the Zip File



You can customize the names of the different documents uploaded before downloading the zip file.

You can customize the names of the different documents uploaded, and these will be included in the zip file that you can download from the request page.

By default, you will find different folders named after the requested document's name, and within each folder, the uploaded files.

If you want to name the files and folders differently:

- During the creation of the campaign, at the "configuration" step.
- Scroll down to "Advanced settings" and show the different options.
- In the list, click on "Customize the documents and folders name in the zip archive."
- A new field appears where you can customize the names of the folders and the documents.
- You can use a static file name (e.g., "My archive") or a dynamic file name (e.g., "Elon Musk files"). We automatically add the file extension at the end of each file, so you don't need to specify them.

To have folders in your zip file, specify a first part (using a static or dynamic name) and add a slash at the end, e.g., {item_name}/. This way, we will create a folder for each item.

If you don't specify folders, we will put all the documents directly in the zip file.

To have dynamic file names, you need to use "variables" after the folder name. Variables are always between simple curly braces {my_variable}.

You can use the following variables to name your files and folders:

- {item_name}: name of the item that you requested (e.g., "proof of id")
- {doc_name}: the name of the document that has been uploaded (e.g., "image 1")
- {user_first_name}: first name of the user
- {user_last_name}: last name of the user
- {user_company}: name of your company
- {contact_first_name}: first name of your contact
- {contact_last_name}: last name of your contact
- {contact_email}: email of your contact
- {contact_company}: company name of your contact

You can also use custom variables using {custom_variable_name}.

If you have multiple documents using the same name, we automatically add an underscore followed by a number (e.g., "document_2.pdf").

Updated on: 26/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!