Creation of microflow for the current user to validate a condition.

How to create a microflow for validating the condition ”if the Current User has Registered for maximum 5 courses and generating a popup and sending a mail to the current user that you have downloaded these courses”?
1 answers

Retrieve Current logged in user and then logged in user associated list of courses and then from this courses list take Count and check it.


If you can explain how the association exist between Account/User and Courses, it would be more clear to provide solution