Coupon Codes

Hello, I want to add multiple codes to a Cart promotion, with "in" option like in the KB article found here:

I want the codes from the list I created - test1,test2,test3 to be used only once, if a customer used the code test1, this code to cease to exist.

The problem is that if I use code test1, the rest of the codes are not usable, test2 and test3 are not valid.

Any suggestions?

I cannot add with "equal" because I want to use hundreds of codes.

Thank you.