Use the text translation prebuilt model in Power Automate (preview)
[This topic is pre-release documentation and is subject to change.]
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.
Sign in to Power Automate, select the My flows tab, and then select New > +Instant-from blank.
Name your flow, select Manually trigger a flow under Choose how to trigger this flow, and then select Create.
Expand Manually trigger a flow, select +Add an input, select Text as the input type, and set as input title My Text.
Select + New step, search for the term AI Builder, and then select Translate text into another language in text in the list of actions.
Select the target language in the Translate to input and specify the My Text field from the trigger in the Text input.
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).
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.
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.
|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")|
|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")|