This article is contributed. See the original author and article here.

Many organizations, for example, schools during a significant weather event, need to rapidly communicate ad hoc updates via SMS or Email.  With Azure Communication Services and Azure OpenAI Services, we can simplify this experience to help you automatically generate templated messages for different communication channels and audiences. If this problem seems familiar, we have built a pre-built solution that can help you. See our manual for step-by-step instructions.




The solution uses the example of a a school administrator who needs to send a weather related alert and focuses on three main parts:


  1. Provide a secure app for school administrators using Power Apps. School administrators can configure the message they want to send to their contacts.

  2. Support multiple channels (SMS, Email) using Power Automate and Azure Communication Services. They can cover a variety of channels to ensure the recipients see the message in a timely manner.

  3. Auto-generate templates for each medium based on the message description using Power Automate and Azure OpenAI Services. Craft professional messages for a variety of mediums easily. You will not need to re-write the message for each medium.


Architecture overview


In our solution, to create and send messages to the contacts, we will leverage Power Apps and Power Automate to build the applications and flows. The Power App will enable the school administrator to configure the message they want to send out to contacts. It will be linked to a Dataverse table with contact information. The Power App will trigger a Power Automate flow which will use Azure OpenAI Services to create communication templates for each channel and Azure Communication Services to send SMS and Emails to the parents using contact information.




Check out our pre-built solution or the step-by-step instructions to get started building your own application for SMS and email messages today.


If you would like to see more samples like this or would like to learn more about the process of building solutions with Azure Communication Services and Azure OpenAI Services, drop us a comment below.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.