is there a way to do like "error" handling in tine...
# general
m
is there a way to do like "error" handling in tines? e.g. if an action or something starts failing, have it email/slack me?
b
You can specify how long you'd like to wait on the failure before the email is sent, as well as who to send it to in the Action Monitor settings
You can also send to a webhook URL as well
m
(And that webhook can be Slack!)
m
ohhh nice! that is EXACTLY what i was looking for -- ty!
lol, thanks slack. API failures are 200s, but the body just has a field called
ok
and it's true or false 🤦
as a side-note, story-wide monitoring would be cool too so you dont have to do it on an action by action basis...e.g if any of my actions are broken, my entire story is probably malfunctioning
m
That's complicated @mammoth-airplane-17472 - cause you don't necessarily want to alert if all actions fail, only some - e.g. VirusTotal 404 isn't a failure, it just means there were no results. Similarly, an "alert if no events received in 24 hours" would work on a webhook, but probably not on the "isolate endpoint if super critical prompt clicked" button. But I do agree we could have an easier way of doing it across the story!
m
hmm yeah that's fair i suppose. i guess not everyone's APIs return friendly response codes for things like "your request is legit but we have no data for you"
trigger events hooked up to slack events it is for now then 🙂
ty all for the info!
m
you're welcome!