Google Cloud Translator Service Spoke
Summarize
Summary of Google Cloud Translator Service Spoke
The Google Cloud Translator Service spoke enables ServiceNow customers to dynamically translate user-entered text and detect the language of the text using Google’s translation service. It integrates seamlessly with the Dynamic Translation framework, providing subflows and actions that can be embedded within other workflows to automate language detection and translation tasks.
Show less
This spoke requires a Professional or higher ServiceNow subscription that includes Dynamic Translation, or an Integration Hub subscription. It leverages the Google Translate API version v3 and requires configuration of a Google Cloud account with OAuth 2.0 JWT Bearer Grant token authentication.
Key Features
- Subflows: Two published subflows available for reuse:
- Detect Language: Inputs, actions, and outputs to identify the language of provided text.
- Translate Text To Multiple Languages: Inputs, actions, and outputs to translate text into multiple target languages.
- Actions: Three main actions that can be called in flows:
- Detect Language: Detects the language of input text.
- Translate Text To Single Language: Translates text to one specified language.
- Translate Text To Multiple Languages: Translates text to several languages simultaneously.
- Connection and Credential Management: Uses Integration Hub aliases to manage Google Cloud connection and OAuth credential details, simplifying multi-environment management and minimizing the need for repetitive updates across flows.
Practical Implementation
To implement this spoke, ServiceNow customers must:
- Install the Google Cloud Translator Service spoke from the ServiceNow Store.
- Activate the Dynamic Translation plugin.
- Configure their Google Cloud account to generate the required OAuth 2.0 JWT Bearer Grant token.
- Set up the GoogleTranslation alias for connection authorization within Integration Hub.
Once configured, customers can incorporate language detection and translation capabilities into their custom flows, enabling enhanced multilingual support and automation within their ServiceNow environment.
Provides subflows and actions to dynamically translate the user-entered text, and to detect the language of the text using the Google translation service.
Request apps on the Store
Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
Subscription
- Any ServiceNow subscription that is Professional or above, and includes Dynamic Translation.
- Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.
Supported versions
Google Translate API version v3.
Scope of the spoke in the Dynamic Translation framework
To use Google Cloud Translator Service spoke in the Dynamic Translation framework, ensure that the spoke is installed in ServiceNow Store and the Dynamic Translation plugin is active. For more information, see Dynamic Translation.
Spoke flows
This spoke has no sample flows.
Spoke subflows
The Google Cloud Translator Service spoke provides subflows in the Published state to integrate with the Google translation service. These subflows can be used as part of other subflows and flows.
| Subflow | Description |
|---|---|
| Detect Language | Contains a set of inputs, actions, and outputs to detect the language of the input text. |
| Translate Text To Multiple Languages | Contains a set of inputs, actions, and outputs to translate the input text to multiple languages. |
Spoke actions
The Google Cloud Translator Service spoke provides actions to integrate with the Google translation service. Available actions include:
| Action | Description |
|---|---|
| Detect Language | Detects the language of the input text. |
| Translate Text To Single Language | Translates the input text to a single language. |
| Translate Text To Multiple Languages | Translates the input text to multiple languages. |
Google account requirements
The Google Cloud Translator Service spoke requires configuring your Google Cloud account to generate an OAuth 2.0 JWT Bearer Grant token.
Connection and credential alias requirements
Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.
This spoke uses the GoogleTranslation alias record (sn_google_trans.GoogleTranslation) to authorize actions. For information about setting up the spoke, see Set up the Google Cloud Translator Service spoke.