Skip to main content

Celonis Product Documentation

Google Translate (Action Flow)

Important

Any references to third-party products or services do not constitute Celonis Product Documentation nor do they create any contractual obligations. This material is for informational purposes only and is subject to change without notice. Celonis does not warrant the availability, accuracy, reliability, completeness, or usefulness of any information regarding the subject of third-party services or systems.

The Google Translate modules enable you to translate a text or perform an API call using Google Translate.

Getting Started with Google Translate

Prerequisites

Note

The module dialog fields that are displayed in bold (in the Execution Management System Action Flow, not in this documentation article) are mandatory!

Connecting Google Translate to Execution Management System
  1. Go to Execution Management System and open the Google Translate module's Create a connection dialog.

  2. Enter a name for the connection to the Connection name field and click Continue.

    61f26fc296788.gif

    After you click the Continue button, Execution Management System will redirect you to the Google Translate website where you will be prompted to grant Execution Management System access to your account.

    The connection has been established. You can proceed with setting up the module.

    61f26fc4ef2cc.png

    Confirm the dialog by clicking the Allow button.

Actions

Translates an entered text into the selected target language.

Connection

Establish a connection to your Google account.

Source Language (From)

Select the language you want to translate the text from.If you select the Detect language option, detected characters will be deducted from your daily quota. See Google Translate pricing.

Target Language (To)

Select the language you want to translate the text to.

Text to Translate

Enter the text you want to translate.

Format

Select the format of the source text.

Model

Select the translation model. Can be either base to use the Phrase-Based Machine Translation (PBMT) model, or the Neural Machine Translation (NMT) model. If omitted, then NMT is used. If the model is NMT, and the requested language translation pair is not supported for the NMT model, then the request is translated using the PBMT model.

Allows you to perform a custom API call.

Connection

Establish a connection to your Google account.

URL

Enter a path relative to https://www.googleapis.com/language/translate.For example: /v2/detect.

Note

For the list of available endpoints, refer to the Google Translate APIs & References Documentation.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we added those for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

The following API call returns the language code of the specified text:

URL:

/v2/detect

Method:

GET

Query String:

Key q

Value

<the text you want to detect the language for>

61f26fc5e592a.png

The result can be found in the module's Output under Bundle > Body > detections.

In our example, "de"language (German) has been detected:

61f26fc6eebd0.png