Create an Instant flow in Power Automate by navigating to +New inside solution → Automation → Instant Flow. Add a new step to create a new record in Account table. Fill all the necessary fields.
Add another step to create notification. The table name should be Notifications, add title and body. In the Data field, add an object with fields like title, url, and navigationTarget. Add the entity and record ID to the url and select dialog for navigationTarget. I have used the below object in my flow.
{
"actions":[{"title":"View Account","data":{"url":"?pagetype=entityrecord&etn=account&id=@{outputs('Create_New_Account')?['body/accountid']}","navigationTarget":"dialog"}}]}
I have added expiry to 60 (seconds) and iconType as Success. Save the Flow and Run. Once the flow ran successfully, navigate to the Model Driven App, and you'll get to see the notification popped out.
If we click on the View Account URL in the notification, the dialog will be prompted with the created account. As the expiry time is 60 seconds, it will be vanished after the expiry time.