How to call extention A as a before of Extension B

Hello,
I have 2 extensions, A and B, both are different
One uses python3 and one uses zsh
Currently I have to trigger A and then again trigger B,
Is there a way I can set A as a before for B ?

No, but it would be a good feature. See: Action chaining