getActions function

Extract action information