You can find all the related configurations in the resources ID table, under Survey Screen.

Show CSAT if:

  • CSAT configured to appear according to:
  • Conversation has an assigned agent.
  • Conversation’s CSAT wasn’t previously submitted.

Dismiss CSAT if:

  • User presses the submit button (answers get sent to the survey).
  • User chooses to skip the CSAT (skipped button pressed).
  • User fills in the CSAT details on another device.
  • If the CSAT is visible and the agent resumed the conversation.

The CSAT screen includes several content containers:

Custom View Controller Mode requirements

When using Custom View Controller Mode, the Conversation view must be removed when leaving the App. To avoid dismissing the View when CSAT/SecureForms/PhotoSharing View is presented, you should only dismiss the Conversation view if Moving From ParentView, as demonstrated below.

if (self.conversationQuery != nil && self.isMovingToParentViewController){

When ViewController Mode is used, on the Navigation Bar Back Button, you can simply call LPMessaging.instance.removeConversation(self.conversationQuery!).

csatAgentViewHidden (avatar and agent name)

You can either hide or show the agent avatar.

  • If the conversation has an assigned agent and its image was downloaded previously using profileUrl, this image shows in the view.

  • If no image available, default avatar displays. Its background and tint color can be set accordingly to agent bubble using:

  • Contains agent name:
    • By default it’s an empty label.
    • If conversation has assigned agent, the agent’s nickName will be used.

csatRatingButtonSelectedColor (stars)

  • Always visible — can’t configure its visibility.
  • Stars color is defined by:
  • Rating question includes "Agent" by default in the text. If conversation has assigned agent and the agent’s nickName is not empty, this nickName will be used instead.

csatResolutionHidden (yes/no)

  • Could be hidden or not using:
  • If agentView is shown ("csatAgentViewHidden"), this view will be always hidden (even if "csatResolutionHidden" is set to true)
  • All titles colors defined with: