{"id":38706,"date":"2024-07-24T16:24:45","date_gmt":"2024-07-24T10:54:45","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=38706"},"modified":"2024-07-25T14:39:51","modified_gmt":"2024-07-25T09:09:51","slug":"streamline-multilingual-customer-support-using-language-detection-prebuilt-model-in-power-automate","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2024\/07\/streamline-multilingual-customer-support-using-language-detection-prebuilt-model-in-power-automate\/","title":{"rendered":"Streamline Multilingual Customer Support using Language Detection Prebuilt Model in Power Automate"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone wp-image-38707 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"2800\" height=\"1600\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support.png 2800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-300x171.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1024x585.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-768x439.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1536x878.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2048x1170.png 2048w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-660x377.png 660w\" sizes=\"(max-width: 2800px) 100vw, 2800px\" \/><\/p>\n<p style=\"text-align: justify;\">The <a href=\"https:\/\/learn.microsoft.com\/en-us\/ai-builder\/prebuilt-language-detection\" target=\"_blank\" rel=\"noopener\">language detection <\/a><a href=\"https:\/\/learn.microsoft.com\/en-us\/ai-builder\/prebuilt-language-detection\" target=\"_blank\" rel=\"noopener\">prebuilt<\/a><a href=\"https:\/\/learn.microsoft.com\/en-us\/ai-builder\/prebuilt-language-detection\"> model<\/a> figures out the main language of a text document. It looks at the text and gives back the detected language and a confidence score from 0 to 1, with higher scores showing more confidence. The language is returned simply, like &#8220;en&#8221; for English instead of &#8220;en-US&#8221; for American English. If the language can&#8217;t be identified, it returns &#8220;unknown.&#8221;<\/p>\n<h2 style=\"text-align: justify;\"><strong>Use Case<\/strong><\/h2>\n<p style=\"text-align: justify;\">A company provides customer support to a global customer base. Customers can submit support tickets via email or a web form in multiple languages. To streamline the support process, the company wants to automatically route tickets to support agents who are fluent in the ticket&#8217;s language.<\/p>\n<h2 style=\"text-align: justify;\"><strong>Implementation<\/strong><\/h2>\n<p style=\"text-align: justify;\">To implement the above use case, we will create a custom table called &#8220;Ticket&#8221; to store the tickets and assign the respective person as the owner of those records. In our custom table, I&#8217;ve added additional columns such as customer names and contact details so that I can reach out to them and resolve their issues effectively.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-38708 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"915\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1-300x143.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1-1024x488.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1-768x366.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1-1536x732.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-1-660x315.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">In this use case, customers submit support requests via email or web forms in various languages. To demonstrate with a basic example, I manually trigger a Power Automate flow to create a ticket record in our CRM system. I collect details from the user including the subject, description of the issue, customer&#8217;s name, and phone number to initiate the process.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-38709 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"869\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2-300x136.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2-1024x464.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2-768x348.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2-1536x696.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-2-660x299.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">Next, I&#8217;m adding a language detection model immediately after the trigger action. In the text field, we can input any data; here, I&#8217;m specifically binding the subject value obtained from the user input.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-38710 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-3.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"869\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-3.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-3-300x136.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-3-1024x464.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-3-768x348.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-3-1536x696.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-3-660x299.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">Now, I&#8217;ll add a switch condition that uses the detected language code in its &#8216;On&#8217; field. Additionally, you can include a condition to check the confidence score before proceeding with ticket creation.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-38711 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-4.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"872\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-4.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-4-300x136.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-4-1024x465.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-4-768x349.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-4-1536x698.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-4-660x300.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">In each case of the switch, I will add the language code (for example: en, fr, ru). As shown in the screenshot, I&#8217;ve included &#8216;ru&#8217; for the Russian language.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38712 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-5.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"869\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-5.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-5-300x136.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-5-1024x464.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-5-768x348.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-5-1536x696.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-5-660x299.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">In this flow, I&#8217;m demonstrating by creating switch cases for French and Russian languages. English and any other unknown languages will be handled in the default case.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38713 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-6.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"868\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-6.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-6-300x136.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-6-1024x463.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-6-768x347.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-6-1536x695.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-6-660x299.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">Now, to create a ticket, we are binding the subject and description to the columns of a ticket entity. We assign system users who are fluent in those languages as the owners of the tickets.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38714 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-7.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"873\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-7.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-7-300x136.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-7-1024x466.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-7-768x349.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-7-1536x699.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-7-660x300.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">Now, we are ready to test our flow. When triggering it manually, I&#8217;ll provide data for the ticket in French language. We&#8217;ll check if our language detection model can correctly identify the data and create a record for the respective user.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38715 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-8.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"875\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-8.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-8-300x137.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-8-1024x467.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-8-768x350.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-8-1536x700.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-8-660x301.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p style=\"text-align: justify;\">And it was a success! As shown in the screenshot below, the green checkmarks indicate that the ticket was successfully created for the French language.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38716 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-9.png\" alt=\"Streamline Multilingual Customer Support in Power Automate\" width=\"1919\" height=\"878\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-9.png 1919w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-9-300x137.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-9-1024x469.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-9-768x351.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-9-1536x703.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/07\/Streamline-Multilingual-Customer-Support-9-660x302.png 660w\" sizes=\"(max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<h2 style=\"text-align: justify;\"><strong>Conclusion<\/strong><\/h2>\n<p style=\"text-align: justify;\">This Power Automated Flow showcases the effectiveness of using a language detection model to automate ticket routing based on customer inquiries&#8217; languages. By assigning tickets to agents fluent in detected languages, organizations can enhance customer service and operational efficiency in Microsoft Dynamics 365 CRM systems.<\/p>\n<h2><strong><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\"> Supercharge Your Developments with Our Industry Expertise! <\/div><\/div><\/strong><\/h2>\n<p>Need extra hands for your <strong>Microsoft Dynamics 365 CRM<\/strong> or <a href=\"https:\/\/www.inogic.com\/services\/\" target=\"_blank\" rel=\"noopener\"><strong>Power Platform Developments<\/strong><\/a>? Our dedicated <strong><a href=\"https:\/\/www.inogic.com\/services\/development-services\/dedicated-fte-developers\/\" target=\"_blank\" rel=\"noopener\">Full-Time Equivalent (FTE) developers<\/a><\/strong> are here to streamline your development process. Reach out to us at <a href=\"mailto:crm@inogic.com\">crm@inogic.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The language detection prebuilt model figures out the main language of a text document. It looks at the text and gives back the detected language and a confidence score from 0 to 1, with higher scores showing more confidence. The language is returned simply, like &#8220;en&#8221; for English instead of &#8220;en-US&#8221; for American English. If\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2024\/07\/streamline-multilingual-customer-support-using-language-detection-prebuilt-model-in-power-automate\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1985],"tags":[2911,2910],"class_list":["post-38706","post","type-post","status-publish","format-standard","hentry","category-power-automate","tag-language-detection-prebuilt-model","tag-multilingual-customer-support"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/38706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=38706"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/38706\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=38706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=38706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=38706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}