Automations turn one-off troubleshooting steps into repeatable operational runs. You define the execution guide, data sources, trigger rules, and notification channels, and Castrel executes the workflow automatically.
Each Automation is configured with:
Uses 5-field Cron (minute hour day month day_of_week) with timezone support (default Asia/Shanghai).
Examples:
0 9 * * 1-5: 09:00 on weekdays0 */6 * * *: every 6 hoursBest for ad-hoc checks, post-change verification, or reruns during incident review.
Attach event sources so runs start automatically when matching events occur.
Each trigger creates an execution record with status:
Each execution is tied to a chat session (session_id) and includes a shareable details link (/shared/{session_id}) for full context.
Automation notifications are supported through connectors:
Notification rules support:
After an IM notification is sent, users can reply in the same thread. Castrel routes that reply back to the original Automation session so the conversation can continue.