How it works
- Pick a routine, or leave it empty to listen to any routine.
- Choose finished, failed or a named event; for a named event you can give the name or leave it empty for any.
- The routine receives the other routine's name, the event name, and its data, or the error details when it failed.
- A routine never reacts to its own events, so it can't loop on itself.
Routines that use it
Alert on failure
When any routine fails, show a banner and send the error with Send webhook.
Next step after backup
When the backup routine finishes, move the new zip with Move or copy file.
Listen for stream-ready
Start a chat routine when another routine sends stream-ready with Send routine event.
Settings
| Setting | What it does |
|---|---|
| Routine | Which routine; empty for any routine (except this one). |
| On | What happened: it finished, it failed, or it sent a named event. |
| Name | The event's name, for a named event (empty: any name). |
Good to know
- Test runs never send events, so they won't start these routines.
Questions
- How do I get notified when a KeyRoutines routine fails?
- Make a routine with Routine event set to failed, leave the routine empty for all, and add Show banner or Send webhook.
- Can a routine run after another one finishes?
- Yes. Pick the first routine and choose finished.