Skip to main content

Connect Dropbox and Transifex using Zapier

Integrate Dropbox with Transifex to send source files and receive translation files.

Written by Antonis Mylonas

Below, we’ll guide you through setting up Dropbox and Transifex Zaps. However, Zapier is flexible. You can use the supported triggers and actions to create similar Zaps connected to other services (e.g., Slack or Box) or create something totally new.


Sending new files from Dropbox to Transifex

Suppose you store spreadsheets and documents you want to translate in Dropbox. In that case, you can use Zapier to automatically upload new files to Transifex and send completed translations back to Dropbox.

You'll need to repeat the procedure described here for each Dropbox directory or Transifex project. A single Zap can be used to push multiple source files within the same Dropbox directory to Transifex.

  1. We’ll first set up a trigger for this Zap based on a Dropbox event (a new file is added). Then, we’ll set up an action (uploading the file to Transifex) to take place in Transifex whenever that event occurs. Follow these steps to send files from other services to Transifex.

  2. Setting up the Dropbox trigger (aka creating a new Zap)
    In the Trigger step, under Choose app & event, select Dropbox.

  3. From the Trigger Event list that appears, choose New File in Folder (the first option). This option triggers when a new file is added to a folder:
    ​

    Zapier Trigger Event list for Dropbox, with New File in Folder and New Folder as options#asset:9611


    Click the Continue button to proceed.
    ​

  4. Under Choose account, select your Dropbox account. To add one, click Connect a new account.
    ​

    Zapier Choose account step for the Dropbox trigger, with a Dropbox account selected and a Connect a new account option#asset:9612


    Press the Continue button to proceed.
    ​

  5. Under Set up trigger, choose the Folder that contains the source files you want to upload into Transifex. New files added to folders inside that folder do not trigger the Zap.
    ​

    Zapier Set up trigger step for Dropbox, with the Folder field and the Include file contents option#asset:9613


    Press Continue and test the trigger to ensure the criteria are correct, then press Continue to proceed.
    ​

  6. Setting up the Upload action and activating your Zap
    Once you've set up the trigger, you can set up the action.
    Search for "Transifex" and select it when prompted to do so, as seen below:

    Zapier action search with Transifex listed as the app#asset:9615

  7. Under Action Event, choose Upload File, as seen below:
    ​

    Zapier Action Event list for Transifex, with Download File and Upload File as options#asset:9616


    Click the Continue button to proceed.
    ​

  8. Click Sign in to Transifex.
    ​

    Zapier Choose account step for Transifex with the Sign in to Transifex button#asset:9617


    On the page that appears, enter your API token. Zapier marks this field as required. To generate an API token, follow the instructions in Generating an API token. The page asks only for the API token.
    ​

    Zapier dialog asking for a Transifex API token, with a Yes, Continue button#asset:9618


    Click Yes, Continue, and then click Continue to proceed.
    ​

  9. Define the relevant Transifex parameters for the Upload File action:

    • Organization: the Transifex organization that will be used (required).

    • Project: the Transifex project that will be used (required).

    • Resource Name: the target resource name (required). In the example, it is set to the Dropbox File Name.

    • File: the source file to upload (required). In the example, it is set to the Dropbox File.

    • Selected File Formats: choose a file format for each extension (required).
      ​

      Zapier Set up action step for the Transifex Upload File action, with Organization, Project, Resource Name, File and Selected File Formats fields#asset:9638


      Click Continue to proceed, then test the action to confirm everything is working. After the test works, save the Zap, then turn it on.
      ​

  10. Troubleshooting:

    • Be patient. The Zap can take up to an hour to trigger when uploading a new file to Dropbox.

    • If the file still hasn't uploaded, please review the following guide.

    • Wait 5 minutes before turning on the Zap.


Sending Completed Translations From Transifex to Dropbox

For this Zap, we’ll first set up a trigger based on an event in Transifex (translations are completed). Then, we’ll set up two actions. One is to download the translation files from Transifex, and one is to upload those files to Dropbox. You can follow these steps to get notified about other events or send notifications through another service.


Setting up the Trigger and Download action

Before we can upload a file to Dropbox, we need to download it from Transifex first.

Here's how to set this up:

  1. Create a new Zap.

  2. In the Trigger step, search for Transifex under App Event, and select it, as seen below:

    Zapier trigger search with Transifex listed as the app#asset:9639

  3. Under Trigger Event, select Localization Activity Completed:
    ​

    Zapier Trigger Event list for Transifex, with Localization Activity Completed selected#asset:9632


    Click the Continue button to proceed.
    ​

  4. Under Choose account, select your Transifex account:
    ​

    Zapier Choose account step for the Transifex trigger, with the Transifex account selected and a Continue button#asset:9633


    Click the Continue button to proceed.
    ​

  5. Under Set up trigger, select your Organization and Project. Then choose one or more events under Events enabled for trigger for when you want translations synced from Transifex to Dropbox.
    ​

    Zapier Set up trigger step for Transifex, with the Organization, Project and Events enabled for trigger fields#asset:9634


    Test the trigger to ensure the criteria are correct, then press Continue.
    ​

  6. Under Action Event, select Download File.
    ​

    Zapier Action Event set to Download File for Transifex#asset:9640


    Press the Continue button to proceed.
    ​

  7. Choose the account created/used in step 4 above. Press the Continue button to proceed.

  8. In the Set up action section, map each field to the matching value from the Transifex trigger, as seen below:

    • Organization Slug: the Transifex organization that will be used.

    • Project Slug: the Transifex project that will be used.

    • Resource Slug: the Transifex resource that will be used.

    • Language code: the target language code to download.
      ​

      Zapier Set up action step for Download File in Transifex, with Organization Slug, Project Slug, Resource Slug and Language code fields#asset:9641


      Press the Continue button to proceed.
      ​

  9. As an option, test the configuration to see if a file is downloaded. Remember that this test will not return anything if you don't have any languages in your project that are 100% translated.
    Proceed to the next step.

  10. Setting up the Upload action
    Add a new action for Dropbox. Find the "Dropbox" app and select it.

  11. Under Action Event, select Upload File:
    ​

    Zapier Action Event set to Upload File for Dropbox#asset:9642


    Press the Continue button to proceed.
    ​

  12. Choose the appropriate Dropbox account as seen below:
    ​

    Zapier Choose account step for the Dropbox action, with a Dropbox account selected and a Continue button#asset:9643


    Press the Continue button to proceed.
    ​

  13. Customize the Upload File (i.e., translation file) as seen below and then press the Continue button to proceed:
    ​

    Zapier Set up action step for Dropbox Upload File, with Folder, File, Overwrite and Specify File Name fields#asset:9644


    The Specify File Name field can be customized with a mix of text and predefined variables.
    ​
    Please always use the predefined variables if you wish to use this Zap for all the resources in a given project. If you leave Specify File Name empty, Zapier uses the same name as the incoming file. To change the name, enter a value there. Zapier appends the original file extension.
    ​

  14. Test and turn on the Zap you create once finished.


Additional Reading


💡 Tip

Looking for more help? Get support from our Transifex Community Forum!

Find answers or post to get help from Transifex Support and our Community.

Did this answer your question?