update_analytics_record
Updates Cognigy.AI session analytics records to add custom tracking properties to conversation analytics. Set dryRun=false to apply changes.
Instructions
Updates Cognigy.AI analytics records for a session. Use this to add custom tracking properties to conversation analytics. MUTATING: Set dryRun=false to update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without updating. Set to false to actually update. | |
| inputId | No | Restrict the update to a single input (message) of the session | |
| contactId | Yes | The contact (user) ID of the conversation | |
| projectId | Yes | The project ID | |
| sessionId | Yes | The session ID to update analytics for | |
| properties | Yes | Analytics fields to set. Editable fields include rating, ratingComment, custom1..custom10, intent, intentScore, slots, state, mode, flowName, localeName, inHandoverRequest, inHandoverConversation, handoverEscalations |