Of the top of my head...
Use functions, and make the param the action... then pass the array data retrieved with action to the function and execute accordingling...
damn that made no sense - lol.
If you know how to retrieve data from array, then Check the tutorial section for callbacks, advanced callbacks.
Function 1 gets the action
and returns the action
Function2 executes the action
You'll have to play around. But functions are just that, a way for you to write your own functions... They are by far the BEST feature in construct2.