Demo 5 - Automated cloud flow

Objective: In this demo, you will show how to create a simple Power Automate cloud flow.

Task 5.1 - Create a cloud flow

  1. In the demo solution, create a new automated cloud flow.

  2. Enter New Pet for Flow name.
  3. Select the When a row is added, modified or deleted Microsoft Dataverse trigger.
  4. Selected Added for Change type.
  5. Select Pets for Table name.
  6. Select Organization for Scope.
  7. Rename the Trigger step to Add Pet.

  8. Select + New Step.
  9. Select the Microsoft Dataverse connector.
  10. Select the List rows action.
  11. Select Tricks for Table name.
  12. Rename the step to Get Tricks.
  13. Show advanced options.
  14. Enter dem_trickname eq 'Sleep' - use one of the tricks you have used in place of Sleep.

  15. Select + New Step.
  16. Select the Data Operation connector.
  17. Select the Compose action.
  18. Rename the step to Trick.
  19. Using Expressions, enter first(outputs('Get_Tricks')?['body/value'])['dem_trickid']

  20. Select + New Step.
  21. Select the Microsoft Dataverse connector.
  22. Select the Add a new row action.
  23. Select Pet Tricks for Table name.
  24. Rename the step to Add Pet Trick.
  25. Show advanced options.
  26. Select Beginner for Level.
  27. Enter First Trick for Name.
  28. Enter dem_pets() for Pet.
  29. Move the cursor inside the () and use Dynamic content to select Pet.
  30. Enter 0 for Points.
  31. Select New Trick for Status Reason.
  32. Enter dem_tricks() for Tricks.
  33. Move the cursor inside the () and use Dynamic content to select the Outputs from the Trick step.

Task 5.2 - Test the cloud flow

  1. Create a Pet record in the model-driven app.

  2. Show the test run history.