Lionbridge Translation
The Lionbridge Translation component provides an integrations pathway with Lionbridge through its Content APIs.
Read the Lionbridge Key concepts documentation for further insight.
Triggers
This component has no trigger functions. This means it will not be accessible to select as a first component during the integration flow design.
Usage examples
To use this component, you should create two flows with the following structures:
Webhook1 > Lionbridge translation2 > Key:Value storage3
-
Retrieves input message for a
requestTranslationJob***
action and sends it next. -
One of the
requestTranslationJob***
actions retrieves a message from the webhook and returns ajobCode
. -
Saves a
jobCode
from the previous step as a pending job.
Timer > Key:Value storage1 > Node.js code2 > Lionbridge translate3 > Filter4 > Key:Value storage5 > Lionbridge translate6 > Translated message
-
Read and return an array of
jobCodes
of pending jobs. -
Inside
forEach
loop emits everyjobCode
separately to the next step. -
Returns a status of a job through the "Retrieve job status" action.
-
Compares
body.statusCode
to be equal "REVIEW_TRANSLATION". The subsequent step will fire if the filter expression returnstrue
. -
Removes
jobCode
from storage. -
Retrieve translation results using
jobCode
. -
Translated data is returned as a message.