Zeebe Modeler : how to change the default deployment behavior?

Hello,

I need to upload every BPMN file that a user deploys via Zeebe Modeler into a volume in the Cloud. To do this, I checked the Zeebe Modeler source code and I can’t tell how do I bypass the “default” behaviour and add my specifics.

I have done the same with DMN files, but for Camunda Modeler, by exposing two routes /deployment/create/ and /deployment, but this one is different.

Could you please help with any ideas ?