Skip to navigation

Read and change the CSAT survey settings of your AI Agent. These are the settings of the Survey settings page. --survey ai-agent is the AI Agent tab. --survey human-agent is the Human Agent tab.

Commands

CommandWhat it does
csat showShows the survey settings in effect. Without --survey, it shows both surveys.
csat updateChanges the settings of one survey. It shows the changes and asks before it saves them.

Examples

Show the settings of the AI Agent survey:

adacli acme csat show --survey ai-agent

Check a change of the rating scale, and save nothing:

adacli acme csat update --survey ai-agent --satisfaction-style 1-10 --dry-run

Change the satisfaction question in French:

adacli acme csat update --survey ai-agent --satisfaction-label "Comment était-ce ?" --language fr

Make two questions of the Human Agent survey required:

adacli acme csat update --survey human-agent --required satisfaction,resolution

Do not send the survey to end users on the pro plan. v() takes a variable ID from adacli acme variables list:

adacli acme csat update --survey ai-agent \
--suppression-rules 'all(equals(v("60a1b2c3d4e5f60718293a4b"), "pro"))'

Details

  • update needs --survey. It sends only the settings that change. If no setting changes, it sends nothing.
  • update asks before it saves. Outside a terminal, add --yes. Without it, update saves nothing.
  • A change to --satisfaction-style makes CSAT from before the change and CSAT from after it not comparable. update shows a warning.
  • The text options change the text in --language, or in the default language. An empty text brings back the default wording.
  • The satisfaction question, the survey email, and the survey SMS cannot be empty. The survey email and the survey SMS must contain {survey_link}.
  • --survey-email, --survey-delay, and --survey-sms apply to the AI Agent survey only. --survey-delay takes 0 to 72 hours.
  • --order lists all 6 question keys: satisfaction, follow_up_feedback, resolution, open_feedback, customer_effort_score, and net_promoter_score.

For every option of a command, run it with --help, for example adacli acme csat update --help.

  • variables: get the variable IDs for suppression rules.
  • analytics: read the CSAT results.
  • snapshot: export the survey settings with the rest of the configuration.