def distill_model_event(instance, model, action, user_override=None):
    from rest_hooks.models import HOOK_EVENTS

    event_name = None
    for maybe_event_name, auto in HOOK_EVENTS.items():
        if auto:
            # break auto into App.Model, Action
            maybe_model, maybe_action = auto.rsplit('.', 1)
            maybe_action = maybe_action.rsplit('+', 1)
            if model == maybe_model and action == maybe_action[0]:
                event_name = maybe_event_name
                if len(maybe_action) == 2:
                    user_override = False

    if event_name:
        find_and_fire_hook(event_name, instance, user_override=user_override)
Take created, updated and deleted actions for built-in 
dataset/ETHPy150Open zapier/django-rest-hooks/rest_hooks/utils.py/distill_model_event