hook_node_insert() doesn't work
How about hook_entity_insert

function hook_entity_insert(Drupal\Core\Entity\EntityInterface $entity){
  // do something
}


https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21entity.api.php/function/hook_entity_insert/8