Triggers

The Zapier Trigger is what kicks off the automated process between your apps. Learn more about the triggers that are available for Localazy.

Comment Added 🔗

This is triggered when a comment is added to the connected project.

Input Fields 🔗

There are no input fields required. You only select the project in Localazy, and that’s it.

Output Fields 🔗

Label Description Type Key
Webhook custom id the webhook identifier (empty when defined in UI, modifiable over Public API) string customId
Project phrase id the phrase identifier the comment belongs to string phraseId
Comment language id the language identifier the comment belongs to number langId
Comment locale the locale code the comment belongs to string locale
Comment message the comment text string text
URL the comment URL string url
User id the identifier of the user who added the comment string user__id
User name the name of the user who added the comment string user__name
User image the url of the image of the user who added the comment string user__image
User slug the slug of the user who added the comment string user__slug
Project id the project identifier string project__id
Project organization id the organization the project belongs to string project__orgId
Project name the project name string project__name
Project slug the project slug string project__slug
Project image the project image url string project__image
Project url the project url in Localazy string project__url
Project description the project description string project__description
Project type (public, private, secret) the project type string project__type
Project tone the project tone string project__tone
Project source language the project source language id number project__sourceLanguage
Project organization available keys the number of available keys in the organization project belongs to number project__organization__availableKeys
Project organization used keys the number of used keys in the organization project belongs to number project__organization__usedKeys
Project language id the project language Localazy identifier number project__languages[]id
Project language code the project language code number project__languages[]code
Project language name the project language name number project__languages[]name
Project language active count number of active keys number project__languages[]active
Project language review count number of keys waiting for review number project__languages[]review
Project language current count number of keys with approved version/translation number project__languages[]current
Project language translated count number of keys that are already translated (but may not be approved yet) number project__languages[]translated
Project language source changed count number of keys in the source changed state number project__languages[]sourceChanged
Project language needs improvement count number of keys in the needs improvement state number project__languages[]needImprovement

Based on the key it’s noticeable that Project languages fields are array-like. Therefore, to operate with them in Zapier properly, you might need to use available tools (actions), such as Formatter by Zapier or Code by Zapier.

Project Published 🔗

It’s triggered when the connected project is successfully published. It applies to release tags as well.

Input Fields 🔗

Input fields are calculated dynamically. There are two input lists with multiple selection options enabled. Both inputs help form the ZIP bundle with project files (not required) that you can use later.

Help text Type Required Description Key
Bundle files with these languages. list of string no Contains a list of names of project languages (incl. All choice). Select multiple allowed. languages
Bundle selected files. list of string no Contains a list of names of files in the project (incl. All choice). Select multiple allowed. files

By selecting nothing, there won’t be any ZIP files created.

Selecting the All option will bundle all the available files, languages, or both (depending on the selection). The All preference always has a higher priority than the specified language/file identifier.

Output Fields 🔗

Label Description Type Key
Webhook custom id the webhook identifier (empty when defined in UI, modifiable over Public API) string customId
Tag identifier the latest or a tag created by Released Tags string tag
Project id the project identifier string project__id
Project organization id the organization the project belongs to string project__orgId
Project name the project name string project__name
Project slug the project slug string project__slug
Project image the project image url string project__image
Project url the project url in Localazy string project__url
Project description the project description string project__description
Project type (public, private, secret) the project type string project__type
Project tone the project tone string project__tone
Project source language the project source language id number project__sourceLanguage
Project organization available keys the number of available keys in the organization project belongs to number project__organization__availableKeys
Project organization used keys the number of used keys in the organization project belongs to number project__organization__usedKeys
Project language id the project language Localazy identifier number project__languages[]id
Project language code the project language code number project__languages[]code
Project language name the project language name number project__languages[]name
Project language active count number of active keys number project__languages[]active
Project language review count number of keys waiting for review number project__languages[]review
Project language current count number of keys with approved version/translation number project__languages[]current
Project language translated count number of keys that are already translated (but may not be approved yet) number project__languages[]translated
Project language source changed count number of keys in the source changed state number project__languages[]sourceChanged
Project language needs improvement count number of keys in the needs improvement state number project__languages[]needImprovement
Current timestamp the timestamp that Project Published Trigger was called number current_timestamp
Zipped files the pointer to a ZIP file (specified by the Input Fields) string zipped_files

Based on the key it’s noticeable that Project languages fields are array-like. Therefore, to operate with them in Zapier properly, you might need to use available tools (actions), such as Formatter by Zapier or Code by Zapier.

Content Imported & Content Imported Empty 🔗

This trigger is set off when importing to a project is finished (from CLI or Gradle or UI File Upload).

The trigger is invoked when the import to Localazy has finished with or without any changes to the project. This way, the user does not have to set up two different Zaps - you can read from the data included whether there were changes or not. Filter by Zapier integration can then be used to set a condition on whether to continue or not even though the import was empty.

Input Fields 🔗

There are no input fields required. You only select the project in Localazy, and that’s it.

Output Fields 🔗

Label Description Type Key
Type either import_finished or import_finished_empty string type
CustomId the webhook identifier (empty when defined in UI, modifiable over Public API) string customId
Added number of newly added keys number added
Updated number of updated keys number updated
Deprecated number of deprecated keys number deprecated
Project id the project identifier string project__id
Project organization id the organization the project belongs to string project__orgId
Project name the project name string project__name
Project slug the project slug string project__slug
Project image the project image url string project__image
Project url the project url in Localazy string project__url
Project description the project description string project__description
Project type (public, private, secret) the project type string project__type
Project tone the project tone string project__tone
Project source language the project source language id number project__sourceLanguage
Project organization available keys the number of available keys in organization project belongs to number project__organization__availableKeys
Project organization used keys the number of used keys in organization project belongs to number project__organization__usedKeys
Project language id the project language Localazy identifier number project__languages[]id
Project language code the project language code number project__languages[]code
Project language name the project language name number project__languages[]name
Project language active count number of active keys number project__languages[]active
Project language review count number of keys waiting for review number project__languages[]review
Project language current count number of keys with approved version/translation number project__languages[]current
Project language translated count number of keys that are already translated (but may not be approved yet) number project__languages[]translated
Project language source changed count number of keys in the source changed state number project__languages[]sourceChanged
Project language needs improvement count number of keys in the needs improvement state number project__languages[]needImprovement

Based on the key it’s noticeable that Project languages fields are array-like. Therefore, to operate with them in Zapier properly, you might need to use available tools (actions), such as Formatter by Zapier or Code by Zapier.