Turn a spreadsheet into an app data model with Gemini
The struggle: Your business runs on one messy sheet, and you cannot tell how its columns should become tables in a new app.
What you end up with: A plain-language data model: tables, fields and how they connect, ready to describe to an app builder.
Gemini reads your sheet's columns and sample rows and proposes how to split them into tables an app can use. You check it against how the business really works and have an expert review it before real data moves.
Tools: Gemini. Level: Free to start. Time: 45 min.
Use it if
- One sheet holds customers, orders and notes together
- You are moving a process into a no-code or AI-built app
- You need to brief a builder or developer
Skip it if
- The sheet holds sensitive personal data you cannot upload
- You need a production database design without expert review
What you need first
- Any Gemini plan
- Your sheet downloaded as CSV or Excel, with a few dummy or anonymised rows
The method
Prepares a safe sample (Gemini: Chat)
Copy the sheet and delete real names, emails and phone numbers, replacing them with dummy values. Keep the column headings and 15 to 30 rows that show the odd cases.
You get: A safe sample that keeps the shape of the data.
Tip: Keep rows where something is blank or repeated; those show what the model must handle.
Reads the sheet (Gemini: Add Files)
Start a new Gemini chat, click Add Files, upload the sample and send the prompt. Read the answer and correct anything that does not match how the business works.
Prompt to copy:
You are a data modeller helping a non-developer. Attached is a spreadsheet sample of my business: [one line on what the business does]. First tell me in plain words what one row represents and which real-world things are mixed together in it (for example customer, order, product). List columns that repeat the same information. If unclear, ask me up to 5 questions before proposing anything.
You get: A list of the real-world things in your sheet.
Tip: Tell it what one row means; it often guesses wrong.
Proposes the tables (Gemini: Chat)
After you answer, ask for the table design. Check each table with a real example, such as one customer with two orders.
Prompt to copy:
Based on my answers, propose a simple data model for an app: tables, the fields in each (with a plain type such as text, number, date or yes/no), and how the tables link to each other. Show it as a list and as a simple text diagram. Give an example using one real row from my sample. Mark every guess as [ASSUMPTION], and add a list of questions for a developer.
You get: A draft model of tables, fields and links.
Tip: Walk one real customer through the tables to see if anything is missing.
Writes the builder brief and import plan (Gemini: Chat)
Ask for the model written as a brief to paste into an app builder, and for a plan to move the old data in. Keep your sheet as a backup and import a small batch first.
Prompt to copy:
Rewrite this data model as a plain-language brief I can paste into an AI app builder. Then write a step by step plan to move my sheet into it: which columns go to which table, what needs cleaning first, and how I check the result by comparing counts and a sample of rows. Include a backup step at the start.
You get: A brief for your builder and a safe import plan.
Tip: Move five records first and compare them with the sheet.
Where this goes wrong
- Have an expert review the model before real customer data moves; a design that looks fine can still make reports or privacy hard later.
- Upload dummy or anonymised data only unless your data rules allow otherwise.
- Keep the original sheet untouched as your backup until you have compared the old and new data.
Sources
More like this
- Debug an error message from your AI-built app
- Write a build prompt that works first time
- Fix a broken app without breaking more
Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.