Skip to main content

DeepL

DeepL is a machine translation service that allows you to translate text to different languages.

!!! note "Credentials" You can find authentication information for this node here.

Basic Operations

  • Language
    • Translate data

Example Usage

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.

  1. Enter https://www.thecocktaildb.com/api/json/v1/1/random.php in the URL field.
  2. Click on Execute Node to run the node.

3. DeepL node (translate: language)

This node will translate the cocktail instructions that we got from the previous node to French. To translate the instructions in your language, select your language instead.

  1. First of all, you'll have to enter credentials for the DeepL node. You can find out how to do that here.

  2. Click on the gears icon next to the Text field and click on Add Expression.

  3. Select the following in the Variable Selector section: Current Nodes > Input Data > JSON > drinks > [item: 0] > strInstructions. You can also add the following expression: {{$json["drinks"][0]["strInstructions"]}}.

  4. Select 'French' from the Target Language dropdown list.

  5. Click on Execute Node to run the node.