The present invention relates to compounds useful as inhibitors of protein kinase, represented by Structural Formula (I): wherein the variables in Structural Formula (I) are as described herein. The invention also provides pharmaceutically acceptable compositions comprising said compounds and methods of using the compositions in the treatment of various disease, conditions, or disorders. The invention also provides processes for preparing compounds of the inventions.