Skip to main content

Event Properties

FieldValue
event"document.feedbackSubmitted"
confidentialboolean
payloadobject
FieldTypeDescription
scorenumberUser rating for the document
maxScorenumberMax possible rating for the document
documentIdstringUnique document identifier
documentType"legacy" | "guided"Document generation type
documentNamestringDocument name or title
outputLanguagestringOutput language code (e.g., “en”, “de”)
templateType"built-in" | "custom" | "schema-driven"Type of template used: built-in, custom, or schema-driven
templateIdstringTemplate identifier (either ref for built-in or customTemplateId for custom)
interactionIdstringUnique interaction identifier
interactionStateInteractionStateCurrent state of the interaction

Example

{
  "event": "document.feedbackSubmitted",
  "confidential": false,
  "payload": {
    "score": 4,
    "maxScore": 5,
    "documentId": "doc_123",
    "documentType": "legacy",
    "documentName": "SOAP note",
    "outputLanguage": "en",
    "templateType": "built-in",
    "templateId": "soap",
    "interactionId": "int_123",
    "interactionState": "ongoing"
  }
}