Practice Lab 1 – Create cloud flows

In this lab you will create cloud flows.

What you will learn

  • How to create Power Automate cloud flows from a template and with Copilot
  • How to create a Power Automate cloud flow from blank and add actions

High-level lab steps

  • Create a cloud flow from a template
  • Create a cloud flow with Copilot
  • Create a cloud flow
  • Monitor cloud flow activity

Prerequisites

  • Must have completed Lab 0: Validate lab environment

Detailed steps

Exercise 1 – Create a cloud flow from a template

Task 1.1 - Select a template

  1. Navigate to the Power Automate portal https://make.powerautomate.com

  2. If the Welcome to Power Automate pop-up dialog is displayed, select Get started.

  3. Select the Dev One environment.

    Environment selector in Power Automate.

  4. Select the Templates tab from the left-side menu.

  5. Select the Button tab.

  6. Enter location in the Search templates field.

    Screenshot of flow templates.

  7. Select Get today’s weather forecast for my current location.

    Screenshot of create connections.

  8. Select Create for MSN Weather.

  9. Select Create for Notifications.

  10. Select Create Flow.

  11. If the Your flow is ready to go pop-up dialog is displayed, select Don’t show me this again and select Got it.

    Screenshot of flow details.

Task 1.2 - Run the flow

  1. Select Run.

  2. If prompted, select Allow for Know your location

  3. Select Continue.

  4. Select Run flow.

  5. Select Done.

    Screenshot of flow run history.

Task 1.3 - Review the flow

  1. Select the date and time in the flow run history.

    Screenshot of flow run detail.

  2. Select the Get forecast for today step with the green tick.

    Screenshot of flow run step output.

  3. Select Edit.

  4. Select one of the Send a push notification steps.

  5. Select Flow checker. There should be no errors or warnings.

  6. Close the Flow checker pane.

Task 1.4 - Test the flow

  1. Select Test, select Automatically, select With a recently used trigger, and then select the flow run.

    Screenshot of test flow with recently used trigger.

  2. Select Test.

  3. Select the <- Back button from the top left of the command bar.

Exercise 2 – Create a cloud flow with Copilot

Task 2.1 - Enter a prompt

  1. Navigate to the Power Automate portal https://make.powerautomate.com

  2. Make sure you are in the Dev One environment.

  3. Select the Home tab from the left-side menu.

  4. Under Create your automation with Copilot enter Every day send me an email with the daily summary from MSN Weather

    Screenshot of copilot prompt.

  5. Select Generate.

    Screenshot of suggested flow.

  6. Select Keep it and continue.

  7. Select Create flow.

    Screenshot of flow created by Copilot.

Task 2.2 - Configure flow step

  1. Select the Get Forecast for today step.

  2. Enter Seattle for Location.

  3. Select the X to clear Units and in the drop-down select Imperial.

    Screenshot of flow step parameters.

  4. Select Save.

  5. To test the flow, select Test, select Manually, and then select Test.

  6. Select Run flow and then select Done.

  7. Select the <- Back button from the top left of the command bar.

Exercise 3 – Create a cloud flow from blank

Task 3.1 - Create the trigger

  1. Navigate to the Power Automate portal https://make.powerautomate.com

  2. Make sure you are in the Dev One environment.

  3. Select the + Create tab from the left-side menu.

  4. Select Automated cloud flow.

  5. Enter Important email for Flow name.

  6. Enter email arrives in the Search all triggers field.

  7. Select When a new email arrives (V3).

    Screenshot of build an automated flow dialog.

  8. Select Create.

Task 3.2 - Configure the trigger

  1. Select the When a new email arrives (V3) step.

  2. Select Show all.

    Screenshot of email trigger parameters automated flow dialog.

  3. Select No for Include attachments.

  4. Select High for Importance.

  5. Select Inbox for Folder.

Task 3.3 - Add an action

  1. Select the + icon under the trigger step and select Add an action.

  2. If prompted, select Allow for See text and images copied to clipboard.

  3. Enter notification in search.

    Screenshot of action search.

  4. Select Post a feed notification under Microsoft Teams.

  5. Select Sign in.

  6. Use your tenant credentials.

  7. Select Team for Notification Type.

  8. Enter your tenant user id for Recipient.

  9. Enter / in the Notification Text field and select Insert Dynamic Content.

    Screenshot of dynamic content.

  10. Select Subject.

  11. Select Contoso for Team.

  12. Select General for Channel.

  13. Select Save.

  14. Select the <- Back button from the top left of the command bar.

Exercise 4 – Monitor flows

Task 4.1 - Cloud flow activity

  1. Navigate to the Power Automate portal https://make.powerautomate.com

  2. Make sure you are in the Dev One environment.

  3. Select … More from the left-side menu.

    Screenshot of more options for Power Automate portal.

  4. Select Discover all and search for Cloud flow activity under Monitor section.

  5. Select the pin icon for Cloud flow activity.

  6. Select the Cloud flow activity tab from the left-side menu.

    Screenshot of cloud flow activity.