Overview
A run is a batch execution of a decision flow against a target audience (segment). Runs are how you execute campaigns — selecting a flow, targeting a customer segment, and generating recommendations for every customer in that segment. After execution, you can view detailed results including offer and channel breakdowns and per-customer recommendations.How Runs Work
- Select a decision flow — Choose which flow to execute
- Choose a target segment — Define the audience (a saved segment or ad-hoc filter)
- Execute — Kaireon processes every customer in the segment through the decision flow
- View results — See summary statistics, offer/channel breakdowns, and per-customer details
Run Status
Runs progress through a defined lifecycle:| Status | Description |
|---|---|
pending | Run has been created but execution has not started |
running | Currently processing customers through the decision flow |
completed | All customers have been processed successfully |
failed | Execution encountered an error and stopped |
Large runs (100K+ customers) are processed in parallel batches. The progress percentage and estimated time remaining are shown in the UI during execution.
Run Summary
After a run completes, the summary includes:Overall Statistics
| Metric | Description |
|---|---|
| Total customers processed | Number of customers in the target segment |
| Customers with recommendations | Number of customers who received at least one offer |
| Total recommendations generated | Total offer-customer pairs produced |
| Average offers per customer | Mean number of offers recommended per customer |
| Execution time | Total processing duration |
Offer Breakdown
Shows how many times each offer was recommended:| Offer | Count | % of Total |
|---|---|---|
| Premium Credit Card | 12,450 | 34.2% |
| Personal Loan | 8,320 | 22.8% |
| Savings Account | 15,680 | 43.0% |
Channel Breakdown
Shows recommendation distribution across channels:| Channel | Count | % of Total |
|---|---|---|
| 22,100 | 60.6% | |
| Push | 9,850 | 27.0% |
| In-App | 4,500 | 12.4% |
Per-Customer Results
Drill down into individual customer recommendations:Creating and Executing a Run
Select target segment
Choose a saved customer segment or define an ad-hoc filter for the target audience.
Monitor progress
Watch the progress bar and status updates. For large segments, execution runs in parallel batches.
API Reference
List Runs
Get Run Details
Get Run Results
Create a Run
The create endpoint returns 202 Accepted because run execution is asynchronous. Poll the run status endpoint or use the UI to monitor progress.