跳到主要内容

Auto-Reply

Auto-reply lets you define rules that match incoming messages and send a pre-configured response immediately — without running the AI agent. Useful for FAQs, out-of-office replies, and simple keyword triggers.

Managing rules with /autoreply

Use the /autoreply slash command to manage rules from any connected channel.

List rules

/autoreply list

Shows all configured auto-reply rules with their index, match type (keyword or regex), pattern, and response.

Add a keyword rule

/autoreply add <keyword> | <response>

Matches any message containing <keyword> (case-insensitive, substring match).

Example:

/autoreply add hours | Our support hours are Mon–Fri, 9am–5pm PT.

Add a regex rule

/autoreply regex <pattern> | <response>

Matches messages using a regular expression pattern.

Example:

/autoreply regex \bprice[sd]?\b | See our pricing page at https://clawcentral.io/pricing

Remove a rule

/autoreply remove <index>

Removes the rule at the given index (use /autoreply list to find indexes).

Enable / disable

/autoreply on
/autoreply off

Globally enables or disables auto-reply without deleting your rules.

How matching works

  • Rules are evaluated in order. The first matching rule wins.
  • Keyword rules are case-insensitive substring matches.
  • Regex rules use standard JavaScript regex syntax (no delimiters needed).
  • Auto-reply runs before the AI agent — matching messages are not forwarded to the agent.
  • Messages from the agent itself are never auto-replied to.

Example rules

TypePatternResponse
keywordhelloHi there! How can I help?
keywordstatusAll systems operational. See status.clawcentral.io for details.
regex\boff[- ]?line\bI'm currently unavailable. I'll get back to you soon.
regex`\b(pricepricing

Configuration

Auto-reply rules and the enabled/disabled state are stored per-agent in your tenant settings. Changes take effect immediately — no restart needed.

  • Cron Jobs — schedule recurring messages.
  • Hooks — event-driven automation (self-hosted only).
  • Slash commands — full list of slash commands.