Spreadsheets
Create Spreadsheets from templates, import CSV or Excel files, work with thousands of rows, keep a Spreadsheet on an opportunity or other record, and let clients fill one in through a form.
A Spreadsheet is a blank, editable grid you type into directly in TrustPager, such as Creditors or Assets. It holds its own data, unlike a CRM Table. Think of it as a structured table you design once (as a template) and then fill in many times: often one filled copy per opportunity, or one per client or project.
Spreadsheets differ from CRM Tables in one key way: a CRM Table reads CRM records into a grid (it is a saved view and holds no records of its own), while a Spreadsheet is a grid you write data into, manually, via CSV import, by extracting from a PDF, or by having a client fill it in through a form. Both live on https://app.trustpager.com/work/spreadsheets, which has three tabs in this order: Spreadsheets, CRM Tables and App Tables. See https://trustpager.com/help-center/spreadsheets-crm-tables-and-app-tables for the difference between all three.
What admins can do
- Create and manage Spreadsheet templates (column structure, field types, sort order)
- Create populated spreadsheets from a template
- Import rows via the CSV import wizard
- Import rows from a PDF via a document mapper
- Configure merge rules so imports auto-collapse contiguous-period rows
- Attach spreadsheets to opportunities
- Add a Spreadsheet field to a form so clients can fill in the grid
What any team member can do
- Open a spreadsheet attached to an opportunity and edit cells directly
- Add and delete rows
- View submissions where a client filled in the spreadsheet via a form
Creating a template
Templates define the column structure every new Spreadsheet will inherit. Go to https://app.trustpager.com/work/spreadsheets?tab=standalone and click New Spreadsheet. Give it a name, then add columns.
Column types
Each column has a label and a type. In the Spreadsheet Builder, the type list is grouped under three headings: Basics (plain values such as text, numbers, dates, dropdowns and checkboxes), CRM records (team members, contacts and opportunities) and Links and calculations (columns that link to other things or work a value out). The common types are:
- Text: a single line of free text. Use for names, references, short identifiers.
- Long text: a multi-line text area. Use for notes, descriptions, or anything that needs more than a sentence.
- Number: a numeric value. Supports Sum and Average totals.
- Date: a date picker. Stores a date and renders in the grid as a calendar input. Works as a sort key for default sort.
- Dropdown: a fixed list of options. Each option can have a colour label (slate, amber, blue, green, red, and more) so status values stand out at a glance.
- User: a team member picker. Pulls the list of users in your workspace so you can assign rows to a specific person. Useful for task ownership, accountability, and filtering work by assignee.
- Contact: a CRM contact picker. Each cell links the row to a contact in your workspace. Search by name, email, or phone number; the cell then shows the contact's name as a chip (or their email address if the contact has no name set). Use this type when rows correspond to real clients or leads, for example, linking each line of an imported commission statement to the client it belongs to.
- Opportunity: links the row to a CRM opportunity. Search by opportunity name or reference; the cell shows the opportunity name as a chip.
- Checkbox: a true/false toggle.
Team member, Contact, Opportunity and the other record and link columns are chosen by your team, not by the person filling in a form. See Letting clients fill in a spreadsheet via a form below.
Example: Tasks template
A good worked example is a Tasks template, a task tracker you create once and reuse across every opportunity. Here is how to configure it:
| Column | Type | Notes |
|---|---|---|
| Title | Text | The task name |
| Assignee | User | Picks from your team |
| Due Date | Date | Used as the primary sort key |
| Status | Dropdown | Todo (slate), In Progress (amber), Completed (green), Blocked (red) |
| Priority | Dropdown | Low, Medium, High |
| Notes | Long text | Free-form detail |
Once you have added your columns, click Sort in the template toolbar to set a default sort order, for example, Due Date ascending as the primary key, then Priority descending as a tiebreaker. Any spreadsheet created from this template opens with rows already in that order, so you never have to re-sort by hand after adding data.
Save the template. It now appears as an option whenever you create a new spreadsheet or wire a Spreadsheet field in a form.
Templates are intentionally hard to delete by accident. From the templates list at https://app.trustpager.com/work/spreadsheets?tab=standalone, deleting a template asks you to type its exact name to confirm, the same safeguard you will see when deleting a CRM pipeline or a workspace. From inside a populated spreadsheet, the trash icon on the only remaining spreadsheet under a template clears its rows instead of deleting the template itself. Template deletion is reserved for the list page, where the intent is explicit.
Configuring a column
Every column header in the spreadsheet editor shows a Bolt icon on its right side, next to the type badge. Click it to open the Column settings panel in the sidebar, this replaces the default "Add columns" form for as long as you are in that column's settings.
The Column settings panel lets you:
- Rename the column: edit the column name inline at the top of the panel.
- Change the type: use the type picker to switch between Text, Number, Date, Dropdown, and so on.
- Add a description: an optional note visible to team members filling in the grid.
- Configure options (Dropdown columns only): the Options list shows each dropdown value with a colour swatch next to it. Click a swatch to open the colour palette and assign one of 11 colours: slate, red, orange, amber, yellow, green, teal, blue, indigo, purple, or pink. The chosen colour renders as a chip directly in the grid cell, so status values stand out at a glance.
- Set a totals aggregate: choose Sum, Average, Count, or No total for the column footer row.
- Archive the column: the Archive button sits at the footer of the panel. Archiving removes the column from the active grid without permanently deleting its data.
To return to the main sidebar, click ← Back to columns at the top of the Column settings panel.
The spreadsheet canvas sub-header
When you open a Spreadsheet at https://app.trustpager.com/work/spreadsheets/standalone/<id>, the canvas sub-header (directly above the column headers) contains:
- Left side: the linked-opportunity pill (if the spreadsheet is attached to an opportunity) and the row count (e.g. "Spreadsheet · 12 rows"). On a big sheet the count reads like "500 of 5,000 rows", and while you search it reads like "10 rows found (of 5,000)".
- Right side: the Search rows box (once the sheet has more than 20 rows), the Sort button and the Add row button. Add row uses TrustPager's gradient background to make it easy to spot.
Creating a populated spreadsheet from a template
From https://app.trustpager.com/work/spreadsheets?tab=standalone, click New Spreadsheet, choose a template, and give the spreadsheet a name. The grid opens with 12 visible rows, every cell is a real input you can type into straight away. Rows are not created until you start typing: entering data in row 5, for example, materialises rows 1 through 5 (with rows 1 to 4 left empty). Tabbing out of an empty cell without typing anything does not create a row. Data saves automatically as you go.
Column totals
Every column in the spreadsheet has a Σ TOTAL cell directly under its header. Click any cell to set a total for that column, a small picker offers four options:
- No total: hide the total for this column (default)
- Σ Sum: add all values in the column
- Ø Average: average all values in the column
- # Count: count non-empty rows
Pick one and the result computes live. Sum and Average are available on text and number columns only, they are disabled in the picker for boolean, date, dropdown, and reference column types. Count works on every column type except reference columns. Results are formatted in Australian locale with thousand separators and two decimal places, for example, 479,236.47.
To remove a total, click the cell again and pick No total.
Default sort order
Every template has an optional default sort that is applied whenever a spreadsheet based on that template opens. Set it from the Sort button in the template-edit toolbar at https://app.trustpager.com/work/spreadsheets?tab=standalone, pick up to three sort keys, each with a column and a direction (ascending or descending).
The Tasks template example above uses Due Date ascending as the primary key, then Priority descending as a tiebreaker, upcoming tasks surface at the top, and within the same due date, higher-priority work comes first.
If you are building automations or scripts that create templates programmatically, you can pass default_sort in the API body instead, see the API section below for the JSON shape.
Importing rows from a CSV or Excel file
From any open spreadsheet, click the Import button (to the left of the Columns tab) and choose Spreadsheet (CSV, XLSX, XLS) in the picker. A wizard opens, the same step-by-step flow used for pipeline imports:
- Upload your CSV or Excel file.
- Map your file columns to spreadsheet columns.
- Import after a quick preview of the rows.
A few things worth knowing:
- Excel workbooks with several sheets. The Map step shows a Sheet to import picker. It opens on the sheet whose headings match your spreadsheet best, and you can pick another one.
- Headings are matched loosely. Extra spaces or different capitals do not matter, so "Creditor Name" lines up with a column called "creditor name".
- Dates and amounts come across properly. Excel date cells are read as dates, and currency cells are read as amounts.
- Worth checking. When the import finishes, a Worth checking box lists any cell that was left empty because the column could not hold what the file had (for example, text in a number column). Each entry gives the row number from your file, so you can find it and fix it.
- Limits. One import can be up to 25 MB and 50,000 rows. For a bigger file, split it and import it in parts.
The wizard checks the data before writing rows and handles file encoding automatically.
Working with big spreadsheets
Sheets with thousands of rows stay quick to open. A sheet with more than 500 rows loads 500 at a time, and loads more as you scroll (or when you click Load more rows). The row count shows how far along you are, for example "500 of 5,000 rows".
- Search rows. Once a sheet has more than 20 rows, a Search rows box appears in the toolbar. It searches every row in the sheet, not just the ones loaded so far. The count then reads like "10 rows found (of 5,000)".
- Sorting and totals cover the whole sheet. Sorting a column, and the totals row (count, average and sum), always look at every row, not only the ones on screen.
- Headings stay put. Column headings stay in view while you scroll down.
- Export gives everything. Exporting downloads the whole sheet, not only the loaded rows.
Importing rows from a document (PDF)
If your data lives in a PDF, invoices, payment summaries, tax returns, anything structured, you can extract it directly into a spreadsheet without manual typing. From any open spreadsheet, click the Import button and choose Document in the picker. Pick one of your workspace document mappers, upload the PDF, and the extractor reads the file, shows you a preview of every row it found with a confidence score, and lets you skip individual rows before committing them to the spreadsheet.
Document mappers are template-aware: each mapper is configured to extract specific fields from a specific document type (for example, one mapper for ATO Payment Summaries, another for Centrelink statements). Mappers are currently set up per workspace by the FinalPiece team, reach out if you have a recurring document type you want extracted into a spreadsheet.
Merge contiguous rows automatically
Some workflows produce one row per period that really represents one continuous run: six years of payments from the same employer, twelve months of subscription charges from the same vendor, a year of weekly shift logs from the same site. A spreadsheet template can be configured with merge rules so imports collapse those into a single row, with the per-period values concatenated into a chosen column.
Merge rules need three things:
- Group by: which columns identify the same thing (e.g.
ABN+Payment Type) - Period columns: the start date and end date columns that define each row's range
- Concatenated columns: which column(s) should accumulate values across the merged period, with a separator (e.g. join yearly amounts with a space, prefix the first value with "$ ")
When merge rules are set, importing the same row across multiple documents extends the matched row's period and appends the new value, same employer + same payment type + a new financial year contiguous with the existing range = one row, not two. Non-contiguous gaps stay as separate rows by design, so the extractor never has to guess about when one period ended and another began.
Merge rules are configured via the TrustPager API, see the JSON shape in the API section below.
Keeping a spreadsheet on a record
A spreadsheet can belong to a record, so each record gets its own sheet of rows (for example, one list of assets and liabilities per opportunity).
- Open the spreadsheet template at https://app.trustpager.com/work/spreadsheets?tab=standalone and find Spreadsheet settings.
- Under Can belong to, switch on the kinds of record it can be kept on: Opportunities, Contacts, Companies or Work orders.
- In an open sheet, use Link record to choose the record it belongs to.
Once linked, the sheet shows as a card on that record's page, for example on an opportunity opened from https://app.trustpager.com/opportunities, and any team member can open and edit it from there. Moving or removing the link takes the rows off that record's page, but the rows are kept in the sheet.
Deleting. A spreadsheet that is in use on records, or placed on a record page, cannot be deleted. The message tells you why. Archive it instead.
Printing a spreadsheet in a document
Rows kept on an opportunity can be printed straight into a proposal or agreement. See https://trustpager.com/help-center/print-a-spreadsheet-in-a-document.
Copying a workspace from a template
When you copy a workspace from a template, its spreadsheet templates come with it. The rows do not: the new workspace starts with the same empty spreadsheets.
Letting clients fill in a spreadsheet via a form
This is the killer use case for variable-row client data. Instead of asking a client to fill in a CSV and email it back, you embed a live spreadsheet grid directly inside a TrustPager form.
Here is how to set it up:
- Create a Spreadsheet template with the columns your client needs to fill in.
- Open the Form Builder at https://app.trustpager.com/operations/forms and add a Spreadsheet field to your form.
- In the field settings, choose the template you just created.
- Send the form to your client via the Send Form feature or a shared link.
When the client fills in the form, they see a live editable grid. They add rows, fill cells, and submit. On submission, TrustPager automatically creates a populated Spreadsheet from their input and links it to the opportunity. If the form has a table field, its rows are added to that opportunity's own spreadsheet when the form is submitted. No CSV, no back-and-forth.
Columns your team fills in. In a form's spreadsheet field, the Team member, Opportunity and Contact columns (and other record and link columns) show Filled in by the team. The person filling in the form does not fill them in, so they are left for your team to complete afterwards.
For more on the Spreadsheet field type and other form field options, see https://trustpager.com/help-center/build-send-forms.
For AI agents and developers
Spreadsheets are available via the TrustPager REST API and the spreadsheets MCP tool. Authenticate with a key that has the appropriate scopes, see https://trustpager.com/help-center/api-access.
Required scopes: spreadsheets:read, spreadsheets:write, spreadsheets:delete
REST API endpoints:
GET /api/v1/spreadsheets/templates, list templatesPOST /api/v1/spreadsheets/templates, create a template (acceptscolumnswith type definitions,merge_rules, anddefault_sort)GET /api/v1/spreadsheets/templates/:id, get a templatePATCH /api/v1/spreadsheets/templates/:id, update a template (incl.columns,merge_rules,default_sort)DELETE /api/v1/spreadsheets/templates/:id, delete a templatePOST /api/v1/spreadsheets, create a spreadsheet from a templateGET /api/v1/spreadsheets/:id, get a spreadsheetGET /api/v1/spreadsheets/:id/rows, list rows in a spreadsheetPOST /api/v1/spreadsheets/:id/rows, add rows to a spreadsheetPATCH /api/v1/spreadsheets/:id/rows/:row_id, update a rowDELETE /api/v1/spreadsheets/:id/rows/:row_id, delete a rowPOST /api/v1/spreadsheets/:id/import_from_document, extract rows from a PDF using a document mapper and import them (runs merge rules + default sort if configured)
JSON shape, column type values (used in the columns array when creating or updating a template):
[
{ "label": "Title", "type": "text" },
{ "label": "Assignee", "type": "user_ref" },
{ "label": "Client", "type": "contact_ref" },
{ "label": "Opportunity", "type": "opportunity_ref" },
{ "label": "Due Date", "type": "date" },
{ "label": "Status", "type": "dropdown",
"options": [
{ "label": "Todo", "color": "slate" },
{ "label": "In Progress", "color": "amber" },
{ "label": "Completed", "color": "green" },
{ "label": "Blocked", "color": "red" }
]
},
{ "label": "Notes", "type": "long_text" }
]
For the exact list of column types, dropdown colours and fields, see https://docs.trustpager.com/reference#spreadsheets, which is generated from the live schema.
JSON shape, merge_rules (set on a template; controls auto-merge on import). Pass null to clear.
{
"group_by": ["ABN", "Duties"],
"period_start": "Start Date",
"period_end": "End Date",
"tolerance_days": 1,
"concat_columns": {
"Payments": {
"separator": " ",
"first_value_prefix": "$ ",
"order_by": "End Date",
"direction": "desc"
}
}
}
All column references are header strings (case-insensitive). tolerance_days defaults to 1, which collapses adjacent financial-year periods but keeps genuine gaps as separate rows.
JSON shape, default_sort (set on a template; applied after every import and when the spreadsheet first opens). Pass null to clear.
[
{ "column": "Due Date", "direction": "asc" },
{ "column": "Priority", "direction": "desc" }
]
Entries are applied in order, the second entry breaks ties on the first, and so on. The same sort can be configured interactively via the Sort button in the template-edit toolbar at https://app.trustpager.com/work/spreadsheets?tab=standalone.