How to do mechanism analysis

If I want to analyze how an exogenous shock’s impact is transmitted to the variable I care about through other variables, that is, the transmission path of the impact of shock, is there any good method to analyze this problem?