def get_selected_action(body):
    """Get selected value from an action event"""
    
    if body["actions"] is not None and len(body["actions"]) > 0:
        return body["actions"][0]["selected_option"]["value"]