Automated Switch Port Configurations

Hi we’re busy reviewing some automation strategies.
One thing we’d like to to automate is deploying consistent VLANS and Storm Control to ports.
At the moment it’s a bit of click fest selecting ports which is tedious and can be error prone.

If you do User Defined Overrides how would you deal with different switch models as we usually have a mix of 1010P,2028P,2052P inside the same switch group ?
We usually program the last 2 copper ports differently to the other copper ports and treat them as trunk ports.