def trigger_function(action, config): if action == None: return "No Action" else: return action