The chemical reactions and pathways involving terpenoid indole alkaloids, compounds formed from the condensation of tryptamine (derived from tryptophan) and secologanin (derived from geranyl pyrophosphate).