Created
October 27, 2022 05:15
-
-
Save rohit1101/8ad26d3922d3bdc609ff7f19450fe77f to your computer and use it in GitHub Desktop.
automate sending emails to super admins from strapi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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