Transifex

  • Documentation
  • Zapier
  • Zapier - Slack

Zapier - Slack

Zapier is a tool that lets you connect different apps together and set up “Zaps” to automate tasks. These Zaps, or workflows, are created by connecting triggers (events) in one app with actions (tasks performed) in another. The Transifex app in Zapier supports the following triggers and actions:

  • Triggers: Translation completed, Review completed, Fillup completed, Any of the above (These are the same events supported by our webhooks)
  • Actions: Upload file to Transifex, Download file from Transifex

With these, you can set up workflows (Zaps) like these:

  • Get notified in Slack each time translations for a language are complete
  • Push new source files from Dropbox to Transifex
  • Download translated files to Dropbox when translations are complete

Below, we’ll guide you through the process of setting up the Slack & 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.

Get Slack notifications about finished translations

For this Zap, we’ll first set up a trigger based on an event in Transifex (translations are completed). Then we’ll set up an action to take place in Slack (message a channel) whenever that event occurs. You can follow these steps to get notified about other events, or send notifications through another service.

Setting up the Transifex trigger

  • Sign up for a Zapier account if you don't already have one, then log into the Zapier and click on Zaps and then Create Zap!.

    Untitled-5.png#asset:9605

  • You’ll be asked to choose a trigger app. Search for Transifex and select it from the drop down.


  • Select the event you want to use as a trigger. For this example, we’ll choose Localization Activity Completed. Once you've selected a trigger event, hit Continue.

    Untitled-4.png#asset:9604


  • Connect a New Account, Zapier to Transifex. Click on the drop down menu and choose connect  a new account.

    Untitled-6.png#asset:9606

    A pop up window will display, Enter your API key and hit Yes, Continue.

    Untitled-7.png#asset:9607

    Once your Key is verified your Transifex account will be link to Zapier.

    Untitled-8.png#asset:9608


  • From the drop down menus choose the organization, project and trigger event you will work on and hit Continue.

    Untitled-9.png#asset:9609

    Now, Your trigger is ready just hit Test trigger!

    Untitled-10.png#asset:9610

     

  • Once your trigger is ready, Go back to your Zapier home and search for the trigger you just created and click on it.

    Untitled-11.png#asset:9620

    Now, Choose an action and search for the Slack APP to trigger the notification

    Untitled-12.png#asset:9622Untitled-13.png#asset:9623


  • Once you’ve selected Slack as an App, Select the action and hit Continue.

    Untitled-14.png#asset:9624


  • Now, Let's link your slack account to your Zapier trigger. Click on "Connect a new account"

    Untitled-15.png#asset:9625

    Now allow Zappier access your workspace

    Untitled-16.png#asset:9626


Set up an action according to your needs.

The first set up is to "Send a direct Message in Slack"

Untitled-17.png#asset:9627

The second set up is to "Send a channel Message in Slack"

Untitled-18.png#asset:9628

Once you are done, click on TEST and you should see the notification message on your slack channel

Untitled-20.png#asset:9630