Create a Power Automate button that sends an email with your location

This unit describes how to build a flow that is triggered by a button that will send an email with your current location to your manager. The flow will be built entirely from the Power Automate app on your smart phone.

  1. In the Microsoft Power Automate app, select the Flows icon that is available in the lower portion of the app. Select the + icon on the upper right of the app.

  2. A menu option will slide upward from the lower part of the app. Select the Create from blank option.

  3. In the Connectors option, select Flow button for mobile. If you don't see the option, then search for it in Search all connectors and triggers and then select it when you've found it.

  4. In the Manually trigger a flow trigger, select +, Add an input, and then Text. Select Input, delete Input, and then enter Reason. Select Done in the upper right of the page.

  5. Select + and then New step.

  6. Select Add an action.

  7. Search for Time. Select Date Time and then select Date Time Convert time zone.

    Date time connector icon

  8. Select Base time and then select the Timestamp option from Manually trigger a flow and then click Done.

    Search timestamp connector

  9. For both Source time zone and Destination time zone, select the same time zone that works for your geographic location. This example uses the (UTC-05:00) Eastern Time (US & Canada) option. After you have selected the time zone, select Done on the upper right of the screen.

  10. For Format String, select General date/time pattern (short time) - Monday, June 15, 2009 1:45 PM (g).

  11. In the Connectors option, select Office 365 Users. If you don't see the selection, then search for it in Search all connectors and triggers and then select it when you've found it.

  12. Select Office 365 Users Get Manager (V2).

  13. Select User email from Manually trigger a flow and then select Done.

    User email trigger action icon

    User email trigger action

  14. Select + New step.

  15. Select Add an action.

  16. In the Connectors option, select Office 365 Outlook. If you don't see the selection, search for it in Search all connectors and triggers and then select it when you've found it.

  17. Select Office 365 Outlook Send an email (V2).

  18. Select To. In the Get manager (V2) option, select See more, select Mail, and then select Done.

  19. Select Subject, enter Arrived Onsite, and then select Done.

  20. Select Body and then enter the following text:

    Hi.

    Then, next to Get Manager (V2), select See more. Select Display Name and then Done.

    Add get manager display name

  21. Select Body again and then enter the following text:

     I have arrived at the location.
    
     The time is
    

    Add get manager display name

    Next to Convert time zone, select See more, select Converted time, and then select Done.

    Add get manager display name and time

  22. Select Body again and then enter the following text:

    My current location is:

    Add converted time

    Select Manually trigger a flow > See more > Full address. Select Done.

    Add full address

  23. Give your flow a name such as Send current location to Manager and then select Create on the upper right of the screen.

    complete flow

  24. In the next screen, select Done.

  25. On the lower horizontal menu, select Buttons and then select your new Send current location to Manager option.

  26. Your manager will receive an email.

    send email