Create and Use Run Profiles

Use run profiles to save and replay common test inputs without retyping prompts, ensuring they cover typical business scenarios, workflow branch paths, and known edge cases.

Here's a screenshot that displays the Run Profiles option. Run Profiles

Create a Run Profile

  1. Go to AI Agent Studio and open the Workflows workflows tab.
  2. Select Edit Edit to modify a workflow.
  3. From the toolbar, select Debug Debug, and then select Run Profiles Run Profiles.
  4. Select Create new profile.
  5. Select Edit Edit to enter a name for the profile.
    Note: Enter a profile name that describes the business scenario, not just the prompt text. For example, use Policy question with attachment or Specific record search instead of Test 1.
  6. Select the type and provide the other profile details.
The run profile is saved and you can run the test case when needed.

Run an Existing Profile

  1. Go to AI Agent Studio and open the Workflows workflows tab.
  2. Select Edit Edit to modify a workflow.
  3. From the toolbar, select Debug Debug, and then select Run Profiles Run Profiles.
  4. Select the profile that matches the scenario you want to test.
  5. From the toolbar, select Run Run.
  6. Confirm the expected route on the canvas.
  7. Inspect the key nodes on that route. For more information, see Inspect Node Results.
  8. Confirm the final chat response.

Recommended Profile Coverage

Create run profiles to validate each workflow path and ensure comprehensive test coverage for the following scenarios:
  • Each switch branch
  • Each major user intent
  • Positive and negative test cases
  • Known bug scenarios
  • Edge cases, such as missing attribute values, invalid attribute values, empty results, or policy lookup failures