To turn a spreadsheet into an internal tool with AI, first define the workflow and clean a copy of the data. Then connect the sheet or import its records into a database, generate the app, check its calculations and permissions, and pilot it with your team. AI can help build the interface and queries; it does not automatically validate your data or make the application safe to release.
This guide uses an illustrative inventory-request workflow. It is a migration plan and example prompt, not a benchmark or a claim that the example has been deployed. You can follow the same approach for purchase approvals, customer operations or an employee request tracker.
Key takeaways
- Keep a spreadsheet when it is still the simplest way to analyze or model data. Replace the workflow around it when ownership, approvals or access become difficult to manage.
- Choose explicitly between keeping Google Sheets as the source and migrating records to a database. These are different projects.
- Use ToolJet AI or a connected coding agent to generate a starting app, then review the result in the visual builder.
- Test formulas, rejected actions, concurrent edits and rollback before moving the team. A polished interface is not proof of correct behavior.
When should a spreadsheet become an internal app?
A useful trigger is a recurring operational problem: several people update the same records, approvals happen in email, or users need different access to the information. The app should make those responsibilities explicit. Moving a workbook only because it is large or old can add unnecessary maintenance.
When to keep Excel or Google Sheets
Spreadsheets remain useful for exploratory analysis, scenario modeling and small trackers with a clear owner. Their sharing and collaboration features may already be sufficient. An app is more compelling when people need controlled actions, integrations and a repeatable process rather than unrestricted editing. If you mainly need a different spreadsheet or shared tracker, compare the categories in our Excel alternatives guide before committing to an app migration.
- Keep the sheet: a finance analyst adjusts assumptions for a monthly forecast.
- Add an app over the sheet: an operations team needs a consistent request form while retaining its existing Google Sheets reporting.
- Migrate to a database: requests, items, users and approvals need stable relationships, controlled writes and a tested backup process.
Connect the spreadsheet or migrate its data?
| Approach | Good fit | What to check |
|---|---|---|
| Google Sheets connected to an app | A gradual transition with the sheet remaining the source of truth | Connector permissions, API quotas, editing outside the app and stable record identifiers |
| CSV imported into ToolJet Database | A new operational workflow without a separately managed database | Column types, duplicate records, relationships, import behavior and backups |
| An existing database behind the app | An organization already has governed operational data | Approved credentials, query access, server-enforced authorization and environment separation |
ToolJet supports reading and writing Google Sheets through its Google Sheets connector. Its built-in database is another starting point. Do not maintain two writable copies without a defined synchronization and conflict-resolution process.
What AI changes—and what it does not
With ToolJet AI, describe the interface and workflow to generate an app that you can refine in the visual builder. With ToolJet MCP, a connected coding agent can build and modify apps in your ToolJet workspace. The choice changes how you work with the builder; it does not remove the need to review data access or business logic.
Do not treat a CSV export as a complete workbook migration. Formulas, VBA macros, named ranges, validation rules, formatting and external workbook links need a separate inventory. Exported values can lose the logic that produced them.
Define the migration before generating the app
- Name a workflow owner and the people who can approve changes.
- Choose a small first process and define its successful outcome.
- List formulas, macros, hidden tabs, external dependencies and downstream reports.
- Record which system owns each field and how users may change it.
- Agree on a rollback plan and the conditions for using it.
Example: an inventory request app
Suppose a team uses a workbook to track stock and requests. Start with synthetic records so you can test without exposing employee or customer information. Separate the item catalog from individual requests instead of copying item names and stock totals into every row.
| Entity | Example fields | Rule to validate |
|---|---|---|
| Items | item_id, sku, name, stock_quantity | SKU is unique; quantities follow the agreed stock policy |
| Requests | request_id, item_id, requester_id, quantity, status | Quantity is positive and item_id refers to a real item |
| Approval events | event_id, request_id, actor_id, decision, timestamp | Record who approved or rejected a request and when |
These are proposed fields, not an automatically enforced schema. Decide whether stock changes at approval, reservation or fulfillment. That decision affects the queries, rollback behavior and tests.
Choose the screens and actions
Give the team a request form, a searchable item list, a manager approval queue and an operations summary. For each screen, specify the action that changes data and what users should see when it fails. A dashboard can start read-only; add write operations only after their behavior is tested.
Design permissions before inviting the team
Define who can build the app separately from who can use it. Review the controls available in your ToolJet plan and the requirements for your security configuration. Application access is not automatically row-level authorization for an external database.
Hiding a button or filtering a table in the browser is not an authorization boundary. Enforce allowed reads and writes on the server or data-service layer using trusted identity. Test a requester attempting to retrieve another person’s request or submit an approval directly, not just through the visible page.
Choose one source of truth
Once the app becomes the operational system, make the old workbook read-only or explicitly restrict it to reporting. Document any imports, exports and integrations. A database does not by itself prevent two people overwriting each other’s work: critical updates still need an appropriate transaction or conflict check.
Build the first version step by step
1. Prepare and validate a copy of the data
Remove merged cells from the data area, use one header row and assign a stable identifier to each entity. Standardize dates and units, preserve leading zeros in identifiers, and resolve duplicates with the workflow owner. Keep the untouched original and a record of each cleanup decision.
Create a reconciliation sheet with record counts, stock totals and representative formula outputs. Include blank values, invalid dates and duplicate IDs. Importing data into a database does not clean it automatically.
2. Connect the sheet or create the database tables
For a database migration, define column types and relationships first. The ToolJet Database editor supports CSV bulk upload. Follow the template for the target table, test with a small file and check whether supplied IDs will update existing rows. A CSV upload imports records; it does not convert Excel formulas or macros.
For Google Sheets, authorize the intended sheet and configure the required operations. Confirm how records are located when rows are inserted, sorted or deleted. A row’s current position is a fragile business identifier.
3. Generate the app and review the result
Use this example brief with sanitized data and adjust the names to match your actual development data source:
Build an inventory request app using the development data source I specify. Pages: item catalog, my requests, manager approval queue, operations summary. Use items, requests and approval_events tables. Inspect the available schema first and report any missing fields. Requesters submit positive quantities. Managers review pending requests. Show clear loading, empty, success and error states. Do not silently change the stock policy, connect production data or publish the app. Flag the server-side authorization and transaction requirements for review. Return the app link and a checklist of queries, calculations and permissions that still need testing.
Review the generated queries and event handlers alongside the interface. Confirm that the summary uses the right records and that an approval cannot be repeated accidentally. If a formula is rewritten in SQL or code, compare its output with the approved workbook examples. Non-technical owners can assess the workflow, while a technical reviewer checks queries, credentials and access enforcement.
4. Test access, failures and deployment
| Test | Expected result |
|---|---|
| Requester attempts another user’s record | Access denied by the trusted data layer |
| Approval is clicked twice | No duplicate approval or stock deduction |
| Two managers approve against limited stock | The agreed stock policy holds under concurrent requests |
| Connector or network fails | No false success message; a retry does not duplicate the write |
| Imported totals differ from the workbook | Rollout stops until the difference is explained |
| App opened on the team’s mobile browser | Forms, errors and actions remain usable |
Also test representative data volume and the expected number of simultaneous users. Neither a database nor an AI-generated app guarantees unlimited scale, sub-second responses or offline operation.
Pilot the app before replacing the spreadsheet
- Reconcile a small import against the source and confirm which records were inserted or updated.
- Run the app with a small group and nominate an owner for issues.
- During the pilot, define one writable source and a controlled reconciliation process.
- Train users on the actual workflow and common failure states.
- At cutover, record the final import, lock the retired editing path and verify backups.
- Keep a tested rollback route; do not delete the source workbook immediately.
Measure whether the migration helped
Set a baseline before the pilot. Track completion time for a request, manual corrections, approval turnaround and support requests. Compare the same workflow after rollout rather than promising a fixed percentage of savings.
Data consistency
Measure duplicate records and unexplained reconciliation differences. Assign responsibility for resolving them. A shared source is useful only when its write rules and ownership are clear.
Integrations and auditability
Check each integration’s authentication, retry behavior and rate limits. Decide which business events need an audit record and verify that the available logging captures them. Platform audit logs should not be assumed to record every external database change.
Usability on desktop and mobile
Ask actual users to submit a request and recover from an error. Test keyboard navigation and the Android or iOS browsers they use. Responsive web design is distinct from native apps, PWA installation and offline synchronization; assess those requirements separately.
Capacity and operating cost
Budget for builder licenses, applicable end-user limits, database and hosting costs, maintenance and support. AI used to generate the app is separate from AI called by a production feature. If the workflow does not need runtime AI, generating it with AI does not mean every user action needs a model call.
Start with one workflow, then expand
A successful spreadsheet migration preserves the business rules people rely on while making updates and access easier to control. Start with one approval queue or operations tracker, prove the data and permissions, and expand after the pilot. Keep spreadsheets where they remain useful for analysis.
Build your first internal app
Describe your workflow, connect your data and review the result in ToolJet’s visual builder.
- Build an inventory app with Google Sheets and ToolJet
- ToolJet Database and CSV upload
- Generate apps with ToolJet AI
- Generate apps with a connected coding agent
Frequently asked questions
AI can help generate the interface and queries once you define the workflow and prepare the data. Exporting a sheet to CSV transfers records, not all workbook logic. Review formulas, macros, permissions and write operations before release.
No. You can connect an app to Google Sheets and keep it as the source of truth. A database migration is a separate choice, useful when the workflow needs relationships or more controlled operational writes. Check connector limits and editing outside the app.
ToolJet MCP lets a connected coding agent build and modify apps in a ToolJet workspace. Configure the supported client and authorized connection first, then review the generated app in the visual builder. A chat answer alone does not deploy a governed application.
Inventory and test them separately. A CSV export does not migrate VBA macros or formula logic. Reimplement necessary calculations and automation in the appropriate query, application or service layer, then compare outputs with approved examples.
Authorized builders can make visual changes, and business owners can review forms and workflow behavior. SQL, custom code, authentication and authorization changes still need appropriate technical review. End users may need workflow training even when they do not write code.
No. Configure access, protect credentials and enforce permitted reads and writes at the trusted data layer. Test restricted actions using each role. Hiding a field in the interface does not secure the underlying data.
It depends on workbook logic, data quality, integrations and security requirements. Estimate after a small pilot and include reconciliation, testing, training and rollback. Time to generate a prototype is not the same as time to deploy a reliable application.









