web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue of Microsoft Tra...
Power Automate
Answered

Issue of Microsoft Translator - Tranlate Text

(0) ShareShare
ReportReport
Posted on by 1,724

Action 'Microsoft Translator - Translate Text''s output is JSON text, not Translated Text.

 

The result example:

{ "statusCode": 200, "headers": { "Pragma": "no-cache", "x-ms-request-id": "0797e183-908b-48e8-87d4-954df93c2827", "Cache-Control": "no-cache", "Date": "Sat, 24 Dec 2016 11:01:32 GMT", "Set-Cookie": "ARRAffinity=a0d9ab6dc8facbfb6adc55a4577a3242faedf7e86b07d9afecd63b6b5836935b;Path=/;Domain=127.0.0.1", "Server": "Microsoft-IIS/8.0,Microsoft-HTTPAPI/2.0", "X-AspNet-Version": "4.0.30319", "X-Powered-By": "ASP.NET", "Content-Length": "129", "Content-Type": "application/json", "Expires": "-1" }, "body": "Hello" }

 

My hope result:

"Hello" 

 

Re-pro flow:

1. Trigger "Flow button for mobile"

2. Action "Compose"

  Name: "Text1"

  Value: "Hello"

3. Action "Microsoft Translator - Translate Text"

  Name: "Text2"

  Input: 'Text1' - Output

  Traget language: English

4. Action "Send a push notification"

  Name "notification"

  Text: "Text2" - Output

 

"Microsoft Translator - Translate Text" outputs may was not JSON, Just translated Text at Nov, 2016.

 

Regards,

Yoshihiro Kawabata

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi Yoshihiro,

     

    I create a flow according to your scenario. Below is a screenshot of my flow. It works well when I click the button to run the flow.

    translator1.PNG

     

    I also try with a flow to send email, it also works well.

    translator2.PNG

     

     

    Could you please try to recreate the flow to see if it works?


    Best regards,
    Mabel Mao

  • yoshihirok Profile Picture
    1,724 on at

    -- NOT SOLVED --

     

    Hi, @v-yamao-msft

     

    Thank you for your check this issue.

     

    This issue is the outputs() result of Microsoft Translator.

    Other actions's outputs() result is Text value.

    The Microsoft Translator actions's outputs() result is JSON value.

     

    My reproduce flow:

     

    1. Trigger - Button

    2. Action - Compose

      Name: Text1

      Inputs: One

    3. Action - Microsoft Translator - Translate Text

      Name: TextT

      Text: Text1 - outputs

      Target language: Japanese

    4. Action - Compose

      Name: OutuptsText1

      Inputs: "@outputs('Text1')"

    5. Action - Compose

      Name: OutputsTextT

      Inputs: "@outputs('TextT')"

    6. Action - Send a push notification

      Name: Send a push notification

      Text: OutputsText1 - Outputs, OutputsTextT - Outputs

     

    I hope the "いち" result of Microsoft Translator - Translate Text,

    But now the value is JSON data.

     

    The log of this fow

    1.png

     

    and The detail of flow

     

    2.png

     

     

     

     

     

     

    Best regards,

    Yoshihiro Kawabata

  • v-yamao-msft Profile Picture
    on at

    Hi Yoshihiro,

     

    I guess your scenario should be that you want to get the translate text using this flow. So may I suggest you move Action4 and Action5, configure Action6 after Action3.

     

    Please also try my flow configuration to see if it meet your needs.

     

    Best regards,
    Mabel Mao

  • yoshihirok Profile Picture
    1,724 on at

    Hi, @v-yamao-msft

     

    Thank you for you reply, and ideas.

     

    I want to use "Translate Text" output in "Compose" action and Workflow Definition Language.

     

    Microsoft Flow can use other trigger/actions outputs by Workflow Definition Language in "Compoase" actions.

    This make Microsoft Flow to more powerful / flexible.

     

    Like: "@coalesce(outputs('Text1'), outputs('Text2'), '-')" in "Compose" action can create a new value that select non-null value from some values.

     

    Current Microsoft Flow trigger/actions outputs can use by Workflow Definition Language in "Compose" action.

     

    So, I want to use "Translate Text" outputs by Workflow Definition Language in "Compose" action.

     

    Regards,

    Yoshihiro Kawabata

  • Verified answer
    yoshihirok Profile Picture
    1,724 on at

    I SOLVED.

     

    The "Translate Text" outputs for "Compose" action's Workflow Definition Language is,

    outputs('TranslateText').body

    instead of outputs('TranslateText')

     

    Regards,

    Yoshihiro Kawabata

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard