I need to perform a certain action when I create a new entry in the content manager

I need to perform a certain action when I create a new entry in the content manager. I tried to override the plugin-content-manager through the extensions folder, creating strapi-server.js files or changing the controller behavior, but it doesn’t work

Hey there @Kryvoruchko_Pavlo,

How about using Lifecycle hooks → Models | Strapi Documentation

There are some very handy *Create events you could use like:

  • beforeCreate
  • beforeCreateMany
  • afterCreate
  • afterCreateMany

Hope this helps.

Cheers :slight_smile: