This report will describe our recent studies of transition metal complex structural dynamics on the fs and ps time scales using an X-ray free electron laser source, Linac Coherent Light Source (LCLS). Ultrafast XANES spectra at the Ni K-edge of nickel(ii) tetramesitylporphyrin (NiTMP) were measured for optically excited states at a timescale from 100 fs to 50 ps, providing insight into its sub-ps electronic and structural relaxation processes. Importantly, a transient reduced state Ni(i) (π, 3dx2-y2) electronic state is captured through the interpretation of a short-lived excited state absorption on the low-energy shoulder of the edge, which is aided by the computation of X-ray transitions for postulated excited electronic states. The observed and computed inner shell to valence orbital transition energies demonstrate and quantify the influence of the electronic configuration on specific metal orbital energies. A strong influence of the valence orbital occupation on the inner shell orbital energies indicates that one should not use the transition energy from 1s to other orbitals to draw conclusions about the d-orbital energies. For photocatalysis, a transient electronic configuration could influence d-orbital energies up to a few eV and any attempt to steer the reaction pathway should account for this to ensure that external energies can be used optimally in driving desirable processes. NiTMP structural evolution and the influence of the porphyrin macrocycle conformation on relaxation kinetics can be likewise inferred from this study.