If $n$ is the Godel number of $\phi$, then some formula $\chi(n)$ states "ZFC proves $\phi$". One might then think if ZFC $\vdash \chi(n)$, then ZFC $\vdash \phi$, but this seems not necessarily the case. For instance, if $\phi$ is $1 = 0$, then $\chi(n)$ is $\neg$ Con(ZFC). $\neg$ Con(ZFC) is not provable from ZFC, but it is consistent with it, so this seems to be a scenario where ZFC + $\neg$ Con(ZFC) proves "I prove $1=0$", when it does not.
$\textbf{Question}$: When does ZFC $\vdash \chi(n)$ imply ZFC $\vdash \phi$?
$\textbf{Update}\ (1/1/2024)$: I realized there is a possible contradiction with the statement "ZFC $\vdash \chi(n)$ implies ZFC $\vdash \phi$". Tarski's Theorem states if $\Phi$ is consistent and allows representations, then $\Phi^\vdash$ is not representable in $\Phi$. That is, there does not exist a "truth relation" $g(x)$ such that for any formula $\phi$ with Godel number $n$, $\Phi \vdash g(n)$ iff $\Phi \vdash \phi$.
It appears the $\chi(n)$ which states "ZFC proves $\phi$", has the property $\chi(n')$ states "ZFC proves $\phi'$" whenever $n'$ is the Godel number of $\phi'$. Thus if "ZFC $\vdash \chi(n)$ implies ZFC $\vdash \phi$" for all $n$, it appears $\chi(x)$ would contradict Tarski's theorem.
Pictures of Tarski's Theorem. From Logic by Ebbinghaus.