Use the text translation prebuilt model in Power Automate (preview)

[This topic is pre-release documentation and is subject to change.]

Important

To use AI Builder models in Power Automate, you have to create the flow inside a solution. The steps below won't work if you don't follow these instructions first: Create a flow in a solution.

  1. Sign in to Power Automate, select the My flows tab, and then select New > +Instant-from blank.

  2. Name your flow, select Manually trigger a flow under Choose how to trigger this flow, and then select Create.

  3. Expand Manually trigger a flow, select +Add an input, select Text as the input type, and set as input title My Text.

  4. Select + New step, search for the term AI Builder, and then select Translate text into another language in text in the list of actions.

  5. Select the target language in the Translate to input and specify the My Text field from the trigger in the Text input.

  6. Optionionally, select the source language in the Translate from input after clicking at "Show More" to specify the language of the text in "My Text" field (if you don't specify this input, the model will automatically detect the source language for you).

    Trigger text translation flow

  7. In the successive actions, you can use any fields extracted by the AI Builder model. For example, you can use get a notification of the translated text sent out to your email using the "Send me a notification email" and the output property "Text" from the text translation model.

    Text translation flow example

Congratulations! You've created a flow that uses a sentiment analysis model. Select Save on the top right and then select Test to try out your flow.

Parameters

Input

Name Required Description Values
Text Yes Text to translate Text sentences
Translate to Yes Target language of the translated text Item in a list of predefined languages or a language code (ex.: "en", "fr", "zh_chs", "ru")
Translate from No Language of the text to be translated Item in a list of predefined languages or a language code (ex.: "en", "fr", "zh_chs", "ru")

Output

Name Description Values
Text Translated version of the input text Text sentences
Detected language Detected language of the input text if the field "Translated from" wasn't specified Language code (ex.: "en", "fr", "zh_chs", "ru")

Text translation overview