\(x^2+y^2+z^2+2x-4y+6z=-14\)
\(\Leftrightarrow\left(x^2+2x+1\right)+\left(y^2-4y+4\right)+\left(z^2+6z+9\right)=0\)
\(\Leftrightarrow\left(x+1\right)^2+\left(y-2\right)^2+\left(z+3\right)^2=0\)
\(\Leftrightarrow\begin{cases}x+1=0\\y-2=0\\z+3=0\end{cases}\)\(\Leftrightarrow\begin{cases}x=-1\\y=2\\z=-3\end{cases}\)
\(\Rightarrow x+y+z=-1+2-3=-2\)