Workflow bulk testing guide – Assembled

Overview

Bulk testing allows you to evaluate your workflow's accuracy at scale by testing it against multiple cases simultaneously. This feature is essential for validating workflow performance before moving from "Agent review" to fully automated operation, ensuring your workflows trigger correctly and handle cases as expected.

Why Use Bulk Testing?

Build Confidence in Automation

Measure Performance

Regression Testing

Getting Started

Step 1: Build Your Test Case Library

Before running bulk tests, you need to collect test cases. There are two ways to do this:

Method 1: Add Cases During QA Review

  1. Navigate to Quality > QA Review or the Monitor page
  2. When reviewing tickets, look for cases that should or shouldn't have triggered your workflow
  3. Click "Add test case" next to relevant tickets
  4. Specify which workflow the case should run on (or indicate it shouldn't run on any workflow)
  5. The system saves these ticket IDs to your workflow's test case library

Method 2: Add Cases from Monitor Page

  1. Go to the Monitor page
  2. Review recent workflow executions
  3. Identify cases that were correctly or incorrectly handled
  4. Add them as test cases using the same process above

Step 2: Access Bulk Testing

  1. Navigate to Workflows in your main menu
  2. Select the workflow you want to test
  3. Click on the "Test" tab
  4. You'll see the bulk evaluation interface

Improving Your Workflow with AI Suggestions

Before diving into bulk testing, consider using the "Get AI suggestions" feature to improve your workflow's trigger conditions:

How AI Suggestions Work

  1. Access the Feature: In your workflow's trigger prompt section, click "Get AI suggestions"
  2. Provide Context: You can optionally provide details about cases where your workflow is over-triggering or under-triggering
  3. Get Recommendations: The system analyzes your current trigger prompt and provides specific improvements
  4. Review Changes: You'll see a detailed analysis with recommended additions and deletions to your trigger conditions

When to Use AI Suggestions

Example Usage

If your bulk test shows false positives, you can:

  1. Click "Get AI suggestions"
  2. In the context box, write: "This workflow is incorrectly triggering on cases about shipping delays, but it should only handle order cancellations"
  3. Apply the recommended improvements
  4. Run another bulk test to validate the changes

Configuring Your Bulk Test

True Positives (Cases Your Workflow Should Handle)

These are cases where your workflow should trigger and handle the customer inquiry.

Random Sample Option:

Specific Cases Option:

True Negatives (Cases Your Workflow Should NOT Handle)

These are cases where your workflow should not trigger.

Random Sample Options:

Specific Cases Option:

Test Parameters

Other Workflows to Test Against:

Interaction Type:

Draft Mode:

Running the Test

  1. Configure Your Test Settings as described above
  2. Start Small: Begin with 10-20 test cases per category for your first tests
  3. Click "Test" to start the bulk evaluation
  4. Wait for Results - The process typically takes about 10 minutes to complete
  5. Review the Results once the test finishes

Understanding Your Results

Key Metrics

True Positives (TP):

True Negatives (TN):

False Positives (FP):

False Negatives (FN):

Calculating Accuracy

While the system shows raw counts, you can calculate key performance metrics:

Overall Accuracy = (TP + TN) / (TP + TN + FP + FN)

Precision = TP / (TP + FP)

Recall = TP / (TP + FN)

Best Practices

Building Effective Test Cases

Cover Multiple Scenarios:

Start Small, Build Gradually:

Document Expected Outcomes:

When to Run Bulk Tests

Before Publishing Changes:

Periodic Performance Checks:

Before Going Fully Automated:

Interpreting and Acting on Results

High False Positive Rate:

High False Negative Rate:

Low Overall Accuracy:

Troubleshooting Common Issues

"No Test Cases Available"

"Test Taking Too Long"

"Unexpected Results"

Advanced Testing Strategies

Progressive Testing

  1. Start with a small, high-confidence test set (10-15 cases)
  2. Achieve good accuracy on this set (consult your team for targets)
  3. Gradually expand to larger, more diverse test sets
  4. Maintain consistent performance as you scale

Using AI Suggestions Iteratively

  1. Run initial bulk test
  2. Identify patterns in false positives/negatives
  3. Use "Get AI suggestions" with specific examples
  4. Apply recommended changes
  5. Re-test with the same cases to validate improvements

A/B Testing Workflow Changes

Getting Help

If you encounter issues with bulk testing or need assistance interpreting results:


Remember: Bulk testing is your safety net for automation. Start small, build your test library gradually, and use AI suggestions to continuously improve your workflow's accuracy.