{{-- The category form, shared by the "add" card and every "edit" dialog. Expects: $category — the row being edited, or null when adding $templates — all templates for the account (so an assigned draft stays visible) --}} @php $prefix = $category ? 'c' . $category->id . '_' : 'new_'; @endphp
The value the AI returns. Capitals, digits and underscores.
Shown to the AI so it can tell your categories apart. Be concrete.
{{-- The three fields below arrived when this table became the whole classification vocabulary rather than an auto-reply lookup. They are what let a category be counted, filtered and coloured on the mail screens. --}}
The coarse group this category rolls up into — it is what the Sales and AMC filters and the dashboard split read. Several categories share one on purpose: a pricing enquiry and a demo request both count as Sales.
The pill on the mail list and the bar on the dashboard.
The URL segment for this category's mail listing. Leave blank when adding and it is derived from the code. Changing it breaks any bookmark to the old one.
is_lead_signal : old('is_lead_signal'))>
Used only as a fallback: when the classifier gives no usable lead answer for a mail, a category marked here is what makes it count as a lead anyway. It does not override a real detection.
Only an approved template is ever sent.
Leave blank to use the account-wide threshold.
Comma separated. Labels from the existing classifier that mean this category.
auto_reply_enabled : old('auto_reply_enabled'))>
is_active : old('is_active', true))>