[{"data":1,"prerenderedAt":422},["ShallowReactive",2],{"navigation_docs_en":3,"docs_en_-docs-features-automations":122,"docs_en_-docs-features-automations_surround":417},[4,18,51,100,109],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"/docs/getting-started","docs/1.getting-started",[10,14],{"title":11,"path":12,"stem":13},"Introduction","/docs/getting-started/introduction","docs/1.getting-started/1.introduction",{"title":15,"path":16,"stem":17},"Quick Start","/docs/getting-started/quick-start","docs/1.getting-started/2.quick-start",{"title":19,"icon":6,"path":20,"stem":21,"children":22,"page":6},"Features","/docs/features","docs/2.features",[23,27,31,35,39,43,47],{"title":24,"path":25,"stem":26},"Alert Triage","/docs/features/alert-triage","docs/2.features/2.alert-triage",{"title":28,"path":29,"stem":30},"Incident Investigation","/docs/features/incident-investigation","docs/2.features/3.incident-investigation",{"title":32,"path":33,"stem":34},"Deployment Verification","/docs/features/deployment-verification","docs/2.features/4.deployment-verification",{"title":36,"path":37,"stem":38},"Data Exploration","/docs/features/data-exploration","docs/2.features/5.data-exploration",{"title":40,"path":41,"stem":42},"Knowledges","/docs/features/knowledges","docs/2.features/6.knowledges",{"title":44,"path":45,"stem":46},"Castrel Proxy","/docs/features/castrel-proxy","docs/2.features/7.castrel-proxy",{"title":48,"path":49,"stem":50},"Automations","/docs/features/automations","docs/2.features/8.automations",{"title":52,"icon":6,"path":53,"stem":54,"children":55},"Integrations","/docs/integrations","docs/3.integrations/index",[56,57,62,67,72,76,80,85,90,95],{"title":52,"path":53,"stem":54},{"title":58,"path":59,"stem":60,"icon":61},"Prometheus","/docs/integrations/prometheus","docs/3.integrations/1.prometheus","i-simple-icons-prometheus",{"title":63,"path":64,"stem":65,"icon":66},"Elasticsearch","/docs/integrations/elasticsearch","docs/3.integrations/2.elasticsearch","i-simple-icons-elasticsearch",{"title":68,"path":69,"stem":70,"icon":71},"Grafana Loki","/docs/integrations/grafana-loki","docs/3.integrations/3.grafana-loki","i-simple-icons-grafana",{"title":73,"path":74,"stem":75,"icon":71},"Grafana Tempo","/docs/integrations/grafana-tempo","docs/3.integrations/4.grafana-tempo",{"title":77,"path":78,"stem":79},"GitHub","/docs/integrations/github","docs/3.integrations/5.github",{"title":81,"path":82,"stem":83,"icon":84},"Slack","/docs/integrations/slack","docs/3.integrations/6.slack","i-simple-icons-slack",{"title":86,"path":87,"stem":88,"icon":89},"Vercel","/docs/integrations/vercel","docs/3.integrations/7.vercel","i-simple-icons-vercel",{"title":91,"path":92,"stem":93,"icon":94},"Graylog","/docs/integrations/graylog","docs/3.integrations/8.graylog","i-simple-icons-graylog",{"title":96,"path":97,"stem":98,"icon":99},"Datadog","/docs/integrations/datadog","docs/3.integrations/9.datadog","i-simple-icons-datadog",{"title":101,"path":102,"stem":103,"children":104,"page":6},"More","/docs/more","docs/4.more",[105],{"title":106,"path":107,"stem":108},"Roadmap","/docs/more/roadmap","docs/4.more/1.roadmap",{"title":110,"path":111,"stem":112,"children":113,"page":6},"Security","/docs/security","docs/5.security",[114,118],{"title":115,"path":116,"stem":117},"Privacy Policy","/docs/security/privacy-policy","docs/5.security/1.privacy-policy",{"title":119,"path":120,"stem":121},"Terms of Service","/docs/security/terms-of-service","docs/5.security/2.terms-of-service",{"id":123,"title":48,"body":124,"description":410,"extension":411,"links":412,"meta":413,"navigation":414,"path":49,"seo":415,"stem":50,"__hash__":416},"docs_en/docs/2.features/8.automations.md",{"type":125,"value":126,"toc":395},"minimark",[127,131,136,171,175,178,222,226,231,243,246,260,264,267,271,274,278,281,308,319,323,326,339,342,359,362,368,372],[128,129,130],"p",{},"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.",[132,133,135],"h2",{"id":134},"what-you-can-do","What You Can Do",[137,138,139,147,153,159,165],"ul",{},[140,141,142,146],"li",{},[143,144,145],"strong",{},"Scheduled checks"," with Cron + timezone",[140,148,149,152],{},[143,150,151],{},"Manual runs"," when you need ad-hoc validation",[140,154,155,158],{},[143,156,157],{},"Event-triggered runs"," based on connected event sources",[140,160,161,164],{},[143,162,163],{},"Automatic notifications"," to integrated IM tools or email",[140,166,167,170],{},[143,168,169],{},"Continuous follow-up"," by replying in IM threads",[132,172,174],{"id":173},"configuration-model","Configuration Model",[128,176,177],{},"Each Automation is configured with:",[137,179,180,186,192,198,204,210,216],{},[140,181,182,185],{},[143,183,184],{},"Task Name",": identifies the automation task",[140,187,188,191],{},[143,189,190],{},"Execution Guide",": defines goal, checks, expected output, and boundaries",[140,193,194,197],{},[143,195,196],{},"Allowed Connectors",": limits which data connectors can be used",[140,199,200,203],{},[143,201,202],{},"Proxy Client",": optionally selects where the task should run",[140,205,206,209],{},[143,207,208],{},"Trigger",": supports Scheduled, Manual, and Event triggers",[140,211,212,215],{},[143,213,214],{},"Execution",": runtime settings such as timeout",[140,217,218,221],{},[143,219,220],{},"Notification Channel",": where execution results are delivered",[132,223,225],{"id":224},"trigger-types","Trigger Types",[227,228,230],"h3",{"id":229},"_1-scheduled","1) Scheduled",[128,232,233,234,238,239,242],{},"Uses 5-field Cron (",[235,236,237],"code",{},"minute hour day month day_of_week",") with timezone support (default ",[235,240,241],{},"Asia/Shanghai",").",[128,244,245],{},"Examples:",[137,247,248,254],{},[140,249,250,253],{},[235,251,252],{},"0 9 * * 1-5",": 09:00 on weekdays",[140,255,256,259],{},[235,257,258],{},"0 */6 * * *",": every 6 hours",[227,261,263],{"id":262},"_2-manual","2) Manual",[128,265,266],{},"Best for ad-hoc checks, post-change verification, or reruns during incident review.",[227,268,270],{"id":269},"_3-event","3) Event",[128,272,273],{},"Attach event sources so runs start automatically when matching events occur.",[132,275,277],{"id":276},"execution-and-results","Execution and Results",[128,279,280],{},"Each trigger creates an execution record with status:",[137,282,283,288,293,298,303],{},[140,284,285],{},[143,286,287],{},"Pending",[140,289,290],{},[143,291,292],{},"Running",[140,294,295],{},[143,296,297],{},"Normal",[140,299,300],{},[143,301,302],{},"Error",[140,304,305],{},[143,306,307],{},"Skipped",[128,309,310,311,314,315,318],{},"Each execution is tied to a chat session (",[235,312,313],{},"session_id",") and includes a shareable details link (",[235,316,317],{},"/shared/{session_id}",") for full context.",[132,320,322],{"id":321},"notifications-and-continuous-conversation","Notifications and Continuous Conversation",[128,324,325],{},"Automation notifications are supported through connectors:",[137,327,328,334],{},[140,329,330,333],{},[143,331,332],{},"Integrated IM tools"," (group channels)",[140,335,336],{},[143,337,338],{},"Email",[128,340,341],{},"Notification rules support:",[137,343,344,349,354],{},[140,345,346],{},[143,347,348],{},"Send when execution is normal",[140,350,351],{},[143,352,353],{},"Send when execution fails",[140,355,356],{},[143,357,358],{},"Send only for abnormal results",[128,360,361],{},"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.",[363,364,367],"callout",{"color":365,"icon":366},"info","i-lucide-info","Currently, each Automation can configure at most one IM group notification channel.",[132,369,371],{"id":370},"recommended-practices","Recommended Practices",[137,373,374,380,389,392],{},[140,375,376,377,379],{},"Keep the ",[143,378,190],{}," explicit with concrete checks and expected output format.",[140,381,382,383,385,386,388],{},"Attach only the ",[143,384,196],{}," and ",[143,387,202],{}," required for this run.",[140,390,391],{},"Start scheduled tasks at a lower frequency, then increase after validation.",[140,393,394],{},"Validate with manual runs first before enabling schedule + notification.",{"title":396,"searchDepth":397,"depth":397,"links":398},"",2,[399,400,401,407,408,409],{"id":134,"depth":397,"text":135},{"id":173,"depth":397,"text":174},{"id":224,"depth":397,"text":225,"children":402},[403,405,406],{"id":229,"depth":404,"text":230},3,{"id":262,"depth":404,"text":263},{"id":269,"depth":404,"text":270},{"id":276,"depth":397,"text":277},{"id":321,"depth":397,"text":322},{"id":370,"depth":397,"text":371},"Run recurring or on-demand operational checks with automatic notifications.","md",null,{},true,{"title":48,"description":410},"V4ihlewEBrXExiqweCzFXYFhPGp-AjROu2U_J5FqaH4",[418,420],{"title":44,"path":45,"stem":46,"description":419,"children":-1},"Connect local diagnostics to Castrel's intelligence.",{"title":52,"path":53,"stem":54,"description":421,"children":-1},"Connect Castrel with your observability stack, communication tools, and deployment platforms.",1776157206778]