Key concepts
Data & mapping

Working with files

4min

Some modules have the capability to process files. These modules can either return an output file to be sent for further processing or require a file to be passed to them for processing. For these modules to work together to process files they have to be mapped to each other.

How to map a file

Modules that have the ability to work with files require two pieces of information:

  1. File name
  2. File content (data)

When you map a file, you choose from which module(s) in your you want to obtain the data from. The file name and file content are then automatically mapped as they are.

If you need to process a file from aĀ URL, we recommend to use theĀ HTTP > Get a FileĀ module to download the file from the URL, and then map the file from theĀ HTTP > Get a FileĀ module to the desired module's field in your .

Example: Mapping Facebook photos to Dropbox

The example below shows how to map photos (files) from Facebook to Dropbox. The facebook trigger Watch photos returns detailed information about each downloaded photo, including its name and content (data). To map this information to Dropbox so it can be uploaded, the Dropboxļ»æ action Upload a file requires you to specify the source file that this information will be mapped from. By selecting the Facebook > Watch photos option under the source file, will automatically map the file name and file content. From now on, all photos from Facebook will be uploaded to the specified Dropbox folder.

Document image
ļ»æ

However, it can happen that you want to rename the file, but want to keep the data as it is. In such case, use the Map option (as seen in the image below) to map the file name and file content independently of each other.

You will have to enter the full file name, including the ending (e.g. invoice.xml). Both binary (photos, videos, PDF and the like) and text formats are supported.

Document image
ļ»æ

Maximum file size

The maximum file size depends on the plan you are subscribed to (FREE - 5 MB, CORE - 100 MB, PRO - 250 MB, TEAMS - 500 MB, ENTERPRISE - 1,000 MB). If it is exceeded, proceeds in accordance with the settings of theĀ Enable data lossĀ option.