Create a text translation flow (preview)

Important

  • The Translator connector is currently available in public preview. Features, approaches and processes may change, prior to General Availability (GA), based on user feedback.

This article guides you through configuring a Microsoft Translator V3 connector cloud flow that supports text translation and transliteration. The Translator V3 connector creates a connection between your Translator Service instance and Microsoft Power Automate enabling you to use one or more prebuilt operations as steps in your apps and workflows.

Text translation is a cloud-based REST API feature of the Azure AI Translator service. The Text Translation API enables quick and accurate source-to-target text translations in real time.

Prerequisites

To get started, you need an active Azure subscription. If you don't have an Azure subscription, you can create one for free.

  • Once you have your Azure subscription, create a single-service Translator resource (not a multi-service Azure AI services resource):

  • You need the key and name from your resource to connect your application to Power Automate. Your Translator resource keys are found under the Resource Management section in the Azure portal and your resource name is located at the top of the page. Copy and paste your key and resource name in a convenient location, such as Microsoft Notepad.

    Screenshot showing key and endpoint location in the Azure portal.

Configure the Translator V3 connector

Now that you've completed the prerequisites, let's get started.

  1. Sign in to Power Automate.

  2. Select Create from the left sidebar menu.

  3. Select Instant cloud flow from the main content area.

    Screenshot showing how to create an instant cloud flow.

  4. In the popup window, name your flow, choose Manually trigger a flow then, select Create.

    Screenshot showing how to manually trigger a flow.

  5. The first step for your instant flow—Manually trigger a flow—appears on screen. Select New step.

    Screenshot of add new flow step page.

  6. A choose an operation pop-up window appears. Enter Translator V3 in the Search connectors and actions search bar then select the Microsoft Translator V3 icon.

    Screenshot showing the selection of Translator V3 as the next flow step.

Structure your cloud flow

Let's select an action. Choose to translate or transliterate text.

Translate

  1. Select the Translate text action.

  2. If you're using the Translator V3 connector for the first time, you need to enter your resource credentials:

    • Connection name. Enter a name for your connection.

    • Subscription Key. Enter one of your keys that you copied from the Azure portal.

    • Translator resource name. Enter the name of your Translator resource found at the top of your resource page in the Azure portal. Select Create.

      Screenshot showing the add connection window.

      Note

      After you've setup your connection, you won't be required to reenter your credentials for subsequent Translator flows.

  3. The Translate text action window appears next.

  4. Select a Source Language from the dropdown menu or keep the default Auto-detect option.

  5. Select a Target Language from the dropdown window.

  6. Enter the Body Text.

  7. Select Save.

    Screenshot showing the translate text step.

Test your connector flow

Let's test the cloud flow and view the translated text.

  1. There's a green bar at the top of the page indicating that Your flow is ready to go..

  2. Select Test from the upper-right corner of the page.

    Screenshot showing the test icon/button.

  3. Select Test FlowManuallyTest from the right-side window.

  4. In the next window, select the Run flow button.

  5. Finally, select the Done button.

  6. You should receive a "Your flow ran successfully" message and green check marks align with each successful step.

    Screenshot of successful flow.

Select the Translate text step to view the translated text (output):

Screenshot of translated text output.

Tip

  • Check on the status of your flow by selecting My flows tab on the navigation sidebar.
  • Edit or update your connection by selecting Connections under the Data tab on the navigation sidebar.

That's it! You now know how to automate text translation processes using the Microsoft Translator V3 connector and Power Automate.

Next steps