Working with files

Some modules work with files, they either return an output file or require a file to be passed to them for further processing.

Mapping a file

Every module always works with two pieces of information:

  1. file name
  2. file content (data)

By default, when you map a file, you choose from which of the modules contained in the scenario you want to obtain data. The file name and file content are then automatically taken over "as they stand". However, it can happen that you want to rename the file but also want to keep the data as they are. In such case, use the Map option to map the file name and file content independently of each other.

You must always 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.

Maximum file size

The maximum file size limit is 15 MB. If it is exceeded, Integromat proceeds in accordance with the settings of the Enable data loss option.

Example: Connecting Instagram to Dropbox

The example below shows how to connect Instagram to Dropbox. The trigger Watch photos from the Instagram package returns detailed information about each downloaded photo, including its name and content (data). The Watch files action from the Dropbox package requires that you specify the target folder and source file. Just select the Instagram option and Integromat will automatically map the file name and file content. From now, all photos from Instagram will be downloaded to the selected Dropbox folder.

Rate this article: