#PowerPlatform – Send notifications to launch #PowerApp using #PowerAutomate

Buy Me A Coffee

Hi !

I keep on my Power Platform learning path, and today I’ve implemented one very cool feature:

Send notifications to launch Power App using Power Automate

The full concept is to

  • Capture specific events using Power Automate
  • Perform some back-end logic updating information using Power Automate
  • Send a notification to specific users, to open a Power App with the updated information

The following sample flow, make some process into an item from a SharePoint List, and then send a notification to a specific Power App, with some amazing context

  • Recipients: you may decide to send the notification to all the Power App users, or to a specific subset of users
  • Open App: when the user clicks the notification, the app will be launched
  • Parameters: this is the cool one. Using Json, we can send a key-value dictionary, with specific information from our flow. In this scenario, the SharePoint ItemID is sent in the parameters.
power automate demo flow using a Power App Push notification

And, then the final user will get a notification similar to this one, and can start the interaction with the specific item in the Power App.

power automate notification in phone

Important: when you create the connection in Microsoft Flow to the Power App, use the ID shown under app details tab. The url option is somehow broken. This took me sometime to fix it .

power automate demo flow history

Happy coding!

Greetings

El Bruno

References

#PowerPlatform – We can Debug an app with canvas App Monitor and it’s awesome !

Buy Me A Coffee

Hi !

I was deploying and testing an interesting Power App scenario to make desk reservations. It was created by April Dunnam, and it was fast an easy to deploy (see references). I even had the chance to make a Pull Request with a minor update to the deploy steps.

While I was doing this, I started to test the App with different users in my demo environment, and I realize that something was wrong, some permissions were needed. Because this is a demo environment, I usually grant everyone full permissions, however I remembered that we had a new cool feature in the Power Apps (see references):

Debugging an app with canvas app Monitor (Preview)

And it was very easy to use! After a couple of minutes sharing and using the app I found the specific information I was looking for: the permissions I need to grant.

power apps monitors errors related to permissions

To get there I simply select the advanced tools and start a Monitor Session (preview)

power apps monitors start an monitor session in preview

I can also invite a user to a shared monitor session. Both of us will be able to see the logs in real-time.

power apps monitors invite external user to monitor session
power apps monitors start a monitor session app debug

However the powerful feature is triggered when the app is starting to be used. With the guest account, all the log data is available in real time to analyze. Here I can find the permissions and other data which may help me to improve my app.

power apps monitors final result up and running

Super cool ! and a final video with the App review

Happy coding!

Greetings

El Bruno

References