Skip to main content

Creating Answer Filters

Learn how to create Answer Filters that guide your agent’s responses for specific queries. This guide will walk you through the entire process, from planning to implementation and testing.

Prerequisites

Before creating Answer Filters, ensure you have:
Agent Created: You need an existing agent to add filters to
Admin Access: Only project Admins and Owners can create filters
Clear Objectives: Know what topics need filtered responses
Answer Filters are configured per agent in the Answer Filters tab of the agent dashboard.

Planning Your Filter

Before creating a filter, take time to plan its structure. A well-planned filter is more effective and easier to maintain.

Step 1: Identify the Topic

What specific topic or question type needs consistent responses?
Good Topics for Answer Filters:
  • Return policy questions
  • Pricing inquiries
  • Contact information requests
  • Specific product features
  • Account troubleshooting steps
Too Broad:
  • “Customer questions” (too vague)
  • “Product information” (too general)
  • “Help requests” (too open-ended)

Step 2: Collect Query Examples

Gather 3-5 different ways users might ask about this topic.
Pro Tip: Include variations in phrasing, formality, and wording. The more diverse your examples, the better the filter will match real user queries.

Step 3: Define Good Responses

Write 2-4 approved responses that you want the agent to use or incorporate. Characteristics of Good Responses:
  • ✅ Accurate and up-to-date
  • ✅ Clear and specific
  • ✅ Helpful and actionable
  • ✅ Brand-aligned
  • ✅ Complete (answers the full question)
Topic: Refund PolicyGood Responses:

Step 4: Identify Bad Responses

List 2-3 responses that should be avoided. Types of Bad Responses:
  • ❌ Incorrect information
  • ❌ Vague or unhelpful answers
  • ❌ Off-brand language
  • ❌ Deflecting or dismissive responses
  • ❌ Outdated information
Topic: Refund PolicyBad Responses:

Creating the Filter

Now that you’ve planned your filter, let’s create it in the platform.

Step-by-Step Process

1

Navigate to Answer Filters Tab

  1. Go to your Project Dashboard
  2. Select your Agent
  3. Click on the Answer Filters tab
You should see a table listing any existing Answer Filters for this agent.
2

Open Create Filter Dialog

Click the ”+ Create Filter” or “Add Filter” button.A dialog or sheet will open with the Answer Filter creation form.
3

Add Queries

In the Queries section:
  1. Enter your first query example
  2. Click ”+ Add” or press Enter to add more
  3. Add 3-5 query variations
Tips:
  • Include different phrasings
  • Vary the formality level
  • Consider typos or common misspellings
  • Think about how real users actually ask
4

Add Good Responses

In the Good Responses section:
  1. Enter your first approved response
  2. Click ”+ Add” to add more
  3. Add 2-4 good responses
Tips:
  • Be specific and actionable
  • Include all necessary details
  • Use your brand voice
  • Ensure accuracy
5

Add Bad Responses

In the Bad Responses section:
  1. Enter responses to avoid
  2. Click ”+ Add” to add more
  3. Add 2-3 bad responses
Tips:
  • Include common mistakes
  • List any outdated information
  • Note off-brand phrasings
  • Add deflecting responses
6

Review and Create

  1. Review all fields for accuracy
  2. Check for typos in all text
  3. Click “Create Filter” button
  4. Wait for confirmation message
You should see a success message and the filter will appear in your filters list.

Complete Examples

Example 1: E-commerce Returns


Example 2: SaaS Pricing


Example 3: Technical Support


Testing Your Filter

After creating a filter, thorough testing is crucial.

Testing Checklist

Try the exact queries you defined:
Try similar but different phrasings:
Try queries that are somewhat related but different:
Verify bad responses are avoided:

Testing in Chat

1

Open Chat Interface

Navigate to your agent’s chat interface or test environment
2

Ask Test Questions

Type each query variation and review responses
3

Document Results

Note which queries trigger the filter and response quality
4

Refine if Needed

If responses aren’t as expected, edit the filter (see Managing Answer Filters guide)

Best Practices

Quality over Quantity

Start with 5-10 critical filtersFocus on topics that:
  • Are asked frequently
  • Need consistent answers
  • Have compliance requirements
  • Protect brand reputation

Be Specific

Detailed is better than vagueInstead of: ❌ “Our return policy is flexible”Use: ✅ “We accept returns within 30 days with original packaging for a full refund”

Include Context

Provide complete informationGood responses should:
  • Answer the full question
  • Include next steps
  • Provide relevant details
  • Link to more info if needed

Plan for Maintenance

Keep filters current
  • Review monthly
  • Update when policies change
  • Remove outdated filters
  • Add new ones based on user questions

Common Mistakes to Avoid

Watch out for these common pitfalls:
Problem: Only 1-2 query examplesImpact: Filter won’t trigger for many similar questionsSolution: Add 3-5 diverse query variations
Problem: “We have a good return policy”Impact: Agent can’t provide specific, helpful informationSolution: Include specific details, numbers, timeframes
Problem: Only defining what to say, not what to avoidImpact: Agent might still make known mistakesSolution: List 2-3 common mistakes or outdated info
Problem: Multiple filters cover similar topicsImpact: Inconsistent responses, confusionSolution: Keep filters distinct or combine related ones
Problem: Filter contains old policy or pricingImpact: Agent gives wrong informationSolution: Set calendar reminders to review filters

Trigger Threshold (Advanced)

Default Setting: 0.5 (50% similarity)Most users should stick with the default. Adjust only if you’re experiencing issues with filter triggering.
The trigger threshold determines how similar a user’s query must be to your examples for the filter to activate.

When to Adjust

Use when:
  • Filter isn’t triggering often enough
  • Topic is commonly asked in many different ways
  • You want broad matching
Example:
Risk of over-triggering (false positives)

Next Steps

1

Create Your First Filter

Follow this guide to create 1-2 filters for your most critical topics
2

Test Thoroughly

Spend time testing with various query types
3

Monitor Usage

Check analytics to see how often filters trigger
4

Iterate

Refine based on real user interactions
5

Scale Up

Add more filters for additional topics

Managing Answer Filters

Learn to edit, update, and delete filters

Overview

Learn more about Answer Filters concepts

Analytics

Monitor filter effectiveness

Agent Settings

Configure other agent features

Troubleshooting

Possible causes:
  • Query examples are too different from user queries
  • Threshold is too high
  • Not enough query examples
Solutions:
  • Add more diverse query examples
  • Lower the threshold slightly (0.4)
  • Test with actual user phrasings
Possible causes:
  • Query examples are too generic
  • Threshold is too low
  • Filter topic overlaps with others
Solutions:
  • Make query examples more specific
  • Raise the threshold (0.6-0.7)
  • Review and consolidate overlapping filters
Possible causes:
  • Good responses are too vague
  • Agent’s system prompt overrides filter
  • Model doesn’t support filters well
Solutions:
  • Make good responses more specific and directive
  • Review system prompt for conflicts
  • Ensure filter is actually triggering (test with exact queries)
Possible causes:
  • Insufficient permissions
  • Not an Admin or Owner
Solutions:
  • Contact project Admin or Owner
  • Request elevated permissions
  • Check project membership role