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
-
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.
-
Connect a New Account, Zapier to Transifex. Click on the drop down menu and choose connect a new account.
A pop up window will display, Enter your API key and hit Yes, Continue.
Once your Key is verified your Transifex account will be link to Zapier.
-
From the drop down menus choose the organization, project and trigger event you will work on and hit Continue.
Now, Your trigger is ready just hit Test trigger!
-
Once your trigger is ready, Go back to your Zapier home and search for the trigger you just created and click on it.
Now, Choose an action and search for the Slack APP to trigger the notification
-
Once you’ve selected Slack as an App, Select the action and hit Continue.
-
Now, Let's link your slack account to your Zapier trigger. Click on "Connect a new account"
Now allow Zappier access your workspace
Set up an action according to your needs.
The first set up is to "Send a direct Message in Slack"
The second set up is to "Send a channel Message in Slack"
Once you are done, click on TEST and you should see the notification message on your slack channel