Documentation Index
Fetch the complete documentation index at: https://docs.anyshift.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Annie Instructions let you define automation rules that control what Annie does when it receives messages in Slack. Rules determine whether Annie investigates, responds as a chat, offers a manual action, or stays silent. Each rule follows a simple pattern:If [sources] send [condition] in [channels] then Annie [action]Sources and channels are both optional scopes: leave them empty and the rule applies anywhere; pick one or more to narrow it down. Annie already knows your infrastructure from connected integrations and learned patterns. Instructions tell it what to do and how to respond in specific situations.
How It Works
- Annie checks each rule in order (top = highest priority).
- The first rule whose condition matches determines the action.
- If no rule matches, Annie’s AI decides between RCA and Chat automatically.
- Default instructions are appended as extra context to any response.
Action Types
When a rule matches, Annie takes one of these actions:Annie Chooses
Annie Chooses
Annie’s AI decides whether to run an RCA investigation or respond as a chat — the rule just provides extra context to guide the response.Best for: general-purpose rules where you want Annie to adapt based on the message content.
Run Investigation (RCA)
Run Investigation (RCA)
Annie performs a full root cause analysis, querying your connected integrations (Datadog, Grafana, AWS, etc.) to investigate the alert.Best for: alerts that always need deep investigation.
Ask Annie (Chat)
Ask Annie (Chat)
Annie responds conversationally, using the rule’s instructions as a processing prompt. The original message provides the context.Best for: validation questions, quick lookups, or automated workflows that need a direct answer rather than a full investigation.
Offer Manual RCA
Offer Manual RCA
Annie acknowledges the alert but doesn’t investigate automatically. It shows a “Start RCA” button so a team member can trigger the investigation when ready.Best for: low-priority alerts or noisy sources where you want human-in-the-loop.
Silently Ignore
Silently Ignore
Annie does nothing — no message, no reaction, no response. The alert is completely ignored.Best for: known noise, test alerts, or bot messages that don’t need attention.
Rule Scoping
Each rule can narrow on two independent axes: sources (who sent the message) and channels (where the message was posted). Both are optional and both accept multiple values.Source scoping
- Anyone (empty): the rule matches any sender.
- One or more identities: the rule only fires when the message is from one of the selected Slack users or bots.
Channel scoping
- Any channel (empty): the rule matches regardless of where the message was posted.
- One or more channels: the rule only fires in the selected Slack channels. Safe across multiple workspaces: channels are workspace-aware, so picking
#infra-alertsfrom workspace A won’t accidentally match#infra-alertsfrom workspace B.
Combining scopes
Sources and channels compose with AND. For example, a rule withsources = [PagerDuty, Datadog] and channels = [#prod-incidents] fires when either of those bots posts in that channel and nowhere else.
Page Layout
The instructions page has four sections:Default Action
Extra context that Annie always includes in its responses. This is not a rule. It doesn’t determine what Annie does, only how it responds. Use it for formatting preferences, team conventions, or baseline investigation steps.| Field | Description | Example |
|---|---|---|
| Instructions | What Annie should always consider | ”Always check CloudWatch logs first” |
| Formatting | How Annie structures responses | ”Use bullet points, include severity” |
Rules
An ordered list of automation rules. First match wins. Drag to reorder priority. Each rule defines:- Sources: zero or more Slack identities that trigger this rule (empty = anyone)
- Condition: natural language description of when to match
- Channels: zero or more Slack channels the rule applies to (empty = any channel)
- Action: what Annie does when matched
- Instructions (optional): extra context for the action
Slack identities
A single list of every Slack user and bot the rule engine can target on this project. Each row carries a Subscribed / Unsubscribed toggle that defines what Annie does with their messages outside of automation rules:- Subscribed: Annie processes every message from this identity automatically, following any default instructions and matching rules. This is the right choice for alerting bots (PagerDuty, Datadog, Amazon Q).
- Unsubscribed: Annie only processes a message from this identity when the user or bot tags
@Anniein it. This is the right default for human teammates, so Annie doesn’t respond to every sentence they type.
Duplicate Alert Detection
A time window for suppressing repeated alerts. When enabled, Annie detects if the same alert was already processed recently and links to the existing investigation instead of starting a new one.Examples
AWS Health Events via Amazon Q
AWS Health Events via Amazon Q
A common pattern for teams using Amazon Q to forward AWS Health Events to Slack:Setup:
Annie validates RDS health events and silently ignores everything else from Amazon Q.
- Subscribe the Amazon Q bot to Annie
- Create rules:
| Priority | Source | Condition | Action |
|---|---|---|---|
| 1 | Amazon Q | AWS Health Event with RDS | Ask Annie: “Validate whether the reported service had a real failure” |
| 2 | Amazon Q | any message | Silently ignore |
Database Alert Investigation
Database Alert Investigation
Skip Low-Priority PagerDuty Alerts
Skip Low-Priority PagerDuty Alerts
Ignore Test Alerts
Ignore Test Alerts
Automated Workflow Bot
Automated Workflow Bot
For teams that have a Slack workflow bot forwarding alerts to Annie:
Critical errors get immediate RCA with deployment focus. Everything else gets Annie’s best judgment.
| Priority | Source | Condition | Action |
|---|---|---|---|
| 1 | Workflow Bot | Critical production error | Run Investigation with instructions: “Focus on recent deployments” |
| 2 | Workflow Bot | any message | Annie chooses |
Get Started
Create Account
Sign up for Anyshift
Request Demo
See Annie Instructions in action