Skip to content

Instantly share code, notes, and snippets.

@rohit1101
Created October 27, 2022 05:15
Show Gist options
  • Save rohit1101/8ad26d3922d3bdc609ff7f19450fe77f to your computer and use it in GitHub Desktop.
Save rohit1101/8ad26d3922d3bdc609ff7f19450fe77f to your computer and use it in GitHub Desktop.
automate sending emails to super admins from strapi
We need a tool for monitoring or detecting for changes made on strapi.
Luckily, we can make use of Webhook for the detecting any changes (CRUD) on strapi.
While creating our webhook we need to provide an endpoint that would receive the response
data from webhook which has the information what has changed on strapi.
After receiving the data from webhook we can call a service sendEmail()
sendEmail() will process the data and send the required data to super admins to their respective
mail ids.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment