A live-commerce broadcast is a small production. A client brand or its agency agrees a date, a show host is proposed and booked, the client sends product details and samples, a designer makes the on-screen assets, the client approves them, a crew is assigned, the broadcast airs, and a report goes back. Several people touch one broadcast, some of them outside the company. This page is about how the tool keeps that sequence in order.

Two records, not one

The tool separates two things that are easy to confuse.

A studio slot is a block of time in the studio with a crew: a producer, a camera operator, a set-up person and a host. It is booked from Slack or the web, shows on the shared calendar and is mirrored to Google Calendar. It answers “is the studio free on Thursday afternoon”.

A broadcast project is the client engagement. It has a stage, a history of every stage change, proposed and confirmed dates, a shortlist of hosts, a checklist, design assets with versions, sample shipments and a report. It answers “what is the next thing someone has to do for this client”.

The stages

A snake of fourteen boxes in three rows. Row one: draft, created by staff; scheduling, entered automatically when the first date is proposed; date_confirmed, automatically when a proposed date is accepted; host_curation, automatically when the first host is shortlisted; host_confirmed, automatically when a host who said yes is selected. Row two: checklist_input, where broadcast details are collected; design_source, which needs a platform or selling points in the checklist; design_in_progress, which needs design sources and a designer; design_review, which needs an uploaded banner, with a dashed arrow labelled revise leading back to design_in_progress; approved, automatically when the design is fixed. Row three: broadcast_scheduled, which needs a PD and a camera operator; broadcast_completed, after the broadcast; reporting, which needs report content; closed, which needs the client's acknowledgement. A note: every move is checked twice, the transition has to be in the table and the person's role has to be allowed for it; a client can confirm a host, complete the checklist, approve or send back a design, and acknowledge the report.
Figure 1. The fourteen stages. Orange stages are entered automatically when the underlying data changes. Green stages are entered by a person and need a precondition. A design in review can be sent back once or many times.
StageWhat must be true to enter itClients may trigger it
draftThe project exists 
scheduling  
date_confirmedA proposed date has been accepted 
host_curationA date is confirmed 
host_confirmedA host is selectedYes
checklist_input  
design_sourceThe checklist has a platform or selling pointsYes
design_in_progressDesign sources are uploaded and a designer is assignedYes, when sending a design back
design_reviewA banner has been uploaded 
approved Yes
broadcast_scheduledA producer and a camera operator are assigned 
broadcast_completed  
reportingThe report has content: a shareable summary, financial data or a file 
closedThe client has acknowledged the reportYes

The path is a line with one loop. From design_review a design can go forward to approved or back to design_in_progress, as many times as the client asks.

Two checks on every move

A stage change goes through one route, and that route asks two questions in order. The pseudo-code below was written for this page.

transitions = a table:  stage  ->  the stages it may move to
roles       = a table:  "from -> to"  ->  the roles that may make that move

moveStage(project, target, user):
    allowed = target in transitions[project.currentStage]
              and user.role in roles[project.currentStage + " -> " + target]
    if not allowed:
        refuse with 403: "no permission to move to this stage"
    problem = precondition(project, target)
    if problem:
        refuse with 400 and the reason, for example "no designer is assigned"
    append { from, to, changedBy, note, timestamp } to project.stageHistory
    set project.currentStage = target

The first question reads two tables, and the second reads the project’s data. A move outside the transition table and a move the role may not make receive the same 403.

  • The transition table describes the process. It knows nothing about people.
  • The role table describes who may make each step. Designers and writers appear only around the design stages. The client role appears on exactly the moves that are the client’s to make.
  • The precondition looks at the project’s data. Its messages name the missing thing, so the person sees what to do next instead of a generic refusal.

Every accepted move appends a row to the project’s stage history with who made it, when, and an optional note. The history is the answer to “when did the client approve this” months later.

Stages that move themselves

Five of the fourteen stages are never chosen from a menu. They follow from an action that already says everything needed.

ActionStage change
The first date is proposeddraft to scheduling
A proposed date is acceptedscheduling to date_confirmed
The first host is added to the shortlistdate_confirmed to host_curation
A host is selectedhost_curation to host_confirmed
The design is marked as finaldesign_review to approved

Asking someone to accept a date and then separately move the project to “date confirmed” would be asking for the same decision twice. The stage follows the data.

Dates

A date is negotiated inside the project. One or more dates are proposed with times. Each proposal has a status: proposed, accepted, or rejected with a note. Accepting one copies it into the project’s confirmed date and time and advances the stage.

Choosing a host

Host selection has more steps than any other part, because three parties are involved and one of them, the host, does not use the tool.

  1. Shortlist. Staff, or the client on its own project, add hosts from the roster. Each host’s details are copied into the project as a snapshot, so a later change to the roster does not rewrite what the client was shown.
  2. The host’s answer. Staff contact each host and record the answer on the host’s behalf: pending, accepted, or rejected with a note.
  3. Selection. A host can be selected only if they are on the shortlist and have accepted. Selecting one advances the stage, posts a notice to the team channel and sends the host an SMS.
  4. More options. A client who likes none of the shortlist can ask for more hosts with a note, which goes back to staff.

The rule in step 3 is the important one. It makes it impossible to promise a client a host who has not agreed.

Design, samples and the report

Design. The client supplies sources: logo, product shots, video. A designer uploads assets, and each upload is a new version. The client approves or returns the work with a revision note, which is the loop in the figure.

Samples. Products for the broadcast are listed with their check status, and shipments in and out are tracked through a parcel-tracking service, with the last result cached on the project.

The report. After the broadcast, staff fill in a report with two parts: a shareable part with figures recorded at intervals during the broadcast and a revenue summary, and an internal financial part. Sharing posts the shareable part to the team channel and records who shared it and when. The project cannot be closed until the client has acknowledged the report.

Tests

The workflow is the best-tested part of the tool, and the tests are tables like the code.

Test fileWhat it asserts
Workflow transitionsFor pairs of stages and roles, that the move is allowed or refused
Permission matrix, projectsFor each project endpoint and each role, the expected allow or deny
Permission matrix, hostsThe same for the host roster
Field rulesWhich party may edit which part of the host’s costume plan
OwnershipThat a client can select a host only on its own project

Failure modes

What happensWhat the system does
A stage is skippedRefused: the target is not in the transition table for the current stage
A designer tries to confirm a hostRefused by the role table
A design is sent to review with nothing uploadedRefused with a message naming the missing banner
A host who has not accepted is selectedRefused
A client tries to select a host on another client’s projectRefused by the ownership check on host selection
A project is closed before the client has seen the reportRefused: the acknowledgement is a precondition

Limits

  • One line, one loop. The process is linear apart from design revision. A broadcast that is postponed after a host is confirmed has no path back to scheduling in the table.
  • The workflow runs on the older role model. Ranks and departments were added later for other modules, and the transition roles were not migrated.
  • The host is outside the tool. A host’s answer is entered by staff. The tool records it and cannot verify it.
  • Client identity is matched in more than one way. Older projects are tied to a client by user, newer ones by brand or agency. The customer data page describes what that costs.