A community-built Power Platform sample

Contoso School

Send school communications with Power Apps, Azure Communication Services, and AI Builder.

Power AppsPower AutomateDataverseAI Builder
Contoso School communication entry screen
Last updated
Apr 28, 2023
Category
Canvas apps
Premium license
Required
Experimental features
No

A closer look

See the sample in action.

From idea to implementation

Make it your own.

Check this sample's prerequisites, permissions, and licensing before importing it. The documentation below comes directly from the sample README.

Summary

This sample how you can use Azure Communication Services, Power Apps and AI Builder GPT together!

picture of the entry screen of the alert picture of the alert screen of the alert

Applies to

Power Apps Power Automate Power BI Power Pages Power Virtual Agents Dataverse AI Builder Custom Connectors Power Fx

Compatibility

Premium License Experimental Features

Contributors

Version history

Version Date Comments
1.0 April 28, 2023 Initial release

Features

This sample how you can use Azure Communication Services, Power Apps and AI Builder GPT together!

Data Sources

  • Azure Communication Services Email
  • Azure Communication Services SMS
  • Dataverse (for the parents table)
  • AI Builder (Azure OpenAI Service model - request access here)

Minimal Path to Awesome

  • Request access to the AI Builder Azure OpenAI Service model here.
  • An Azure account with an active subscription. Create an account for free.
  • An active Communication Services resource and connection string. Create a Communication Services resource.
  • An active Azure Communication Services resource connected to an Email Domain and its connection string. Get started by connecting an Email Communication Resource with a Azure Communication Resource.
  • (Optional) An SMS enabled telephone number. Get a phone number.
  • Download the .zip from the solution folder
  • Within Power Apps Studio, import the solution .zip file using Solutions > Import Solution and select the .zip file you just packed.
  • Select the right connections in the connectors window.
  • Enter the right email (donotreply@) and phone number (Format: +1555555555) in the environment variables window. Make sure to link this email and this phone number in Azure Communication Services.
  • Add contact information entries into the Parents table. Make sure to add the email and phone number (Format: +155555555) of the parents.
  • Run the app.

Using the Source Code

You can also use the Power Apps CLI to pack the source code by following these steps::

  • Clone the repository to a local drive

  • Pack the source files back into a solution .zip file:

    pac solution pack --zipfile pathtodestinationfile --folder pathtosourcefolder --processCanvasApps
    

    Making sure to replace pathtosourcefolder to point to the path to this sample's sourcecode folder, and pathtodestinationfile to point to the path of this solution's .zip file (located under the solution folder)

  • Within Power Apps Studio, import the solution .zip file using Solutions > Import Solution and select the .zip file you just packed.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Help

We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.

If you encounter any issues while using this sample, you can create a new issue.

For questions regarding this sample, create a new question.

Finally, if you have an idea for improvement, make a suggestion.

For more information