How to react when an AI quality assessment is ready?
When a dialog closes, AI quality assessment still runs afterwards. A section that starts from chat closed often sees an empty score and summary. The AI QA assessment completed event fires when the assessment is actually ready.
When you need it
- Send the score and summary to CRM after the dialog is closed.
- Call a webhook or write Custom Data when AI QA has finished.
- Replace a temporary workaround: polling assessments from a custom action.
What to know
- The event fires only after a successful AI assessment. A failed assessment does not start the section.
- The section can read
trigger_data.score,trigger_data.dialog_summary,trigger_data.chat_room_id,trigger_data.assessment_id. - A second successful AI evaluation of the same dialog starts the section again.
Before you start
Steps
- Open the section in Scenario Builder and select the Start node.
- Set the trigger type to Internal events.
- Choose AI QA assessment completed.
- Add a send node (CRM, webhook, Custom Data) and map fields from
trigger_data. - Save and publish the scenario.
Field details: Internal events trigger reference.
How to verify
- Close a test dialog that AI QA will assess.
- Wait until the assessment status is completed in Quality Assurance.
- Confirm the section ran and the external system received the score.
Typical mistakes
| Problem | Fix |
|---|---|
| Section runs but the score is empty | Use AI QA assessment completed, not chat closed. |
| Section does not run | The assessment may have failed. This event ignores failures. |
| Duplicate send | A second AI evaluation fires the event again. Deduplicate in CRM or in the scenario. |