I thought that's how actions are supposed to work. Python is king. Just use the Actions script to feed your variables.