Creating an iPhone shortcut to control alarms based on your calendar

Here's a video that demonstrates how to control an alarm based on your calendar events.   In this example I will turn my work alarm on or off based on a calendar event that says if I am working a weekend or not.