Turn a whiteboard photo into a clean flowchart
4 steps · 15 min
A meeting's plan often ends up on a whiteboard, where it's hard to share. In this guide, AI reads a photo of the board and writes it as Mermaid code, a free site called Mermaid Live draws it as a clean flowchart, and you change it later by asking. Notes on paper and notebook sketches work too.
Steps
You’ll need
- Any AI chat that takes photos, such as ChatGPT, Claude, or Gemini
- A photo of your whiteboard, paper notes, or notebook sketch
- mermaid.live open in your browser (free, no account)
Step 1 of 4:Have AI write out what's on the board
Do this
This is a photo of our [whiteboard, or paper notes] from a meeting about [the process]. Before you draw anything, write out what's on it: every box, every arrow with its label and where it goes, and anything that isn't part of the flow, like notes. Mark any word you can't read with [?]. A list is easier to check than a drawing. A misread word stands out in a list, and it's easy to miss once it's in a finished flowchart. Our example is a made-up whiteboard about approving expense claims. Claude Fable 5.2 listed all nine boxes and ten arrows, saw that Team lead was crossed out, and said the sticky note wasn't connected to anything.
It also pointed out a gap: there's no path for a manager to reject a claim. A point like that is worth a minute with your team before you share the flowchart.
- Some words come back as [?]
- Type the right words in your reply, or send a closer photo of that part of the board.
- It missed part of the board
- Take the photo again with the whole board in the frame, or send one photo for each half.
- It drew the diagram straight away
- Ask it to write out what's on the board first, and check that list before you go on.
Step 2 of 4:Ask for Mermaid flowchart code
Do this
[Any corrections to your list.] Turn it into Mermaid flowchart code, top to bottom. Use diamonds for the yes or no questions, and keep our wording. Leave out [the crossed-out words and the sticky notes]. Reply with only the code. After the first line, each line of the code is one arrow. Square brackets make a box, curly braces make a diamond, and the word between the dashes is the arrow's label. You don't have to write any of it, but knowing this makes the code easy to check, and easy to fix by hand.
Top to bottom suits a process with steps. For something that reads left to right, like a timeline, ask for left to right instead.
- The reply has text around the code
- Copy only the code block, or ask again for only the code.
- A label is reworded
- Ask it to use the exact words from the board.
- It added boxes that aren't on the board
- Ask it to remove them by name, and to give you the full code again.
Step 3 of 4:Draw it in Mermaid Live
Do this
Mermaid Live lays out the flowchart from the code, so the boxes always line up. Renaming a box or moving an arrow means changing one line of code, not redrawing anything.
Keep a copy of the code with the image you share. It's what you'll change next time, in step 4.
- The flowchart doesn't draw
- Copy the code again with the copy button, so no text from the reply comes with it. If it still doesn't draw, paste the error into the chat and ask it to fix the code.
- A label breaks the drawing
- Ask it to put every label in double quotes.
- The flowchart is too tall to read
- Ask for the same code, left to right.
Step 4 of 4:Change it by asking
Do this
- The change message
We agreed on [the change]. Add that [check or step] and give me the full updated code.
With the full code, you replace everything at once, so there are no lines to fit in by hand. In our example, the team agreed that receipts over 60 days old always go to finance review. Claude Fable 5.2 added one diamond after Receipt attached? and said where it put it.
We sent the same three messages to GPT-6.2 Astra and Gemini 4 Carbon. Both read the same nine boxes and ten arrows, and both put the new check in the same place. Check every arrow anyway, because people will follow the flowchart as if it's what your team agreed.
- It sent only the changed lines
- Ask for the full updated code, from the first line to the last.
- The new step is in the wrong place
- Say which box it should come after, and ask again.
- You've lost the chat
- Start a new chat, paste your current code, and say what to change.
4 steps left
Finish these steps to complete the guide.
Questions
Does it have to be a whiteboard?
No. Notes on paper, a notebook sketch, or sticky notes on a wall all work. Write clearly, draw arrows between the boxes, and take the photo straight on.
Which AI chat should I use?
Any chat that takes photos. The video shows Claude Fable 5.2. GPT-6.2 Astra and Gemini 4 Carbon got the same photo and messages, read the same nine boxes and ten arrows, and wrote code with the same boxes and arrows. For work photos, use the AI your company approves.
Can I move the shapes by hand?
Yes, in draw.io. Choose Arrange, then Insert, then Mermaid, paste the code, and click Insert. draw.io turns it into shapes you can move and restyle. You lose the quick updates by asking, so do this last.
Is it safe to send a photo of a whiteboard to AI?
Follow your company's rules, and use the AI your company approves. Look at the photo before you send it, and crop out anything that isn't part of the flow, like names, numbers, or notes from another meeting.
Where can I learn more?
Want to learn more about how AI reads a photo? Go to the course.