we have to generate a lot of differents coupons code for

Hi, we have to generate a lot of differents coupons code for each product, there are any way to do that automatically?
thanks