Google Cloud Translator Service Spoke
Summarize
Summary of Google Cloud Translator Service Spoke
The Google Cloud Translator Service Spoke enables ServiceNow customers to dynamically detect the language of user-entered text and translate that text using Google’s translation service. It integrates seamlessly within the Dynamic Translation framework, providing reliable language detection and translation capabilities through pre-built subflows and actions.
Show less
Key Features
- Language Detection: Includes a subflow and action to detect the language of input text accurately.
- Text Translation: Supports translation of input text into a single language or multiple languages using dedicated subflows and actions.
- Integration Hub Compatibility: Utilizes Integration Hub’s alias management for connection and credential handling, streamlining OAuth 2.0 JWT Bearer Grant token configuration with Google Cloud accounts.
- Subscription Requirements: Requires a ServiceNow subscription at Professional level or above with Dynamic Translation enabled, or an Integration Hub subscription.
- API Support: Works with Google Translate API version v3.
Using the Spoke
To leverage this spoke, ensure that it is installed from the ServiceNow Store and that the Dynamic Translation plugin is active in your instance. The spoke does not include sample flows but provides published subflows and actions that can be incorporated into your own workflows.
- Subflows:
- Detect Language: Inputs text and outputs the detected language.
- Translate Text To Multiple Languages: Translates given text into several languages with defined outputs.
- Actions:
- Detect Language
- Translate Text To Single Language
- Translate Text To Multiple Languages
Configuration and Authorization
Setting up the spoke involves configuring your Google Cloud account to generate the necessary OAuth 2.0 JWT Bearer Grant token. Integration Hub’s alias management simplifies credential and connection handling across multiple environments by using the GoogleTranslation alias. This avoids the need to update individual actions when connection details change.
Benefits for ServiceNow Customers
- Enables automated, accurate language detection and multi-language translation within ServiceNow workflows.
- Improves global user experience by supporting multilingual content processing.
- Simplifies integration with Google Cloud Translation services through reusable subflows and actions.
- Streamlines credential management and security with OAuth-based authorization and alias configuration.
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 website 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.