Apify and Crawlee Official Forum

Updated 4 months ago

How to Setup Alerts For Daily Run Statuses

Hi Team Apify. Is there a way on the Apify platform to set up email alerts based on the breakdown of daily run status for an Actor? For example, at the end of each day, we would like to receive an alert email if the number of runs that have timed-out exceeds a certain threshold.
M
e
O
3 comments
Hello!

Unfortunately, there is no such built-in functionality. Nonetheless, you could do one of these two things:
  1. Every day, you could run an Actor that fetches all the runs from that day and sends a report according to the condition you prefer. You can use the Apify API to fetch the runs and their status: clients for JavaScript and Python are also available.
  2. Run a web server exposing an endpoint that you can contact using a web-hook every time an actor fails/times-out. Periodically, you could send a report based on how many times that endpoint was called.
For sending notifications, you could call an actor from the store, for convenience, such as this or this.
Thanks for the answer. We'll explore the options that you've provided.
Also, You can tyr to use this actor from the store:
https://apify.com/jannovotny/failed-runs-monitor
Add a reply
Sign up and join the conversation on Discord