How would you do to export or create file at each frame of a render

Hello everyone,

I’m working on a project were I am doing some batch renders and I need to create a file containing information from Unreal (from groom) at each frame of each render.

I was wondering what method was better to implement, attaching a component to the actor I want information from and create the files from here ?

I am pretty new to Unreal scripting, this is the first time I really use them, I’m more familiar with Unity.

Thank you !