Generate and send SMS and Email using Azure OpenAI Services and Azure Communication Services
Published May 31 2023 10:08 AM 6,262 Views
Microsoft

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.

 

                                                      Contoso-School.gif

 

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.

 

                                                         dayshacarter_1-1685550863843.png

 

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.

Version history
Last update:
‎May 31 2023 10:09 AM
Updated by: