Download the exact captured file
---
name: add-smart-board
description: Add a smart board, such as a retro, team board, sales pipeline, hiring plan, launch plan or budget, to a new or existing Slatebox slate, fill it with cards, and return the slate link. Use when someone wants a board with lanes and cards that follows rules, not a static diagram.
---
# Add a smart board
A smart board is a board on a slate with lanes, cards and rules (for example "a candidate cannot skip the interview lane"). Slatebox keeps the rules when people drag cards. A slate holds up to 8 boards side by side.
## Steps
1. Find the slate.
- If the person gave a slate link, its `shareId` is the part after `/canvas/`.
- If not, make a slate first: call `create_slate` with `kind: "diagram"` and a one-line `brief` naming the board, for example `Hiring plan`. Use the `shareId` it returns.
2. Pick the board. Call `list_components` with the `shareId`. It lists every board, what each is for, and whether it fits the slate. Choose the entry that matches the request (retro, team board, pros and cons, impact and effort, launch plan, hiring plan, sales pipeline, budget and others). If two fit, ask the person which one.
- To see a board's lanes and rules before adding it, call `get_component` with its `id`.
3. Read the slate. Call `get_slate` with the `shareId` and keep its `revision`.
4. Add the board. Call `edit_slate` with:
- `shareId`;
- `plan`: `{"message": "Add a hiring plan", "operations": [{"kind": "add_component", "component": "<id from list_components>", "topic": "<what it is about>", "expectedRevision": <the slate revision>}]}`. The plan holds this one operation;
- `userMessage`: what the person asked for, in their words.
The answer names the new board's `boardId` and its `workshop` (title, lanes and `revision`).
5. Fill the board if the person gave items (deals, candidates, tasks). Call `edit_slate` again with one `workshop_edits` operation: `{"message": "...", "operations": [{"kind": "workshop_edits", "boardId": "<boardId>", "expectedRevision": <the board's revision>, "edits": [{"kind": "add_card", "lane": "<lane name>", "label": "<card>"}]}]}`. Send 1 to 50 edits (add cards, rename lanes). Use the board revision from the add answer, or read it again with `get_slate`. Send `mode: "preview"` first when you add more than 10 cards, and show the person what will change.
6. If a call answers `409 edit_refused` or `409 move_refused`, tell the person the sentence it returns; that is the board's rule speaking. On `slate_changed`, read the slate again and retry once. On `confirmation_required`, show the reasons and repeat with `confirm` and the same `idempotencyKey` only if they agree.
## Finish
Say which board you added, its lanes, and how many cards you put on it. In hosts that show apps, call `show_slate` with the `shareId` to show it in the conversation. End with the slate link, for example `https://app.slatebox.com/canvas/<shareId>`.