Download ZIP

🗳 Download files in a ZIP format.

The Download ZIP function allows you to create a ZIP archive containing specific files or data.

To use the Download ZIP function, you need to configure it with specific details:

  • name: Specify a name for the ZIP file that will be created.
  • recordInternalId: Provide the internal ID of the record that contains the files you want to include in the ZIP archive.
  • fieldIds: List the IDs of the fields that contain the files you want to include in the ZIP file.
  • entryId: Specify the ID of the entry within the record.
async function script(C) {
    const downloadConfig = {
        name: "Test-01",
        recordInternalId: "all-fields",
        fieldIds: ["file-bucket"],
        entryId: 123, 
    }
    const response = await C.downloadFiles(downloadConfig);
    return response;
}

Output

The output of the Download ZIP function will be the generated ZIP archive file containing the selected files or data. Such as:

  • ZIP File: The ZIP file will be created with the specified name and contain the files from the specified record and fields.
  • Download Link: You will usually receive a link or reference to download the ZIP file. This link can be used to access and save the ZIP archive to your local device or share it with others.

📌 Need Help?

If you require assistance or encounter any issues, please don't hesitate to contact us for further support.