Skip to main content
Power Automate
    • Connectors
    • Templates
    • Take a guided tour
    • Digital process automation
    • Robotic process automation
    • Business process automation
    • Process advisor
    • AI Builder
  • Pricing
  • Partners
    • Blog
    • Documentation
    • Roadmap
    • Self-paced learning
    • Webinar
    • Business process and workflow automation topics
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • User groups
    • Register
    • ·
    • Sign in
    • ·
    • Help
    Go To
    • Microsoft Power Automate Community
    • Welcome to the Community!
    • News & Announcements
    • Get Help with Power Automate
    • General Power Automate Discussion
    • Using Connectors
    • Building Flows
    • Using Flows
    • Power Automate Desktop
    • Process Advisor
    • AI Builder
    • Power Automate Mobile App
    • Translation Quality Feedback
    • Connector Development
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Galleries
    • Community Connections & How-To Videos
    • Webinars and Video Gallery
    • Power Automate Cookbook
    • Events
    • 2021 MSBizAppsSummit Gallery
    • 2020 MSBizAppsSummit Gallery
    • 2019 MSBizAppsSummit Gallery
    • Community Engagement
    • Community AMA
    • Community Blog
    • Power Automate Community Blog
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Microsoft Power Automate Community
    • Galleries
    • Power Automate Cookbook
    • How to use IBM Cognitive Language Translation serv...

    How to use IBM Cognitive Language Translation services in Power Automate Desktop?

    11-13-2022 04:09 AM - last edited 11-13-2022 04:32 AM

    Multi Super User VJR
    Multi Super User
    679 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    VJR
    Multi Super User VJR
    Multi Super User
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    How to use IBM Cognitive Language Translation services in Power Automate Desktop?

    ‎11-13-2022 04:09 AM

    This is about using the following IBM cognitive Language translation actions using a Free plan. 

     

    VJR_0-1668335587053.png

     

    • To use this service you need to create an account at https://cloud.ibm.com/ - (Does not require credit card or any payment information)
    • Once registered follow the below steps:

    Please note if you already have added this service earlier in your IBM account and are having the details like Instance Id, API key etc. handy with you, then you can skip the below steps and proceed directly on how to enter these details in the PAD action. (In Step No. 6 below)

     

    1. On the top search box search for language translator and click on the search result.

    Make sure you click the one in the Catalog Results and not the one in the Resource Results.

    VJR_5-1668336723914.png

     

    2. On the next page you will see a screen as below

    Select your location, choose the Free Lite plan and click the Create button to create a Resource.

    Refer the Lite plan details to see how many characters you can use as per this Free plan.

     

    VJR_4-1668336628633.png

     

         You will see the list of all the Resources you have added to your IBM account on the Resources page

         Either use the URL https://cloud.ibm.com/resources

         OR follow the below menu options

     

    - Click the hamburger icon on the top left corner

             VJR_1-1668336065652.png

     

    - Then click on Resource list

    VJR_2-1668336133463.png

     

    3. The language translator resource or any other resource you may have added will be available in the below section.

       Click on Language Translator.

     

    VJR_6-1668337217674.png

     

    4. We need to create a Credential to use this Resource. Click on Service Credentials on the left hand side

    VJR_7-1668337314676.png

     

    5. Create a new credential using the below button

    VJR_8-1668337475861.png

     

           - Give a meaningful name and click Add with all the default options.

     

    6. Once created you will see a JSON created as below

    VJR_9-1668337909049.png

     

    7. Add the Translate action from the list of actions under IBM Cognitive in Power Automate Desktop.

    VJR_10-1668338118592.png

     

    - Add the No. 1 and No. 4 from the ones as shown below

    VJR_11-1668338437300.png

     

    - For the Location box in No 3. select the one that you chose while creating the Resource.  Scroll up and you will find the screenshot as below. I selected eu-gb and hence I have selected UK in the PAD action (box no. 3). 

    VJR_12-1668338544498.png

     

    - For the Version Date in No. 2  go to the API docs of the language translator

       https://cloud.ibm.com/apidocs/language-translator

      Scroll below on that page and pick the one that you see as below.

    VJR_13-1668338807450.png

     

    - For box No 5, either you can create your own Model and give a Model Id here (may require paid plan) OR

    choose Source and Target as shown above.

     

    - For boxes No. 6 and 7 - 

    Choose the Source and Target languages from the list of codes here 

    https://cloud.ibm.com/docs/language-translator?topic=language-translator-translation-models

     

    - In the Text field, add a hard coded text or a variable.

     

    8. Below is the output after running the process from English to Hindi language.

     

    - A status code of 200 indicates that it was a success. If error, double check API key, instance Id, and all of the above parameters thoroughly.

    Also check if nothing is blocking these calls from PAD to the IBM APIs from your organizational access point of view.

     

    - Read the JSONResponse variable to get the output.

     

    VJR_14-1668339932284.png

     

     

    • You can do the same for the other IBM Cognitive actions. 
    • You might need to add other resources in your IBM cloud account for using other cognitive services. For eg; For using for the Analyze Tone action of PAD you might need to add the Natural Language Understanding in the Resources section using the process as explained above and use its own API key and Instance Id.

    VJR_15-1668340322355.png

     

     

    IBM Cognitive PAD.zip
    Labels:
    • Labels:
    • Desktop flows
    Message 1 of 2
    679 Views
    0 Kudos
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    VJR
    Multi Super User VJR
    Multi Super User
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎12-06-2022 03:14 AM

    The IBM Cognitive PAD.zip attachment is blank...was mandatory hence attached a dummy one.

    Message 2 of 2
    481 Views
    0 Kudos
    Reply

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Pages
    • Power Automate
    • Power Virtual Agents

    • Sign up free
    • Sign in

    Browse

    • Templates
    • Connectors
    • Partners

    Downloads

    • Mobile
    • Gateway

    Learn

    • Documentation
    • Learn
    • Support
    • Community
    • Give feedback
    • Blog
    • Pricing

    • © 2023 Microsoft
    • Contact us
    • Trademarks
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Terms & conditions
    California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices