LingvaNex#
Use the LingvaNex node to automate work in LingvaNex, and integrate LingvaNex with other applications. Ensemble has built-in support for translating data with LingvaNex.
On this page, you'll find a list of operations the LingvaNex node supports and links to more resources.
Credentials
Refer to LingvaNex credentials for guidance on setting up authentication.
Basic Operations#
- Translate data
Example Usage#
This Pathway allows you to translate cocktail instructions to Italian. This example usage Pathway uses the following nodes. - Start - HTTP Request - LingvaNex
1. Start node#
The Start node exists by default when you create a new workflow.
2. HTTP Request node (GET)#
This node will make a GET request to the API https://www.thecocktaildb.com/api/json/v1/1/random.php
to fetch a random cocktail. This information gets passed on to the next node in the workflow.
- Enter
https://www.thecocktaildb.com/api/json/v1/1/random.php
in the URL field. - Click on Execute Node to run the node.
3. LingvaNex node#
This node will translate the cocktail instructions that we got from the previous node to Italian. To translate the instructions in your language, select your language instead.
-
First of all, you'll have to enter credentials for the LingvaNex node. You can find out how to do that here.
-
Click on the gears icon next to the Text field and click on Add Expression.
- Select the following in the Variable Selector section: Nodes > HTTP Request > Output Data > JSON > drinks > [item: 0] > strInstructions. You can also add the following expression:
{{$node["HTTP Request"].json["drinks"][0]["strInstructions"]}}
. - Select 'Italian' from the Translate To dropdown list.
- Click on Execute Node to run the node.