MySQL Replication : Duplicate entries - SQL_SLAVE_SKIP_COUNTER or delete row?
You don't have to use any trigger, If you want to safely skip duplicate key errors, please add this to my.cnf on slaves

[mysqld]
slave-skip-errors=1062


Then restart mysql

Check if all the slaves have different serverIDs