Skip to content
JScheper.com
JScheper.com

BizApps, Powerplatform and AI

  • Home
  • Blog
  • Contact
JScheper.com

BizApps, Powerplatform and AI

AI Builder language models

Leverage AI Builder language models to collaborate more easily

Posted on October 2, 2024October 2, 2024 By Jeroen Scheper

Within the AI Builder, there is a whole range of prebuilt models that you can use within for example the Power Platform. In this blog post, I would like to focus on two AI Builder language models that are prebuilt and available to you:

  • Language detection model
  • Translate text into another language

Use case: Padel Vamos goes internationally

Padel Vamos company, which started from a garage in the Netherlands, is expanding to go internationally. This comes with new challenges since the current website allows people to raise questions about the padel equipment that Padel Vamos is selling. Initially, the company thought that optimizing the ordering process and doing marketing would just do it and after a few days questions from all over the world came into the system as cases. Panic mode On 🤣

ai builder language models

They would like to keep this functionality in place since lots of customers are super enthusiastic about this support, but this would be way time-consuming. The inbound team, operating from the Netherlands, will remain as it is since there is no budget to hire multi-language speakers therefore the decision was made to see how AI can potentially help with this. The second important reason is that the Dynamics 365 platform has English as the main language of entry. This would make future collaboration a lot simpler and for international colleagues to onboard and understand the customer better.

ai builder translation models

The AI Builder language models

The design of the solution will be that when a case is created or when the case title has changed the following needs to happen:

  • Trigger a Powerautomate Flow
  • Use the prebuilt AI Builder Language detection model to identify the request of the case
  • Use the prebuilt AI Builder to Translate text into another language to change it to English
  • Update the Case Title field to be the translated version if it is not in English and store the original request in a new field

Powerautomate Flow

The entire Powerautomate Flow you can see below, but then I will share step-by-step what you need to configure.

1. The trigger of the flow will be that this should only be triggered when a new case is created or when the case title has been updated.

2. The action Detect the language being used in text will have text as the input, so in our case the case title.

The output could be that it would detect multiple languages, Microsoft has documented the output as follows:

NameTypeDescriptionValues
resultslistA list of languages detected in the input textList of score and languages
Confidence scorefloatHow confident the model is in its predictionValue in the range of 0 to 1. Values close to 1 indicate greater confidence that the identified sentiment is accurate
LanguagestringLanguage inferred from the textLanguage code (ex.: “en”, “fr”, “zh_chs”, “ru”)

3. The compose step I am using to get only the first record of the output of the AI Builder language detection model since it can return multiple detected languages. From the output, I am only filtering out the language.

first(outputs('Detect_the_language_being_used_in_text')?['body/responsev2/predictionOutput/results'])?['language']

4. The next step I put in place is a condition, this will check if the language is not English already since it does not make sense to translate something from English to English. This is also causing the use of unnecessary AI Builder credits.

5. At this point, we now know the language, we know the text, but we only need to translate it using the prebuilt AI Builder Translate text into another language.

  • Translate from: We will use the language that we detected in the second step of this flow
  • Text: The Case title field
  • Translate to: English

The output of this step will be a translated case title in English.

6. The final step is to update the case record, where the English-translated text will be put in the original Case title field. The case title in the language of origination will be stored in a newly created field so we still have access to that.

AI Builder credits

There are two things that I would like to share that can be helpful when you are working on something similar.

  1. Microsoft has shared an article about how credit management works for AI Builder actions
    AI Builder licensing and credit management | Microsoft Learn
  2. If you would like to have insights on how AI Builder credit are being used you can run the AI Builder consumption report. If you struggle to find who actually uses the credits then you should read an article I shared in the past about this.
    Insightful AI Builder Consumption Report or not? – JScheper.com
AI Builder Artificial Intelligence Customer Service Field Services Power Automate Sales Language detectionmulti-language

Post navigation

Previous post
Next post

Related Posts

SharePoint Single SharePoint document storage

Single SharePoint document storage place across sales process

Posted on July 23, 2025July 21, 2025

Let’s start with the fact that I am not a SharePoint “Guru,” so I still need to learn a lot in that area. I wanted to have a single SharePoint document storage place for the sales process of Padel Vamos. The difficulties I found when working with SharePoint are the…

Read More
AI Builder Custom AI Model

Using custom AI Model to help you route your cases

Posted on May 8, 2024July 17, 2024

Using custom AI models to help your organization route your cases to different teams? Within AI Models in Power Apps you have the option now to create your own Custom Model, how cool is that?! In this blog I would like to use the AI builder Entity Extraction custom model….

Read More
Copilot the form fill assist toolbar

Copilot’s new form fill assist toolbar including the support of files

Posted on May 8, 2025May 8, 2025

Still in preview, but looks very promising, the form fill assist toolbar, which also allows you to use files now. This is an extension of something that I wrote about before a while back, when the Copilot smart paste feature was introduced (blog here). At this stage, the new toolbar…

Read More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

ABOUT ME

  • LinkedIn
  • Mail
  • GitHub
  • YouTube
"BizApps and PowerPlatform dude with a passion for AI, sitting relaxt in his black shirt on a bounty white beach with palm trees, a azure blue ocean in the background and enjoying a good coffee "

~GenAI - DALL.E 3 and GPT 3.5

Subscribe

Please wait...

Thank you for subscribing!

Search

Categories

  • AI Builder
  • AI Prompting
  • Artificial Intelligence
  • Copilot
  • Customer Insights
  • Customer Service
  • Dataverse
  • Field Services
  • Generative AI
  • Model-driven Apps
  • Personal Development
  • Power Apps
  • Power Automate
  • Power BI
  • Power Platform
  • Reporting
  • Sales
  • SharePoint

Archive

  • November 2025
  • October 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
© 2024 - All rights reserved | Jeroen Scheper | Privacy Policy