Last updated: May 29, 2024

<span aria-hidden="true" id="bypassing-zapiers-single-field-limit-for-transloadit"></span>

# Bypassing Zapier's single field limit for Transloadit

![Yukesh Shrestha](/assets/images/teammates/yukesh.png?dpl=dpl_6nhQNS5wkVkPZWuKMzXcWrAHNJL5)

**Yukesh Shrestha**

Support Engineer · Gillingham, United Kingdom · Show bio

[](https://github.com/YukeshShr)

Recently, a customer asked how many fields can be passed using our Zapier integration. Currently, we allow only one field to be passed to an Assembly, which may be restrictive in some cases. However, we investigated how to bypass this restriction, and we'll be sharing our solution today.

![Bright orange background with two tiles, containing the Transloadit and Zapier logos respectively. There's a plus symbol between the two tiles. The text 'You have been invited to use Transloadit on Zapier' is at the top.](/_next/static/immutable/media/opengraph-image.0t6h3a6nmnlqf.png)

To follow along, you'll need:

* A Dropbox Storage
* A Zapier Account
* A Transloadit Account

For this guide, we will be using Dropbox Storage to import and export files. However, we offer a plethora of other [exporting options](/services/file-exporting.md) you could use instead.

<span aria-hidden="true" id="dropbox"></span>

## Dropbox

Before we get started, please ensure you have a Dropbox account set up, then click[here⁠](https://www.dropbox.com/developers/apps/create) to set up your Dropbox app.

![dropbox app setup](/_next/static/immutable/media/dropbox-app-setup.2igtznhd0s31f.png)

Select "Scopped Access" as the API, "Full Dropbox" for access, and input an app name. Now select**Create App,** go to the Permissions section, and enable the appropriate features to your application before clicking **submit**.

![dropbox permissions](/_next/static/immutable/media/dropbox-permissions.311b7ctieri7j.png)

Go over to Settings, and in the OAuth 2 section, generate your access token and note down the given value.

![dropbox access token](/_next/static/immutable/media/dropbox-access-token.2s5bctqgy3r00.png)

In Dropbox, we have created a folder called "importFolder". When new files are uploaded to this folder, Zapier automatically detects the new file and passes the file onto Transloadit for processing.

![import folder dropbox](/_next/static/immutable/media/dropbox-import-folder.2fzq6j2ipnsmh.png)

We have also created a folder for our Assembly results, named "exportFolder".

![export folder dropbox](/_next/static/immutable/media/dropbox-export-folder.0qo7av17lmbx1.png)

<span aria-hidden="true" id="transloadit"></span>

## Transloadit

On the Transloadit side, we first need to set up our Template Credentials.

Go to your [Template Credentials](/c/template-credentials/). Click **Add New Credentials**, select Dropbox and enter the required information. The name we opted to go with was "TestWorkBox".

![template credential dropbox](/_next/static/immutable/media/dropbox-template-credentials.3la5ty-tzs89y.png)

Now we can create our Template. This Template handles importing an image from our Dropbox, resizes said image, then exports our Assembly's result.

Copy and save the JSON code below as a new Template, making sure to jot down yourTemplate ID.

```json
{
  "steps": {
    "imported": {
      "robot": "/dropbox/import",
      "path": "${fields.dropbox_file_path}",
      "credentials": "TestWorkBox",
      "result": true
    },
    "images": {
      "use": "imported",
      "robot": "/image/resize",
      "format": "png",
      "width": 500,
      "height": 500,
      "resize_strategy": "fit",
      "imagemagick_stack": "{{stacks.imagemagick.recommended_version}}"
    },
    "exported": {
      "use": ["images"],
      "robot": "/dropbox/store",
      "credentials": "TestWorkBox",
      "path": "exportfolder/resized_${fields.file_name}.${file.ext}"
    }
  }
}

```

In the Template above, our credentials parameter is passed the previously set up Dropbox Credential name, "TestWorkBox." In the imported and exported Step, we use the[Assembly Variables](/docs/robots/file-filter.md#job-variables) `${fields.dropbox_file_path}` and `${fields.file_name}` in the path Parameter. These are the two fields we'll be manipulating using Zapier.

<span aria-hidden="true" id="at-zapier"></span>

## At Zapier

Now we will finally look at Zapier and how we overcame the single-field limitation. Create a new Zap with its Trigger being **Dropbox** and the Trigger Event being **New File in Folder**.

![zapier trigger](/_next/static/immutable/media/zapier-trigger.2lw4j310jiz9e.png)

Click **Continue** then choose your Dropbox Account.

![zapier dropbox account](/_next/static/immutable/media/zapier-dropbox-account.3kv6dsuvv8-xy.png)

Now, we specify the folder our import Step will take our files from. This value needs to match our previously created folder, "importFolder".

![zapier trigger setup](/_next/static/immutable/media/zapier-trigger-setup.3g26ebxjy9dxe.png)

Click **Continue**, then **Test Trigger.** If all is well, after a few seconds, you should see the metadata of a random file from your specified folder display, signifying that your Dropbox has been successfully linked. Before we click **Continue**, let's set up the multiple fields that we pass from Zapier to Transloadit.

To do this, click **+** and select **Format** with the event set to **Utilities**.

![zapier format](/_next/static/immutable/media/zapier-format.3z4fscn6e8_hl.png)

Click **Continue**, and in the Transform field, select **Line Itemizer (Create/Append/Prepend)**. In the Line-Item Properties section, we'll add the field names we defined in our Template, as well as the values we want to pass in. Make sure there is no space after the comma when entering the field names. Zapier will assume the space is part of the field name. Furthermore, while picking field values, make sure to select them in the order of the field names.

![zapier fields setup](/_next/static/immutable/media/zapier-multiple-fields-setup.3d3esou_p6g43.png)

Click **Continue** then **Test & Review**, and you will see the field name with the corresponding field value. One more time, click **Continue** so that we can now set up the action.

For our Action App, we will be selecting **Transloadit** with the Action Event, **Create** **Assembly**.

![zapier create assembly](/_next/static/immutable/media/zapier-create-assembly.02xte0q6i_ihp.png)

Click **Continue** like before and link your **Transloadit Account**.

![zapier transloadit account](/_next/static/immutable/media/zapier-transloadit-account.0sryftek4i035.png)

Now we can put the various fields we created earlier into action. Take a look at your previously noted Template ID and enter that value in the **Output Line Item(s) Field Name** for theAssembly Field Name input. For the Assembly Field Value input, we will choose**Output Line Item(s) Field Value**.

![zapier action setup](/_next/static/immutable/media/zapier-action-setup.3yjgezu-o_7td.png)

One last time, click **Continue** and **Test & Review.** This will create a new Assemblyand display the accompanying Assembly data on your screen.

Now that we have finalized creating our Zap, we can run it. Whenever a new file is uploaded to our "importFolder" folder, within a few minutes, the Zap will be triggered, causing anAssembly to be created.

<span aria-hidden="true" id="results"></span>

## Results

Once the Zap has been triggered, visit the [Assemblies](/c/assemblies/) section in your console to view the results.

![assembly at transloadit](/_next/static/immutable/media/zapier-transloadit-result.2need-n4wwcxa.png)

![dropbox results](/_next/static/immutable/media/zapier-dropbox-results.20g5yr2h2aqnu.png)

If you would like to see an example of this being implemented, have a look at my colleague, Joseph's[blog](/blog/2021/11/automatic-spotify-preview.md). His blog demonstrates how you can use the multiple fields to automatically generate music previews from Spotify. That's all for today now! By following these simple steps, your Zaps should work smoothly and in the same way as they were before you knew about overcoming the single field limitation.

[#integrations](/blog/tags/integrations.md)[#zapier](/blog/tags/zapier.md)

### 👩‍💻 Join 20k+ developers

Sign up for our [monthly newsletter](/newsletters.md) to receive direct links to 3 exclusive tech — and 2 product updates. No less, no more.

Your email:

Get access

## File uploading and encoding. Made simple.

Transloadit streamlines file handling for developers, trusted by brands like Coursera and The New York Times. We’re known for a reliable API, top-notch support, and a strong commitment to open source, with projects like [Uppy⁠](https://uppy.io) and [Tus⁠](https://tus.io) setting standards in file processing.

[Sign up](/c/)[Book a Demo](https://survey.typeform.com/to/kRg47Xi5)

No credit card needed · 5 GB included in the free plan

Cancel anytime
