Creating an Example

Use examples to provide previous conversations or tickets to help tailor your responses

To create a example, navigate to the examples section of the ResponseCX dashboard and click the Add New example button.

This will create a new example with the following fields, for example:

  • agent: ReSponse
  • type: System Example
  • name: Cancel Subscription Flow.
  • ticket: 1821323
  • description - This is a great example of a cancel subscription flow.

Click Add Example to create the example.

Creating an Example via the SDK

const example = await stateset.examples.create({
  agent: "ReSponse",
  type: "System Example",
  name: "Cancel Subscription Flow.",
});

Updating an Example

To update an example, click on the Update button in the example row in the examples section of the ResponseCX dashboard.

This will open the example editor, where you can update the name, description or delete the example.

Updating an Example via the SDK

const updated = await stateset.examples.update({
  id: example.id,
  name: "Cancel Subscription Flow.",
});

Examples Overview

Once your examples have been created, ReSponse will load the ticket / chat messages into the Agent context.

These will be initialized as when processing requests from the customer.

For more information on how to use the examples, please reach out at response@stateset.com