Run code on NX drawings through TeamCenter

I would like to be able to run a script/workflow in TeamCenter that would automatically access a list of NX drawings, run an NX Journal of each of them, and then output the data to Excel.

Does anyone know how I could achieve this through TeamCenter?

Thanks!