Email Notification Webhook avatar

Email Notification Webhook

Try for free

No credit card required

Go to Store
Email Notification Webhook

Email Notification Webhook

mnmkng/email-notification-webhook
Try for free

No credit card required

This actor sends you an email notification with a log file when one of your other actors fails, succeeds, times out, you name it.

This actor sends you an email notification with a log file when one of your other actors fails, succeeds, times out, you name it.

How to use

Choose the actor you'd like to get notifications for and simply create a webhook for that actor and copy the following URL into the webhook's URL field, replacing {YOUR_API_TOKEN} with your token.

https://api.apify.com/v2/acts/mnmkng~email-notification-webhook/runs?token={YOUR_API_TOKEN}

Select the desired event types and save the webhook. You should now receive an email notification including a log file whenever the selected events take place. The email will be sent to the email associated with your account by default. If you wish to send the notification to a different email, update the default webhook payload template with the desired notificationEmail:

1{
2    "notificationEmail": "my.notifications@email.com"
3    "userId": {{userId}},
4    "createdAt": {{createdAt}},
5    "eventType": {{eventType}},
6    "eventData": {{eventData}},
7    "resource": {{resource}}
8}

Why is it useful

It's great to know immediately when something goes wrong with one of your actors. I suggest setting up the webhook for the ACTOR.RUN.FAILED and ACTOR.RUN.TIMED_OUT events. This way, you'll always know right away and you can even check the log file immediately to see if the failure requires your attention.

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 5 stars

  • 97% runs succeeded

  • Created in Mar 2019

  • Modified 2 years ago

Categories