BidLab by KnockbookRenewal shift planner

Integration guide

Request one shift of data

Choose one service centre, a shift start in Dubai local time, and a nine-hour observation window. Include renewal cases and the service team that can lend officers. Use anonymous case IDs in all files.

Download the shift data request workbook (.xlsx)

Case management or CRM

Ask the service owner for one row per case due by the end of the window, including opening backlog. Freeze the extract at the planning cutoff. For future arrivals use forecast cases or declared scenarios. Use actual arrivals only for retrospective replay and label them accordingly.

CSV or JSON fieldSource and conversion
case_idStable anonymous key that also appears in the close-of-shift extract.
teamMap the service code to renewals or other (the other team).
channelSource channel such as Portal or Counter. Use consistent spellings.
arrival_minWhole minutes from shift start to arrival. Negative values represent opening backlog, up to seven days before start.
due_minConvert the contractual SLA timestamp to the same clock. Preserve overdue deadlines. Include only cases due by minute 540.
handling_minExpected remaining processing minutes as known at cutoff, 1 to 540. Estimate from earlier completed cases by service and channel.

For historical benchmarking, operations must confirm that tomorrow’s planned case mix is comparable. This model covers only cases due by the end of the shift and assumes the supplied officers are available to it.

Roster, skills and cost

Ask the duty manager for how many people work on each team, how many on the other team can help with renewals, and how many must stay. Ask finance for the fully loaded AED cost of one extra officer-hour and the authorized overtime budget. Enter these six values in the planner or the connector configuration. The pilot assumes uninterrupted seven-hour shifts and one officer eligible for a two-hour extension.

Connect an existing report

For the first replay, download the CSV template in the planner and map the six columns. For repeated extracts, IT can expose an approved read-only HTTPS report from its CRM, ERP or reporting warehouse. The supplied Python adapter reads that report on the customer’s computer. Credentials stay there.

Download Python adapter · Download mapping and roster settings

Use Python 3. Edit the mapping values to match fields returned by your report. Supply the report token through the local environment variable BIDLAB_READ_TOKEN if required. Use a scoped read-only token. The adapter expects {"rows":[...],"next_cursor":null}. For additional pages, return a string cursor accepted as the next request’s cursor query parameter. Use a stable shift snapshot across pages.

python3 bidlab_pull.py --url https://your-report-host.example/renewal-shift --config renewal-config.json --out shift.json

Import shift.json under Use your own cases. The planner validates IDs, types, ranges, team codes and staffing limits. A rejected file leaves the current shift available. The pilot reads up to 500 cases. An IT-provisioned report is required for a customer system.

Measure the result

Record the chosen roster and download the decision JSON. At minute 540, ask the queue supervisor for the service start and completion of every case ID. In the actuals template, enter whole minutes since shift start for completed cases. Leave both fields blank for any case still open. Reopen the saved decision and import actuals to compare projected and observed misses, completed cases, backlog and the wait for 9 in 10 finished cases.

Confirm actual overtime separately against the timesheet. A single shift measures forecast error. Estimate incremental benefit over multiple comparable shifts using a pre-agreed comparison method.