Create a Power Automate button that notifies an appointment you'll be late

Completed

In this unit, you will build a flow, which is triggered by the Flic button, that looks up your next appointment and sends the attendees an email letting them know that you are running late.

  1. Go to Power Automate and sign in.

  2. Select + Create, which is available on the left navigation pane.

  3. In the Start from blank area of the page, select Automated cloud flow.

  4. In the Flow name field, enter Running Late as the name of the flow. Under Choose your flow's trigger, search for Flic. Select When a Flic is pressed and then select Create.

    Screenshot of the Running late Flic trigger.

  5. In the Flic button trigger, select the drop-down arrow and then select the Flic button that you added previously. For Events, select click.

  6. Select + New step.

  7. In the Choose an action field, search for Get calendar events and then select the Get calendar view of events (V3) action.

  8. For Calendar ID, select Calendar.

  9. In the Start Time field, select Expression and then enter utc. Select the utcNow option from the drop-down list.

    Screenshot of the Get calendar view of events action with the u t c Now expression added.

  10. Select OK.

  11. In the End time field, select Expression and then add the addHours(utcNow(),1) formula.

  12. Select OK.

    The action should look like the following image.

    Screenshot of the Get calendar view events.

  13. Select + New step.

  14. In the Choose an action field, search for send email. Select the Send an email (V2) action.

  15. In the To field, select the advanced icon and then select Required attendees from Dynamic content.

    Screenshot of the send email sent field.

    The Send an email (V2) action will automatically be added inside the Apply to each loop.

    Screenshot of the apply to each loop with Send an email added.

  16. Select Send an email (V2) to expand it.

    Screenshot of the send email sent field.

  17. In the Subject field, enter Running late for our.

  18. Select Dynamic content and then select Subject.

  19. After Subject, enter meeting.

    Screenshot of the send an email subject.

  20. In the Body field, enter the following text:

    Hi there,
    
    I'm running a little late for our meeting.
    

    The following image shows what the full flow should look like.

    Screenshot of the full running late flow.

  21. Select the Flow checker icon, which is available on the upper right of the screen. If no errors occur, select Save.

Congratulations, you have now successfully built a flow that triggers by the use of a physical button. To test the flow, you need to have the Flic app open on your phone and then select the Flic button once. The flow will check to see if any meetings are currently happening or are pending between now and the next hour, and then it will send out a notification to all attendees.