Paste from ChatGPT or Claude
Turn a ChatGPT or Claude system design into a narrated diagram
You already ask an AI to sketch your architecture. The answer comes back as prose and an ASCII drawing. This prompt makes ChatGPT or Claude answer in a format Tierslate reads, so the design pastes onto a board as real boxes, arrows and regions you can move, restyle and play back as a walkthrough.
How it works
Copy the prompt
Copy the prompt below and send it to ChatGPT or Claude at the end of a conversation about your design (or with a one-line brief: "a URL shortener for 100M links a day").
Paste the answer onto a board
Copy the whole answer, open a board in Tierslate and press Ctrl+V (Cmd+V on a Mac) on the canvas. The boxes, arrows and regions land as editable shapes, centred where your pointer is.
Record the flow and press play
Open System Flow Recording, press Record a flow and click the shapes in the order of the AI's numbered walkthrough. Press Play and the request travels the wires, step by step.
The prompt
It asks for one JSON block in Tierslate's diagram format (graph/1: a title, nodes with a shape, colour and rough position, labelled edges and grouping zones) followed by a numbered walkthrough. The example inside it is checked by our test suite against the same code the paste runs, so it is a format the app accepts.
Draw the system design we discussed as a diagram I can paste into Tierslate.
Answer with ONE ```json code block holding a single object in this exact format, then a short numbered walkthrough. Nothing else.
Format ("graph/1"):
- "tierslate": always the string "graph/1"
- "title": a short name for the diagram
- "nodes": up to 150 boxes, each { "id", "label", "sublabel" (optional), "shape", "color" (optional), "box": { "x", "y", "w", "h" } }
shape is one of: rect, rounded, circle, diamond, cylinder, cloud, person, text (cylinder for databases and queues, person for users)
color is one of: gray, blue, green, orange, red, purple, yellow, teal, pink
box is the position on a 1000 x 1000 canvas, left to right in the direction requests flow
- "edges": up to 300 arrows, each { "from", "to", "label" (optional), "dashed" (optional, true for async or fallback paths), "arrowStart" (optional), "arrowEnd" (optional, default true) } - from and to are node ids
- "zones": up to 30 labelled regions grouping nodes, each { "label", "box", "contains": [node ids] } - use them for tiers, services or trust boundaries
Keep labels under 120 characters. Use only these fields.
After the code block, write "Walkthrough:" and a numbered list with one line per step of the main request path, in order, as "From -> To: what happens and why".
Example answer:
```json
{
"tierslate": "graph/1",
"title": "URL shortener",
"nodes": [
{
"id": "client",
"label": "Client",
"shape": "person",
"box": {
"x": 30,
"y": 420,
"w": 70,
"h": 120
}
},
{
"id": "lb",
"label": "Load balancer",
"shape": "rounded",
"color": "gray",
"box": {
"x": 180,
"y": 430,
"w": 150,
"h": 90
}
},
{
"id": "api",
"label": "Shortener API",
"sublabel": "stateless",
"shape": "rounded",
"color": "blue",
"box": {
"x": 400,
"y": 430,
"w": 150,
"h": 90
}
},
{
"id": "cache",
"label": "Redis cache",
"shape": "cylinder",
"color": "red",
"box": {
"x": 640,
"y": 250,
"w": 130,
"h": 110
}
},
{
"id": "db",
"label": "URL store",
"sublabel": "key -> long URL",
"shape": "cylinder",
"color": "green",
"box": {
"x": 640,
"y": 600,
"w": 130,
"h": 110
}
}
],
"edges": [
{
"from": "client",
"to": "lb",
"label": "GET /abc123"
},
{
"from": "lb",
"to": "api"
},
{
"from": "api",
"to": "cache",
"label": "lookup"
},
{
"from": "api",
"to": "db",
"label": "on miss",
"dashed": true
}
],
"zones": [
{
"label": "Data tier",
"box": {
"x": 610,
"y": 220,
"w": 200,
"h": 520
},
"contains": [
"cache",
"db"
]
}
]
}
```
Walkthrough:
1. Client -> Load balancer: the browser asks for the short link.
2. Load balancer -> Shortener API: any API instance can answer; none holds state.
3. Shortener API -> Redis cache: most lookups end here.
4. Shortener API -> URL store: a cache miss reads the durable mapping.What to know
- Pasting a graph/1 answer onto a board is a Pro feature. Every plan can try the rest: the board, the walkthrough recorder and playback are free.
- Have a picture of a diagram instead? The in-app AI turns a screenshot or a photo into a board: 5 AI diagrams a month are free on the Free plan and 200 on Pro, then AI credits.
- Prefer Mermaid? Ask the AI for a Mermaid flowchart or sequence diagram instead and paste that: Mermaid and draw.io import is free on every plan. See importing Mermaid and importing draw.io.
- The narration does not paste by itself. The format carries the diagram, not the order of steps, so the AI writes the walkthrough as a list and you record it with a few clicks.
- The AI chooses rough positions; Tierslate sizes the shapes, keeps them from overlapping and fits regions around their members. Anything malformed is repaired or dropped, never pasted half-broken.