CA
fascinating-indigo
Monitor failed runs
I have a paid actor and I have set up a scheduled task to daily check if it works for my customers. Will I automatically get an email if the run fails?
8 Replies
If the actor runs under your account you would get an email about successfull or failed run.
If the actor is not running on your account you may setup an API call for https://apify.com/apify/send-mail actor, which would send you an email. (check integration tab on the actor -> add integration -> and HTTP Webhook)

fascinating-indigoOP•3y ago
thanks, it is running under my account, but I have disabled getting an email for each run, however I want to get an email only if the run fails.
as Pepa wrote, just create webhook in intergration tab, there you can select
run failed

fascinating-indigoOP•3y ago
thanks, I can definitely setup a webhook but does apify.com support just sending email for failed run?
No, I do not think so. I was searching for that feature not so long ago and did not found anything. But webhook that runs the send-mail actor is good enough.
fascinating-indigoOP•3y ago
@HonzaS hmm can I trigger a failed run somehow without having to change the code? so I can check it
@Casper just advanced to level 10! Thanks for your contributions! 🎉
I do not know how to trigger failed run.
But you can test it with aborted run first.
It is pretty good chance that it will work with failed if it works with aborted 🙂