Fiorentina progressed to the Europa League semi-finals on Thursday, defeating Dynamo Kiev 2-0 at home to progress 3-1 on aggregate with Gomez and Juan Manuel Vargas getting the goals.
Gomez struck the opener for Fiorentina in the 43rd minute - 20 minutes after missing with a close-range header - when Joaquin's cross bounced off his knee and into the bottom corner of the net.
With Kiev having lost winger Jeremain Lens to a red card just before Gomez's goal, Fiorentina looked to be in a comfortable position at half-time, but Vincenzo Montella's side had to wait until second-half stoppage time to wrap up the match, when Vargas struck from a tight angle.
While Fiorentina have yet to secure European football for next season, Gomez argued the priority for Montella's men is to lift the Europa League trophy.
"I'm delighted for the team and all the fans. I missed a great chance but then I managed to score straight afterwards. That's football for you," the Germany international told Premium Calcio.
"We were sorry to go out of the Coppa Italia but now we'll focus on the Europa League."
Thursday's victory ended a four-game winless run in all competitions for Fiorentina, who sit sixth in Serie A - outside the Italian league's European qualifying slots, although they are only one point behind fifth-placed Sampdoria.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.