{"id":40280,"date":"2025-01-27T16:14:22","date_gmt":"2025-01-27T10:44:22","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=40280"},"modified":"2025-03-12T11:53:46","modified_gmt":"2025-03-12T06:23:46","slug":"automatically-categorize-your-data-with-aiclassify-in-dynamics-365-crm","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2025\/01\/automatically-categorize-your-data-with-aiclassify-in-dynamics-365-crm\/","title":{"rendered":"Automatically Categorize Your Data with AIClassify in Dynamics 365 CRM"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone size-full wp-image-40287\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/AIClassify-in-Dynamics-365-CRM.png\" alt=\"AIClassify in Dynamics 365 CRM\" width=\"1925\" height=\"1100\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/AIClassify-in-Dynamics-365-CRM.png 1925w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/AIClassify-in-Dynamics-365-CRM-300x171.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/AIClassify-in-Dynamics-365-CRM-1024x585.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/AIClassify-in-Dynamics-365-CRM-768x439.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/AIClassify-in-Dynamics-365-CRM-1536x878.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/AIClassify-in-Dynamics-365-CRM-660x377.png 660w\" sizes=\"(max-width: 1925px) 100vw, 1925px\" \/><\/p>\n<p>One of our clients had a significant challenge managing their emails. They spent countless hours reading each email and manually categorizing them into groups such as <strong>Marketing<\/strong>, <strong>Customer Support<\/strong>, <strong>Billing and Finance<\/strong>, and more. This process was slow, tiring, and often led to inaccuracies. To make managing these categorized emails even easier, we created a custom system view. This view allowed the client\u2019s team to quickly access emails sorted into their respective categories, providing an organized and efficient way to handle them.<\/p>\n<p>Every email had to be read and categorized manually, consuming valuable time and resources. They approached us for a solution that could streamline this task without compromising accuracy.<\/p>\n<p>After evaluating various options, we tried to find the best solution and discovered AIClassify. This innovative tool uses artificial intelligence to classify emails based on their content and description. It automatically sorts incoming messages into predefined categories, such as Marketing, Customer Support, Billing and Finance, and more. This solution minimizes human error and ensures emails are categorized accurately and swiftly.<\/p>\n<p>Using Power Automate and Dynamics 365\u2019s AI capabilities, we built a flow that automatically analyzed email content and updated the Category field based on predefined classifications. Here\u2019s how it worked:<\/p>\n<p><strong>Prerequisites<\/strong><\/p>\n<p>Before we jump into the code, let\u2019s make sure you\u2019re ready to use AIClassify:<\/p>\n<p>To use AIClassify Action and execute AI-related features, you need to enable <strong>AI Builder Features<\/strong>. Navigate to <strong>Settings &gt; Administration &gt; Features<\/strong>. Verify that the <strong>AI Builder Features<\/strong> is enabled.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-40281\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM.png\" alt=\"AIClassify in Dynamics 365 CRM\" width=\"2173\" height=\"1142\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM.png 2173w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM-300x158.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM-1024x538.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM-768x404.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM-1536x807.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM-2048x1076.png 2048w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM-660x347.png 660w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/1AIClassify-in-Dynamics-365-CRM-380x200.png 380w\" sizes=\"(max-width: 2173px) 100vw, 2173px\" \/><\/p>\n<h2><strong>Step-by-Step Process:<\/strong><\/h2>\n<p><strong>1. Triggering the Automation<\/strong>:<br \/>\nThe process started with a Power Automate flow triggered whenever a new email record was created in Dynamics 365. This ensured every incoming email was processed in real time.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-40282\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/2AIClassify-in-Dynamics-365-CRM.png\" alt=\"AIClassify in Dynamics 365 CRM\" width=\"993\" height=\"491\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/2AIClassify-in-Dynamics-365-CRM.png 993w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/2AIClassify-in-Dynamics-365-CRM-300x148.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/2AIClassify-in-Dynamics-365-CRM-768x380.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/2AIClassify-in-Dynamics-365-CRM-660x326.png 660w\" sizes=\"(max-width: 993px) 100vw, 993px\" \/><\/p>\n<p><strong>2. Convert Email Description to Plain Text:<\/strong><\/p>\n<p>We extracted the email content, converting it to plain text to ensure consistency for analysis.<strong><br \/>\n<\/strong><strong><img decoding=\"async\" class=\"alignnone size-full wp-image-40283\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/3AIClassify-in-Dynamics-365-CRM.png\" alt=\"AIClassify in Dynamics 365 CRM\" width=\"1085\" height=\"309\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/3AIClassify-in-Dynamics-365-CRM.png 1085w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/3AIClassify-in-Dynamics-365-CRM-300x85.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/3AIClassify-in-Dynamics-365-CRM-1024x292.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/3AIClassify-in-Dynamics-365-CRM-768x219.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/3AIClassify-in-Dynamics-365-CRM-660x188.png 660w\" sizes=\"(max-width: 1085px) 100vw, 1085px\" \/><br \/>\n<\/strong><strong>3. Call the AIClassify Action<\/strong>:<br \/>\nThe flow invoked an AI-powered classification action that analyzed the email body. The action matched the content to one of the predefined categories, returning the classification result.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-40284\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/4AIClassify-in-Dynamics-365-CRM.png\" alt=\"AIClassify in Dynamics 365 CRM\" width=\"1025\" height=\"999\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/4AIClassify-in-Dynamics-365-CRM.png 1025w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/4AIClassify-in-Dynamics-365-CRM-300x292.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/4AIClassify-in-Dynamics-365-CRM-768x749.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/4AIClassify-in-Dynamics-365-CRM-660x643.png 660w\" sizes=\"(max-width: 1025px) 100vw, 1025px\" \/><\/p>\n<p><strong>4. Update the Email Record<\/strong>:<br \/>\nWith the classification result in hand, the flow automatically updated the Category field in the email record. A conditional Power FX formula ensured accurate mapping between the AI results and category options. For example:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-40285\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/5AIClassify-in-Dynamics-365-CRM.png\" alt=\"AIClassify in Dynamics 365 CRM\" width=\"1033\" height=\"1061\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/5AIClassify-in-Dynamics-365-CRM.png 1033w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/5AIClassify-in-Dynamics-365-CRM-292x300.png 292w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/5AIClassify-in-Dynamics-365-CRM-997x1024.png 997w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/5AIClassify-in-Dynamics-365-CRM-768x789.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/5AIClassify-in-Dynamics-365-CRM-660x678.png 660w\" sizes=\"(max-width: 1033px) 100vw, 1033px\" \/><\/p>\n<p><strong>Example Use Cases:<\/strong><\/p>\n<p>Here\u2019s how the system handled actual emails:<\/p>\n<ul>\n<li><strong>Example 1:<\/strong><\/li>\n<\/ul>\n<p><strong>Subject:<\/strong> &#8220;Exclusive Discounts on Marketing Services&#8221;<\/p>\n<p><strong>Body:<\/strong> &#8220;We\u2019re offering exclusive discounts on marketing services this quarter. Contact us for more information.&#8221;<\/p>\n<p><strong>Result:<\/strong> Marketing<\/p>\n<ul>\n<li><strong>Example 2:<\/strong><\/li>\n<\/ul>\n<p><strong>Subject:<\/strong> &#8220;Invoice Overdue Notice&#8221;<\/p>\n<p><strong>Body:<\/strong> &#8220;Reminder: Invoice #12345 is overdue. Please process payment promptly.&#8221;<\/p>\n<p><strong>Result:<\/strong> Billing and Finance<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-40286\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/6AIClassify-in-Dynamics-365-CRM.png\" alt=\"AIClassify in Dynamics 365 CRM\" width=\"1534\" height=\"1055\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/6AIClassify-in-Dynamics-365-CRM.png 1534w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/6AIClassify-in-Dynamics-365-CRM-300x206.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/6AIClassify-in-Dynamics-365-CRM-1024x704.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/6AIClassify-in-Dynamics-365-CRM-768x528.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2025\/01\/6AIClassify-in-Dynamics-365-CRM-660x454.png 660w\" sizes=\"(max-width: 1534px) 100vw, 1534px\" \/><br \/>\nIn both cases, the system correctly classified the emails and updated the Category field automatically.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Our client\u2019s story shows how AI can transform even the most tedious processes into efficient, automated workflows. By integrating AIClassify into your email management system, you can save time, improve accuracy, and allow your team to focus on higher-value tasks.<\/p>\n<p>Whether you\u2019re dealing with a similar challenge or facing something unique, this approach can be tailored to meet your needs. Let AI handle the repetitive work so you can focus on what matters.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of our clients had a significant challenge managing their emails. They spent countless hours reading each email and manually categorizing them into groups such as Marketing, Customer Support, Billing and Finance, and more. This process was slow, tiring, and often led to inaccuracies. To make managing these categorized emails even easier, we created a\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2025\/01\/automatically-categorize-your-data-with-aiclassify-in-dynamics-365-crm\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":15,"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":[16,2361],"tags":[3106],"class_list":["post-40280","post","type-post","status-publish","format-standard","hentry","category-dynamics-365","category-technical","tag-aiclassify-in-dynamics-365-crm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/40280","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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=40280"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/40280\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=40280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=40280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=40280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}