How can I send an E-Mail if I create the content in the Admin Tool?

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hey guys,

I am new to strapi and want to send an E-Mail if I create a new Content on the normal Admin site.

If I Crete a new Content with POST, I can use the controller and edit the create function. All works fine this way.

But I do not want to create the Content with POST. I just want to create it on the Admin site.

Can anyone help me out?


In this case you can use lifecycle hooks (afterCreate function).

It runs every time you create the content, no matter how you create it (Admin or RestAPI).

  1. Create a function that sends email.
  2. Add it to the lifecycle afterCreate function.

That’s all.