Entity · email_rules
Email Rule Schema
Fields
Email Rule Schema
Tenant-scoped rules evaluated before LLM triage. First matching rule wins. ADR 0096b.
name
1–120 characters
description
max 1000 charactersnullable
priority
1 – 1000
accountId
nullable
conditions
conditionLogic
Values
andaction
type
Values
create_ticketcreate_opportunitycreate_complaintcreate_kb_articleroute_to_inboxquarantinediscardemit_metricopen_incidentlink_external_refcreate_venue_inquiryoverrides
assigneeId
nullable
teamId
nullable
orgUnitId
nullable
priority
nullable
categoryId
nullable
queueId
nullable
ticketType
nullable
incident
severity
Values
infowarningerrorcriticalfingerprintTemplate
max 500 characters
titleTemplate
max 500 characters
followUp
Values
discardquarantinekeepexternalRefPattern
max 300 charactersnullable
matchCount
≥ 0read-only
lastMatchedAt
read-onlynullable
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/email_rules— List, paginated + filterableGET /api/v1/email_rules/<id>— Single entityPOST /api/v1/email_rules— CreatePATCH /api/v1/email_rules/<id>— Partial updateDELETE /api/v1/email_rules/<id>— Soft deleteGET /api/v1/email_rules/<id>/timeline— Audit + activities