Switchboard Docs
Get started

Quickstart

Build your first model and document with sample data

Start with an empty workspace and build a document from a small file. Then ask Switchboard AI to check the same data. It is named Operator in the app.

Before you start

You need a workspace account with the Builder or Admin role. A custom role must allow model editing, file uploads, document creation, and data queries. If controls are unavailable, ask an Admin to check your permissions.

Download orders.csv. It contains three invented orders with total net revenue of 249.00. The same data appears below if you prefer to save the file yourself:

order_id,order_date,net_revenue
1001,2026-11-01,120.00
1002,2026-11-02,85.00
1003,2026-11-03,44.00

1. Create the model

A model is a reusable table with field definitions. A property defines one field, such as order date.

  1. Expand Develop in the sidebar and open Models.
  2. Select Add model. Enter Practice orders as the Name, then select Create.
  3. Select New source. Under Source Type, choose Upload file.
  4. Select Click to choose a file and upload orders.csv.
  5. Wait for parsing. Check that Inferred columns contains order_id, order_date, and net_revenue.
  6. Return to the model editor and open the property for order_id.
  7. Turn on Is Primary Key. This field identifies each row.
  8. Select the model's Save button.
  9. Open Models → Runs and confirm that the build succeeds.

Uploading the file creates its properties. It does not require the other source types' Save and create attributes button. The sample contains three rows. Check that all three appear when you inspect the model data. If the upload fails, use the checks in create a model from a file. If saving fails, read the validation error and check the primary key.

2. Define total revenue

An aggregation summarizes rows. Create one so the document and AI can use the same revenue definition.

  1. Reopen Practice orders in Models.
  2. In the aggregations list, select New aggregation.
  3. Enter Net revenue as the Name and select Create.
  4. Choose Aggregation as the definition type.
  5. Select the property for net_revenue and choose Sum.
  6. Select Generate preview. Check that the total is 249.00.
  7. Select the model's Save button and check the build result.

If Sum is unavailable, check that net_revenue has a numeric type. See define an aggregation for the field controls.

3. Build a document

A document combines text and data blocks. An explore is a block that queries a model.

  1. Open Documents in the sidebar.
  2. Select Add document or folder → Add document.
  3. Enter Practice revenue as the Name, then select Add document.
  4. Select Edit if the document opens in viewing mode.
  5. In an empty block, type / and choose Explore.
  6. Select Practice orders, then select the Net revenue aggregation.
  7. Leave filters empty. Check that the table shows 249.00.
  8. Close the tile editor. In Manual save, select Save changes. In Auto-save, changes save as you edit.
  9. Select Exit editing. Reopen the document and check its result.

The explore editor with Net revenue selected, no filters, and a total of 249 in the results table.

The Net revenue aggregation totals all three sample orders.

If the model is missing, check its build and your model access. If the total differs, remove filters and confirm that you selected the aggregation created above.

4. Ask AI for total revenue

Open Conversations in the sidebar and select New conversation. Ask:

Use the Practice orders model. What is total net revenue? Explain the metric definition and show the result.

Compare the answer with 249.00 and the model's Sum aggregation. Ask which model, field, and filters it used if the answer differs. Read any proposed change before approving it.

Next steps

Connect a source to work with business data. Then choose a visualization, share the document, or schedule a report.

On this page