Macro-queue

How would i run a macro on a call that has been answered from a call queue?