Zapier - Dropbox

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

Nina avatar
Written by Nina
Updated over a week ago

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


Sending new files from Dropbox to Transifex

Suppose you store spreadsheets and documents that you wish to translate on Dropbox. In that case, you can use Zapier to automatically upload new and updated files to Transifex while automatically sending completed translations back to Dropbox.

Please note that the procedure described here needs to be repeated for each directory in Dropbox or each project in Transifex. 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 an event in Dropbox (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. You can follow these steps to send files from other services to Transifex.

  2. Setting up the Dropbox trigger (aka creating a new Zap)

    On the “when this happens“ section, Choose App, search for Dropbox, and select it.

  3. From the events list that appears, choose the second option, "New File In Folder," as seen below:

    New-file-in-folder.jpg#asset:9611

    Click the "Continue" button to proceed.

  4. Enter Your Dropbox Security Credentials.

    Dropbox-security-credentials.jpg#asset:9612

    Press the "Continue" button to proceed.

  5. Set up the "trigger" in Dropbox to point to the source files you want to upload into Transifex.

    Set-up-trigger.jpg#asset:9613

    Press the "Continue" button to proceed.

    Test the "trigger" to ensure the criteria set is correct, then press the "Continue" button 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:

    Select-Transifex-action2.jpg#asset:9615

  7. Choose the appropriate Transifex event ("Upload File") as seen below:

    Choose-action-upload-file.jpg#asset:9616

    Click the "Continue" button to proceed.

  8. Click the "Sign in to Transifex" button and enter your credentials:

    Sign-in-to-Transifex.jpg#asset:9617

    On the page that appears, enter your API token. This is obligatory. To generate an API token, follow the instructions here.

    Enter-API-Key.jpg#asset:9618

    Click "Yes, Continue" and then click the Continue button to proceed.

  9. Define the relevant Transifex parameters:

    success-source-upload-to-transifex3.jpg#asset:9638

    Click on the "Continue" button to proceed, then test the action to confirm everything is working. Once everything is working, save the Zap and 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 been uploaded, please take a look at 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. On the “when something happens“ section, Choose App, search for "Transifex," and select it when prompted to do so, as seen below:

    Set-up-trigger-for-download.jpg#asset:9639

  3. Select "Localization Activity Completed:

    Select-localization-activity-completed.jpg#asset:9632

    Click the "Continue" button to proceed.

  4. Select Your Transifex security credentials:

    Dropbox-security-credentials2.jpg#asset:9633

    Click the "Continue" button to proceed.

  5. Set up the "trigger" in Dropbox for when you want translations synced from Transifex (you can choose more than one trigger).

    Set-up-trigger2.jpg#asset:9634

    Press the "Continue" button to proceed.

    Test the "trigger" to ensure the criteria set is correct, then press the "Continue" button to proceed.

  6. Select "Download file" as the Action Event.

    Download-translation-action-event.jpg#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, populate the dropdowns as seen below:

    Download-translation-action-set-up.jpg#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. Select the "Upload file" event:

    Upload-file-to-Dropbox.jpg#asset:9642

    Press the "Continue" button to proceed.

  12. Choose the appropriate Dropbox account as seen below:

    Upload-file-account-access.jpg#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:

    Upload-file-set-up-action.jpg#asset:9644

    Note that the "Filename" is customizable 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. The "Filename of the file:" parameter uses the resource slug of the source file.

    If you are not satisfied with the resource slug, you can change it in Transifex by following the instructions indicated here (Note: these instructions are for changing a category, but a slug is changed from the same popup).

  14. As an option, test the zap. Make sure to turn on the zap when finished. At this point, there should be three steps/actions to your zap.


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?