Rules
Rules are natural language instructions that define how your agent handles specific scenarios. Each rule teaches your agent a capability using prompts that reference Ravenna resources like , , and .Rule structure
Each rule contains:- Title: Descriptive name for the rule (for example, “Password reset handler”)
- Instruction: Natural language prompt telling the agent what to do and when
- Enabled/disabled toggle: Control whether the rule is active
When to use rules
Create rules when you want your agent to:- Handle specific request types consistently
- Route requests to the correct form
- Reference specific knowledge sources for answers
- Follow defined processes for common scenarios
- Provide specialized responses for particular topics
Writing effective rules
Best practices
Best practices
Be specific about triggersClearly define when the rule should activate.Reference resources with @ mentionsUse Define expected outcomesTell the agent what success looks like.Keep instructions focusedEach rule should handle one scenario. Create multiple rules for different use cases rather than one complex rule.
@ to link to specific Ravenna resources.Rule examples
Rule examples
Knowledge-first responsePassword reset handlingSoftware access requestsWorkflow automationHardware issuesMulti-step process
Formatting tips
Formatting tips
- Use clear, conversational language as if explaining to a colleague
- Break complex logic into numbered steps for multi-part processes
- Include fallback behavior telling the agent what to do if the primary action isn’t possible
- Specify tone when needed, adding guidance like “respond empathetically” for sensitive topics
Limitations
Limitations
Form accessYou must reference forms within rules for the agent to create tickets of that type. Your agent does not have access to all forms by default.Workflow accessYou must reference workflows within rules for the agent to trigger them. Your agent does not have access to all workflows by default.Rule conflictsIf multiple rules could apply to a request, the agent uses its judgment to select the most appropriate one. Keep rules distinct to avoid ambiguity.
Manage rules at workspace level
Create reusable rules at the workspace level from the Rules tab on the Agents page. Workspace-level rules can be shared across multiple agents for consistent behavior.1
Access rules tab
Navigate to Agents in your workspace and click the Rules tab.
2
Create new rule
Click New Rule and enter a descriptive title.
3
Write instruction
Write the instruction using natural language and
@ mentions to reference forms, knowledge folders, workflows, and tools.4
Save rule
Click Save to create the rule.
| Aspect | Workspace-level rules | Agent-specific rules |
|---|---|---|
| Location | Rules tab on Agents page | Individual agent’s Capabilities section |
| Reusability | Can be attached to multiple agents | Only available to that specific agent |
| Management | Centralized editing with changes applied everywhere | Edited per agent |
| Best for | Common scenarios shared across teams | Agent-specific behavior |
Create workspace-level rules for common scenarios like password resets or software access requests that multiple agents should handle consistently. Use agent-specific rules for behavior unique to a particular agent or channel.
- Create a rule in the Rules tab
- Open any agent and navigate to Capabilities > Rules
- Click Add Rule and select from your workspace rules
- Add the same rule to as many agents as needed
Escalation instructions
Escalation instructions guide your agent on handling situations it cannot resolve independently. Without custom instructions, agents use default behavior:- Escalate to a human agent only when you cannot solve the problem using knowledge base lookups or available workflows
- Avoid unnecessary back-and-forth with the requester. If clarifying questions don’t help, proceed with escalation
- When escalating, create a ticket and inform the user that a human agent will take over
- Once escalated, do not attempt to further solve the issue
Configure escalation instructions
1
Navigate to agent settings
Open your agent’s settings page.
2
Find escalation instructions
Locate the Escalation Instructions section under Capabilities.
3
Add or edit instructions
Click Add (or Edit if instructions already exist).
4
Write custom guidelines
Write your escalation guidelines using natural language and
@ mentions.5
Save changes
Save your escalation instructions.
Use mentions in escalation instructions
Reference resources using@ mentions:
- Knowledge bases: Direct the agent to check specific knowledge sources before escalating
- Workflows: Trigger specific workflows as part of the escalation process
- Forms: Create tickets with specific forms when escalating
Best practices
- Be specific about escalation triggers with clear conditions
- Include user communication telling the agent what to say when escalating
- Set expectations with information about response times or next steps
- Reference resources using
@mentions to connect escalation to specific workflows or forms
Knowledge
Select specific knowledge folders for your agent to access when answering user questions. This ensures the agent provides accurate information based on your organization’s knowledge base.Learn how to set up and manage knowledge sources
Tools
Tools extend your agent’s capabilities to query data, execute commands, and automate tasks. Agents have access to built-in Ravenna tools for ticket management and web search, plus additional tools from installed integrations like device management systems and CRM platforms.How tools work
Tools are referenced in using @ mentions. When you write a rule, use @ mentions to specify which tool actions the agent should use and when to use them. Example rule using Ravenna tools:Ravenna tools
Built-in tools available to all agents for ticket management, application lookup, and information retrieval.Create Ticket
Create Ticket
Creates new tickets with specified properties like title, description, channel, priority, and custom fields. Agents can create tickets based on conversation context, automatically routing requests to the appropriate channels with pre-filled information.Common use cases:
- Create support tickets from Slack conversations
- Generate tickets with pre-filled form data
- Route requests to specific channels
- Automate ticket creation for common request types
Update Ticket
Update Ticket
Updates existing ticket properties including title, description, priority, tags, assignees, and custom fields. Agents can modify tickets based on new information gathered during conversations.Common use cases:
- Add context to existing tickets
- Update priority based on urgency
- Modify ticket properties from conversation
- Add tags for categorization
Add Approver
Add Approver
Adds a user as an approver to a ticket. Agents can manage approval workflows by adding approvers based on conversation context or request type.Common use cases:
- Add managers as approvers for access requests
- Route approvals to specific team members
- Manage multi-step approval processes
- Dynamically assign approvers based on request type
Approve Ticket
Approve Ticket
Approves a ticket on behalf of the user. The user must be an approver on the ticket or a workspace admin. Enables conversational approval workflows where authorized users can approve requests through natural language.Authorization:
- User must be listed as an approver on the ticket, OR
- User must be a workspace admin
- Enable conversational approvals in Slack
- Streamline approval workflows
- Allow admins to approve any ticket
- Reduce approval friction for authorized users
List Applications
List Applications
Retrieves the list of applications available in the workspace. Agents can reference this list when helping users request access to software and tools.Common use cases:
- Help users discover available applications
- Validate application names in access requests
- Provide information about available software
- Guide users through application access processes
Web Search
Web Search
Searches the web for current information not available in your . Agents can research topics, find documentation, and provide up-to-date answers requiring external information.Common use cases:
- Find current information not in knowledge base
- Research technical questions
- Look up external documentation
- Provide real-time information
Third-party integration tools
Additional tools become available when you install and connect integrations to your workspace. Each integration provides specialized tools for its platform.Integration tools require the corresponding integration to be installed and connected to your workspace. If an integration is disconnected, tools for that integration will show a warning indicator.
Review the Integrations page to see all available integrations
Best practices
- Reference tools in using @ mentions to define when and how the agent should use them
- Provide context about what to do with tool results (analyze, summarize, troubleshoot)
- Combine multiple tool actions for complex multi-step processes
- Use Ravenna tools for ticket management and approval workflows
- Use integration tools for platform-specific data retrieval and actions
- Test tool-based rules thoroughly to ensure correct data retrieval and analysis
- Monitor agent logs to identify tool usage patterns and opportunities for optimization