Skip to main content

Feedback


Use Feedback to prompt users with a high rating to leave an external Trustpilot review.



This screen includes:

#ElementDescription
1Rating follow-up screenPrompts the user to leave an external review.
2BrandingDisplays the Air Doctor logo.
3Confirmation messageDisplays Thanks for the great rating!
4Review instructionAsks the user to write a review on Trustpilot.
5Trustpilot brandingDisplays the Trustpilot logo.
6Trustpilot actionOpens the Trustpilot review flow.

Workflow

  1. Submit a high rating.
  2. Display the feedback follow-up screen.
  3. Select Rate us on Trustpilot.
  4. Close the feedback screen.
  5. Open the Trustpilot review page.

Validations

ScenarioApp behaviorSDK output
High rating submittedDisplay Trustpilot follow-up screenfeedback = trustpilot
Trustpilot link availableEnable Trustpilot actiontrustpilot = available
Trustpilot link missingDisable Trustpilot action or display fallbacktrustpilot = unavailable
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp behaviorSDK output
Feedback screen opensLoad feedback follow-up screenPUT /api/v3/rating/feedback
Trustpilot action selectedOpen Trustpilot review pagePATCH /api/v3/rating/open-trustpilot
Request rejectedPreserve current statestate = unchanged

Endpoint Resources

Feedback

PUT 

v3/rating/feedback

Returns the Trustpilot feedback follow-up screen.

Open Trustpilot Page

PATCH 

v3/rating/open-trustpilot

Opens the Trustpilot review page.