Whether a postsynaptic neuron fires is decided by the process of summation (the excitatory and inhibitory influences are summed- if the net effect is excitatory it is more likely to fire). Therefore, the action potential is only triggered if the sum of the excitatory and inhibitory signals reaches the threshold.