We use the Konishi anomaly equations to construct the effective superpotential of N=1 susy gauge theories. Examples with gauge groups SU(N) and G2 will be considered. We discuss the generalisation of this approach, which allows us to compute gravitational corrections.