Personalize content Creation with Dynamics 365 Marketing and Open AI DALL-E

Personalize content marketing is successful key to engaging Customers with relevant context to make intend to buy the product/Service


In Dynamics 365, the feature Personalize allows Marketo to customers' content based on individual Customers or Segmentation.

Today Microsoft is launching Copilot into Dynamics 365 Marketing as a  preview. The AI capability to help the marketing team generate copywriting content using some keywords to increase work productivity.

In this article. I will show how to improve  Auto generating Content by establishing a connection using  Open AI Service  DALL-E  to generate the Image that relates to the content.


The first step we explore the DALL-E Capability by following the Open AI website or Microsoft Bing for the free version




Image Creator from Microsoft Bing



So now. The part of API. At this moment I have no access to Azure Open AI  Service DALL-E.So I chose Open AI Website for demonstration https://platform.openai.com/account/api-keys


 For the established connection part, I'm using Power Automate  HTTP req to handle the data connection between Dynamics 365 Marketing and Open AI service.




if Your flow is successful. You will get a response with Image generated URL


Check the URL Image



We go to Dynamics 365 marketing and select E-mail Menu for E-mail content Design


Select the E-mail template you want.


I start to create a trigger for Power Automate under Dynamics 365 Screen (This feature will be deprecated as soon. )


The button flow will popup prompt from the user and  trigger Power Automate to call Open AI Service

Once Dynamics get the Response URL image it will map to the Image content



Images are visible on E-mail content and ready to use

Now try the new feature COPILOT in Dynamics 365 Marketing on the right-hand side.


I try to input my keyword but it doesn't work at this moment. So leave it default and do generate


The content Idea has been applied to E-mail content under the image


Thanks for your visit 

Azure Open AI connected to Dynamics 365 Customer Service | Case resolution (Thai Language)

Microsoft has announced that they will integrate Open AI GPT Technology into their Product such as 
Microsoft 365, and Dynamics 365 are called "CO-PILOT"  but currently when I create this article 
CO-PILOT support Thai Language is not available yet. Introducing Microsoft Dynamics 365 Copilot


 So I make this solution for my demonstration propose to show my customer how it works. By using  Azure open AI Service retrieves Case detail conversion from Customer service Omnichannel and summarizes Text  by following this step




1. Create  Azure Open AI  | You might need to input a request quote  to the Microsoft Product team


Create Open AI Service



Once you finished provisioning  you be able to Access  Azure AI Studio  select examples: Summarize issue resolution from conversion




You can see how AI summarizes conversion and you also finetune parameters on your right widget bar


Let's try with Thai language scenario, Open AI has summarized the conversion 

I have adjusted the temperature to 0.33  (Controls randomness. Lowering the temperature means that the model will produce more repetitive and deterministic responses. Increasing the temperature will result in more unexpected or creative responses. Try adjusting the temperature or Top P but not both.)


So now. If you OK with you trained model. It's time to deploy and make a connection with Dynamics 365 Customer Service


Click View Code to get Endpoint URL and Key Value Following Microsoft Doc






Create Microsoft Power Automate to trigger with HTTP Request 





Use the same example conversion in the Text variable


The power automation flow is working perfectly. We got a resolution text response on final step




It's time to move  to Dynamics 365 Customer Service part





The company Support agent may receive a Case via E-mail,  Chat, Phone Call (Need to enable Speech to text), or Power virtual Agenet conversion history before escalating to Agent

We can use the case detail description pass into Azure Open AI service by using Power Automate  as a connector 

I have modified the Power Automate form as a Cloud flow to trigger events from Dataverse that are used for Datastroage for Dynamics 365




As you can see.When the case context was logged. When then Agenet try to resolve Case  Power Automate will trigger by Dynamics 365 dataverse and call HTTP Request to Azure Open AI service


To improve AI accurate response, You can import Organization's Knowledge base to support AI suggestions more relevant to your Organization's business process. By the way, I'm waiting to try CO-PILOT Out of the box Feature in Dynamics 365  Customer Service to see how it's works with Thai Language


Thanks for your visit.