AWS Translate Spoke

Integrate your ServiceNow instance with AWS Translate to detect languages in the text and translate text to the required language.

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.

Integration Hub subscription

This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

Supported version

This spoke was built for AWS Translate API version 2017-07-01 and AWS Comprehend version 2017-11-27, but may be compatible with later versions.
Note:
  • If you use different API version, ensure that you change the API version in all spoke actions.
  • The current version of the AWS Translate spoke is not compatible with dynamic translation.

Spoke dependencies

If you’re having trouble installing the app, ensure that these dependent plugins are installed:

  • Complex Object (com.glide.cobject)
  • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
  • ServiceNow Flow Designer - Dynamic Inputs (com.glide.hub.dynamic_inputs)
  • ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
Note: Some of these plugins are licensable features and require an appropriate license if used outside the spoke implementation. For information on licenses, contact your account manager.

Spoke requirements

  • User with full access to AWS Translate.
  • Access Key ID and Secret Access Key of the user. Record these values for later use. For more information, see Create an access key.
For more information about creating user and providing the required access, see AWS Identity and Access Management Documentation site.

Spoke flow

The AWS Translate spoke provides a sample flow, Translate Short Description when Incident is Created to demonstrate translating the short description to Spanish when an incident is created. You can customize the sample flow as per your requirement by creating a copy of it in the required scope.

Spoke actions

The AWS Translate spoke provides actions to automate translating tasks when events occur in ServiceNow. Available actions include:
Category Action Description
Language Management Detect Dominant Language Detects the language of text using AWS Comprehend service.
Note: Provide the text for which you want to detect the dominant language in the action input Text. The output is a JSON string that contains an array of the detected languages. One of the elements in the array is Score. This is a decimal number and its value is between 0 and 1.
Using Score in subsequent actions.

When the action is executed, the Languages Detected action output may not display any runtime value. However, the output data pill still holds the response data and can be used in the subsequent actions in the flow or subflow.

Score value in the output response body.
Translate Management Translate Text Translates text from the source language to the target language using AWS Translate service.
Note:
  • For Source Language and Target Language, input values can’t be selected until a valid input value is provided for Region.
  • If you select Auto from the Source Language list, the AWS Translate API uses the AWS Comprehend service to automatically detect the language. In this case, you must provide the region that supports Amazon Comprehend. Else, the request returns an error indicating the auto-detect is not supported.
Note: The actions have Region as an input. To retrieve the list of available regions, use the List Regions action from the Amazon EC2 Spoke.

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.

For information about setting up the spoke, see Set up the AWS Translate spoke.