User Condition in Automations

Using the automations (custom automations), can you add a condition for users? For example, if a button is clicked, status should change to ‘approved’ if the user (who clicked the button) is the person assigned in the people column, or, if the person is John Doe (specifying the person’s name).
It would be very helpful to have this, especially for approval flows, and boards with many users using, etc.