Trigger a Power Automate Flow from a Custom Button in Dynamics 365 or Dataverse

Trigger a Power Automate Flow from a Custom Button in Dynamics 365 or Dataverse

There are few solutions out there already for triggering a Power Automate flow from a custom buttons/commands, each has its pros/cons but none of them are great. I think I found a nicer way. This method uses a custom page that opens as a modal when a command button is selected from a row in Dynamics 365 or Dataverse. The custom page ‘OnStart’ property triggers the flow and responds to the user when complete.

BONUS: you can build a really nice UX that handles errors and conditional logic for the flows functionality which is so much better than hiding command buttons with no explanation or reason!

Read More