Three macros in post_hook to alter one model

The problem I’m having

Hi, is there a way to call three separate macros in post_hook in sequence? In one case the macro is dependent on results of preceding macro, which is just a sql query of which result is not enywhere materialized but need to be passed to the second macro to be referenced in select statement as ‘from’.

The context of why I’m trying to do this

I have developed models that do this but I would like to try to do it in a way that I have just one table, with post_hooks which will alter the one table to desired state.