Has anyone thought about a notification system for...
# proj-automation
a
Has anyone thought about a notification system for failed automations? I have built an automation to alert me to failed automations, but any thought to building something directly into automations?
l
This is a really good idea, @quick-window-91705 maybe we can consider this as a way to bring people back and correct things instead of having them silently disappear when automations stop working
q
Yep I’ve wanted something here for a while: https://openhands-ai.slack.com/archives/C086ARSNMGA/p1787940759020909 I think this issue proposal could address it although need to double check if thats a good way to support this: github.com/OpenHands/automation/issues/208
a
You can do email/slack, but I would also like something like outbound webhooks so could integrate in lots of places
nod 1
💯 1
h
I’ve recommended an programatic automation that reports like an uptime robot to a slack channel. How do you see the outbound setup working @average-processor-75195
a
I have customers that don’t use slack. So i want flexibility if they want to use pagerduty or teams or whatever system they have to get their notifgications
q
a
I assume it would be like when I setup a Jira or Github webhook, I could scope it all or nothing and certain events.
c
Just to note, I think it would be nice if the agent knows this well, and maybe even recommends it
a
One approach: I’d add an Outbound webhooks section under Automate in Canvas. You’d enter a destination URL, choose all automations in the workspace or select specific ones, and pick which events to subscribe to. We’d start with
run.failed
. A Send test button and a last delivery status would let you check that the endpoint works before relying on it. The Automation Service would send the signed webhook when it records a run as failed, even if the sandbox never starts. The payload would include the automation name, a short failure reason, and a link to the run. If the endpoint is temporarily unavailable, the service would retry delivery without rerunning the automation. This would live in the shared Automation Service and Canvas so the same setup can work for Enterprise and open-source deployments. Thoughts?
h
Yea, that seems pretty helpful. @fresh-machine-37269 open an issue in openhands/automation for the feature described by @average-processor-75195 above. Include any context needed from this conversation to explain what and why.
👀 1
f
🤖 On it! View progress here: oss-agent-canvas.ngrok.dev/conversations/…
✅ Done! Done! 📋 Opened the issue here: github.com/OpenHands/automation/issues/828 "Outbound webhooks for automation events (start with run.failed)" — it captures the full proposal from @average-processor-75195: an Outbound webhooks section under Automate (destination URL, all-automations vs. specific selection, event subscription starting with
run.failed
, Send test button + last delivery status), plus the service-side behavior (signed delivery even when the sandbox never starts, payload with automation name/failure reason/run link, retries without rerunning), and the shared Enterprise + OSS placement. It also links the related issues (#407 and #208) and credits the customer context for why email/Slack alone isn't enough.
a
Can we get this to create the PR as well to keep this moving, what do you think @hundreds-twilight-32833