Voxli Voxli

Scenario Configurations

Define custom fields on scenarios and tests using configuration templates.

What configurations are

Configuration templates let you add custom fields to your scenarios and tests. Think of them as structured metadata - extra fields that appear alongside the standard name, instruction, and assertions.

Configurations have two levels of fields:

  • Scenario fields - appear on the scenario itself. Useful for information that applies to all tests in the scenario.
  • Test fields - appear on each test within the scenario. Useful for per-test metadata.

Creating a configuration

  1. Click your workspace name in the top left corner, choose Settings, then open Configuration.
  2. Click Create.
  3. In the Create Configuration dialog, give the configuration a Name (for example, “Website Chatbot”).
  4. Use Add field under Scenario Fields and Test Fields to add fields. Each field has:
    • Name - the label users see (e.g., “Chatbot ID” or “Target audience”).
    • Key - the identifier your integration reads via the API. Voxli fills it in from the name, and you can adjust it before saving.
    • Type - Single line text, Long text, or Checkbox.
    • Required - turn this on to make the field mandatory.
  5. Click Create.
The Create Configuration dialog with a name, scenario fields, and test fields

The configuration appears in the table with a summary of its scenario and test fields. Use the row actions to edit or delete it. Deleting a configuration keeps the values your scenarios already store, but they are no longer linked to the configuration.

The Configuration settings page listing a configuration with its scenario and test fields

Linking a configuration to a scenario

You can pick a configuration in the Configuration dropdown when creating a scenario. To link one later:

  1. On the scenario detail page, open the three-dot menu and click Edit.
  2. In the edit dialog, select your configuration from the Configuration dropdown.
  3. Save the scenario.

After linking, the custom fields appear in the scenario and test edit forms. Fill in the values as needed - they are stored with the scenario and its tests. Required fields must be filled in before you can save.

Field types

TypeDescription
Single line textA short text input for brief values like IDs, names, or labels.
Long textA multi-line text area for longer content like descriptions or instructions.
CheckboxA yes/no toggle for flags like “Requires login”.

Use cases

Field values are accessible via the API, making configurations primarily useful for passing structured data to external systems and integrations during test execution. For example, you might store a chatbot ID, environment URL, or authentication token that your integration needs when starting a run.

For API details, see Scenario Configurations in the developer docs.

Advanced

How Metrics Are Summarized