UMG OnKeyDown convert to action mapping?

In UMG I’m able to receive a key press with OnKeyDown.
The problem is that this tells me the key. I don’t want the key. I want the action mapping.
So how do I convert from key to action mapping?

To give more detail… Currently my blueprints code checks whether keys are pressed. I want to change it to instead check whether action mappings are pressed.