Data Sheets
The Data Sheets page is a built-in spreadsheet viewer for the data your automation scripts read from and write to. You can upload workbooks (CSV / XLSX / XLS), browse rows in a virtual-scrolling grid, track row statuses in real-time via SSE, and export results as CSV or colored Excel files.
Desktop Mode
In desktop mode, the page shows a full spreadsheet interface with a toolbar at the top and a data grid below.
Workbook & Sheet Selectors
The top-left of the toolbar has two dropdown selectors:
- Workbook selector — choose which uploaded workbook to view. Each workbook can contain multiple sheets. The last selected workbook is remembered across sessions (stored in your browser). A chip next to the selector shows the total number of workbooks.
- Sheet selector — choose which sheet within the selected workbook to display. Sheets are listed by their tab names (e.g. Sheet1, Sheet2). The page loads data in pages of 1000 rows.
The workbook name in the selector is a cleaned-up display name — it strips internal identifiers like -wb-<uuid>-sheet-N tails for readability.
Upload Workbook
Click Upload Workbook (upload icon) to open the upload dialog. The dialog has:
- File picker — select a CSV, XLSX, or XLS file from your machine.
- Workbook name — a text field where you name this workbook. Defaults to the filename.
- Sheet names list — after selecting a file, the dialog auto-parses it and lists all sheet tabs found inside.
- Click Upload to send the file to the local manager. A progress bar shows upload status.
Workbook Management
Once a workbook is selected, the toolbar shows management actions:
- Rename (pencil icon) — click to edit the workbook name inline. Type the new name and click the save icon to confirm, or the close icon to cancel.
- Delete Workbook (red button) — permanently deletes the selected workbook and all its sheets. A confirmation dialog appears before deletion.
- Copy Sheet ID (copy icon) — copies the internal sheet ID to your clipboard. This is the ID you paste into the script sheet binding when using Ghost Sheet type.
Toolbar Controls
The toolbar above the grid provides these controls:
| Control | What it Does |
|---|---|
| Auto-Sort | Toggle button (ON / OFF). When ON, rows are automatically sorted by processing status: processed rows (green success / red failure) float to the top, currently processing rows (yellow) sit in the middle, and unprocessed rows (no status) stay at the bottom. This gives you a live view of progress. |
| Auto-Scroll | Toggle button (ON / OFF). When ON, the grid automatically scrolls to follow the row currently being processed via SSE. Useful for watching the engine work through data in real-time. |
| Delete Selected | Appears when rows are selected via checkboxes. Shows the count (e.g. "Delete Selected (5)"). Opens a confirmation dialog before deleting the selected rows from the sheet. |
| Zoom | Zoom out / zoom in icons with a slider (50%–200%). Controls the visual scale of the grid. Default is 100%. |
| Export CSV | Downloads the current sheet as a plain CSV file (no colors or formatting). |
| Export Excel | Downloads the current sheet as an XLSX file with status colors preserved. The backend generates the colored file via exceljs; if unavailable, falls back to a client-side SheetJS export. |
Status Color Legend
An inline legend appears in the toolbar showing what each row color means:
| Color | STATUS Values | Meaning |
|---|---|---|
| Green | success, ok, done, completed | Row processed successfully — lead captured |
| Yellow | processing, pending, in progress | Row is currently being processed by an active profile |
| Red | failure, failed, declined, error, fail | Row processing failed — script error or declined |
| No color | (empty) | Unprocessed — waiting to be picked up by the engine |
Data Grid
The main area is a full spreadsheet-style grid powered by virtual scrolling (only visible rows are rendered, so even large datasets with thousands of rows scroll smoothly). The grid shows:
- Row checkboxes — a checkbox column on the left for selecting rows. The header checkbox selects or deselects all rows.
- Row numbers — numbered starting from 1
- Column headers — labeled with your sheet's column names. If a column has no header, it displays as "Column A", "Column B", etc.
- STATUS column — if present, the entire row is highlighted with the status color from the legend above.
Grid Interactions
| Action | What Happens |
|---|---|
| Click a cell | Selects that cell. The cell is highlighted with a blue border. |
| Shift + Click | Selects a range of cells from the last selected cell to the clicked cell. |
| Ctrl + A | Selects all cells in the grid. |
| Arrow keys | Navigate between cells using keyboard arrows. |
| Ctrl + C | Copies the selected cells to your clipboard as tab-separated text. |
| Click column header | Selects the entire column. |
| Drag column border | Resizes the column width. Columns have a minimum width and auto-size based on content. |
| Right-click | Opens a context menu with options to copy the selected row or copy an entire column's values. |
Real-Time Updates (SSE)
While a run is active, the Data Sheets page receives Server-Sent Events (SSE) from the engine. When the engine writes a STATUS value to a row, the grid updates that row's color instantly — you can watch rows turn green (success) or red (failed) in real-time without refreshing.
In addition, the page performs a periodic full data refresh (debounced) to catch any changes that might have been missed. This keeps the grid in sync even if the SSE connection hiccups.
Data Columns
Your sheet columns appear exactly as they are in the source file. The engine uses data tokens in scripts to reference column values. For example, if your sheet has columns named FirstName, LastName, Email, the script uses tokens like {{FirstName}}, {{LastName}}, etc. to fill form fields with values from each row.
The STATUS column is special — the engine writes to it after processing each row, and the grid uses its value for color coding and sorting.
Web Mode (Remote Access)
When accessing Ghost RPA via the web interface (app.ghostrpa.cloud), the Data Sheets page shows a different, simplified interface designed for remote data management.
Upload Sheet to EXE
The top section lets you upload a workbook to a remote device:
- Select Device — choose which registered desktop machine to send the data to (dropdown showing device hostname and online/offline status).
- Select Workspace — choose which workspace (1–5) on the target device.
- Select File — pick a CSV, XLSX, or XLS file.
- Name the Workbook — give it a name for reference.
- Click Upload. The file is sent through the cloud to the target device, which processes and stores it locally.
Sheets on EXE
Below the upload section, an expandable list shows the workbooks and sheets that already exist on the target device:
- Workbook rows — click to expand and see the individual sheets inside
- Copy ID — copies the sheet's internal ID so you can paste it into a script's sheet binding
- Download XLSX — downloads the sheet data as an Excel file from the remote device to your browser
Tips
- Keep Data Sheets open during runs. With Auto-Sort and Auto-Scroll enabled, it acts as a real-time progress dashboard alongside the Terminal.
- Use Copy Sheet ID when setting up Ghost Sheet bindings on the Uploads page. Click the copy icon next to the sheet selector to get the ID.
- Export Excel preserves colors. The Excel export includes row colors matching the status legend, so your exported file looks like the grid. CSV export is plain text only.
- Zoom for large datasets. If columns are too cramped, zoom in to 150% for readability. If you need to see more columns at once, zoom out to 75%.
- Delete rows you don't need. Use the row checkboxes and Delete Selected to clean up test data or failed rows before re-running.
- Data loads in pages of 1000 rows. For very large sheets, the grid uses virtual scrolling so performance stays smooth even with tens of thousands of rows.
- Web mode is for remote management only. The full spreadsheet viewer with real-time SSE, Auto-Sort, and grid interactions is only available in the desktop app. Web mode provides upload and download capabilities.