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
documentNamestringDocument name or title
outputLanguagestringOutput language code (e.g., “en”, “de”)
templateType"built-in" | "custom"Type of template used: built-in or custom
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",
    "documentName": "SOAP note",
    "outputLanguage": "en",
    "templateType": "built-in",
    "templateId": "soap",
    "interactionId": "int_123",
    "interactionState": "ongoing"
  }
}