The relation between the Gibbs free energy and the electrical potential is: $$\Delta G=-zFE$$ $z$ is the valence of the electrochemical reaction and $F$ is the Faraday constant.
If at equilibrium the $\Delta G$ is zero this means that also $E$ is zero but this is not true because $E$ at equilibrium is the equilibrium potential of the electrochemical reaction considered.
This makes some confusion in my mind and for sure I'm not properly consider something. Can someone help to clarify my mind?