> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatsyncs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Restrict AI on Specific Keywords with ChatSyncs?

> How to stop an AI agent from answering certain topics using Restricted Topics and a custom Response for Restricted Keywords in ChatSyncs.

In ChatSyncs, **Restricted Topics** stop an AI agent from answering certain subjects at all —
instead of trying and possibly saying something wrong, it responds with a fixed message you
control.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/sAsjFfzcUITpKpey/images/learn/whatsapp-ai-agent/step-12-behavior-restrictions-business-hours.png?fit=max&auto=format&n=sAsjFfzcUITpKpey&q=85&s=5cd198d96c848f3c189f9df66a678cd2" alt="Behavior & Restrictions card with Restricted Topics set to Competitor price, Price discount, and medical advice, and a Response for Restricted Keywords textarea reading Sorry, I cannot assist with this query. Please contact support." width="1398" height="778" data-path="images/learn/whatsapp-ai-agent/step-12-behavior-restrictions-business-hours.png" />
</Frame>

<Steps>
  <Step title="Open the agent's settings">
    Go to **Chatbot Manager → AI → Agents**, open the agent, and find **Behavior &
    Restrictions**.
  </Step>

  <Step title="Add Restricted Topics">
    List the subjects this agent should never answer, e.g. `competitor comparisons`,
    `unrelated services`, `pricing negotiations`, `medical advice` — whatever's off-limits for
    this specific agent.
  </Step>

  <Step title="Write the Response for Restricted Keywords">
    Set the fixed reply sent whenever a message touches a restricted topic, e.g. *"Sorry, I
    cannot assist with this query. Please contact support."* (limited to 500 characters).
  </Step>

  <Step title="Save">
    The agent now declines those topics with your fixed response instead of attempting an
    answer.
  </Step>
</Steps>

**Example:** A `Sales Advisor Agent` has `competitor comparisons` as a Restricted Topic. A
customer asks *"How do you compare to \[competitor]?"* — instead of the AI improvising an answer
about a competitor, it replies with the fixed message and the conversation can be escalated to a
human if needed.

<Tip>
  Restricted Topics are per-agent — a `Sales Advisor Agent` and a `Support Agent` can each have
  their own list, matching what's actually off-limits for that agent's role.
</Tip>

## Frequently asked

<AccordionGroup>
  <Accordion title="How do I stop the AI from answering about competitors or off-topic subjects?">
    Add the subject to **Restricted Topics** in the agent's **Behavior & Restrictions** settings,
    and set a **Response for Restricted Keywords** to send instead of an AI-generated answer.
  </Accordion>

  <Accordion title="Can different agents have different restricted topics?">
    Yes — Restricted Topics are set per agent, not account-wide.
  </Accordion>

  <Accordion title="Is there a length limit on the restricted-keyword response?">
    Yes — 500 characters.
  </Accordion>

  <Accordion title="What happens if I don't set a Response for Restricted Keywords?">
    Set one before relying on Restricted Topics — without a fixed response configured, there's
    nothing controlled to fall back on when a restricted topic comes up.
  </Accordion>
</AccordionGroup>
