Updated on 2024-10-12 GMT+08:00

Configuring the Satisfaction Feedback Flow

In a call test, the GUI and flow orchestration are used to implement the satisfaction feedback function.

During flow orchestration, determine the businesses for which satisfaction feedback is required. Generally, satisfaction feedback is not required for chat sessions, auxiliary sessions, slotted sessions, and clarification sessions. It is required for Q&A-based replies, knowledge graph replies, and final replies in multiple rounds of dialogs.

The following figure shows the preconfigured satisfaction feedback flow.

  1. Return the needFeedBackResponse response template in the branch that requires feedback. The data structure in the response template must be the same as that agreed by the frontend.

    The response template needFeedBackResponse provides the result to be returned for the current business and the reason for dissatisfaction. The frontend parses the result for display.

  2. Check the user input. If the value of IVRREQUEST.feedback is 0 or 1, the user is satisfied and the satisfaction feedback enters the feedback branch.

  3. Check whether the feedback branch invokes the CallFeedBack interface provided by the TUC.

  4. Check the configuration of the satisfaction feedback interface in the following figure.