Write $|z| = -z \cdot 1_{(-\infty,0)}+ z \cdot 1_{(0,\infty)}$.
The distribution is symmetric about zero, so $E|z| = 2 \int_0^\infty z P(z) dz$, where $P(z) = {1 \over \sigma \sqrt{ 2 \pi }} e^{- { z^2 \over 2 \sigma^2 }}$.
Since $P'(z) = (- { 1 \over \sigma^2 }) z P(z)$, we see that
$E|z| = - { 2 \sigma^2} \int_0^\infty P'(z) dz = { -2 \sigma^2}(\lim_{z \to \infty } P(z)-P(0)) = { 2 \sigma^2}P(0) = \sqrt{ 2 \over \pi} \sigma$.
Write $|z| = -z \cdot 1_{(-\infty,0)}+ z \cdot 1_{(0,\infty)}$.
The distribution is symmetric about zero, so $E|z| = 2 \int_0^\infty z P(z) dz$, where $P(z) = {1 \over \sigma \sqrt{ 2 \pi }} e^{- { z^2 \over 2 \sigma^2 }}$.
Since $P'(z) = (- { 1 \over \sigma^2 }) z P(z)$, we see that $E|z| = - { 2 \sigma^2} \int_0^\infty P'(z) dz = { -2 \sigma^2}(\lim_{z \to \infty } P(z)-P(0)) = { 2 \sigma^2}P(0) = \sqrt{ 2 \over \pi} \sigma$.