case 'integration':
            if (!ev.resource || !ev.resource.id) {
                return null;
            }