Forums Bug Reports Thread

Helpdesk rules: AI assistant to write rules from a plain-English description

Patrick Bass · Jun 6 · 21 · 1 Locked
[Minor] [Low Priority] [Bug Fixed]
🚀 OP Jun 6, 2026 4:38pm

Where. /admin/helpdesk/rules/new

Request. Add an AI assistant for authoring helpdesk rules. Provide a text box where the admin describes, in plain English, what the rule should do; the assistant builds the rule (conditions + actions) accordingly and fills the form.

Gating. Gate behind the admin AI capability (admin/ai).

Type. Enhancement.

Status: verified (wanted). Open — not yet actioned.


Patrick Bass
@mobieus

🚀 Jun 7, 2026 10:15am

Resolved and deployed to production. Commit 161aa48bba.

Added AI rule-writing assistant to the helpdesk rules create/edit form. A plain-English description textarea and Generate with AI button (gated behind the BYOK Anthropic key) appear above the Conditions JSON field. Clicking the button POSTs to the new POST /admin/helpdesk/ai/suggest-rule endpoint, which calls AnthropicClient with the description and a schema of available condition vars and actions, then returns {conditions, actions} that are populated directly into the JSON textareas. No native dialogs — errors surface inline.

Status: fixed. Thread closed.


Patrick Bass
@mobieus

Log in or register to reply to this thread.