Change the name of uploaded file based on content type and entity id Consider this pattern : 


  [content type]-[entity ID].[file:ffp-extension-original]


is there any hook so I can change the uploaded file name based on content type and node ID in drupal 8?

PS:

I used File(field) paths module but I couldn't find proper tokens to get it work right
You might be able to do this with hook_ENTITY_TYPE_update().  Take a look at the D8 version of the upload_replace module code for an example of changing filenames.