Notebooks overview
How notebooks are organized into sections and cells, what each cell type does, and how notebooks relate to dashboards.
A notebook is a document that combines written content, SQL queries, calculations, and tracking in one place. You use notebooks for analysis, documentation, procedures, and key performance indicator (KPI) trackers.
How it works
A notebook is divided into sections, and each section holds cells. A cell is one piece of content: text, a SQL query, a chart, a checklist, and so on. You build a notebook by adding cells in the order you want them read.
The Notebooks page lists notebooks in four groups: My Notebooks, Company, Organization, and Shared with me. You can sort notebooks into folders.
When you create a notebook, you start from Blank Document or from a starting layout: Data Analysis, Form / Survey, Incident Report, Project Tracker, or Executive Summary. A layout adds a first set of cells that you can change. You can also install a notebook from Templates.
Sections
Sections split a notebook into tabs. Each section has its own cells, so one notebook can hold, for example, a queries section, a summary section, and an incident log. You add and delete sections from the section tabs.
Sections don't isolate data. A chart, metric, or pivot table can read a source cell in any section, so you can keep SQL in one section and the charts built on it in another.
Headings in markdown cells build the notebook's table of contents.
Cells
You add cells from the Insert menu or from Add Cell. Each cell has a Cell actions menu to add a cell above or below, move, duplicate, split, or delete it.
Data cells
| Cell | What it does |
|---|---|
| SQL Query Cell | Runs a SQL query against a connected database. Shows the result as a table or as a bar, line, or pie chart, and lets you download it as CSV. |
| Compute Cell (JS) | Runs JavaScript on the rows from SQL, workflow, or other compute cells. |
| Workflow Data Cell | Loads a workflow's output rows into the notebook. You can load the latest output or re-run the workflow. |
| Input Control | Creates a named variable that a reader sets: text, number, dropdown, date, toggle, or list. Compute cells can use the variable. Options come from a typed list or from a column of a data cell. |
| Chart Cell | Plots rows from a SQL, compute, or workflow cell. |
| Metric Cell | Shows one number, entered by hand or computed from a source cell. It can alert when the value goes above or below a threshold. |
| Pivot Table | Summarizes a source cell's rows by a row field, an optional column field, and a numeric value field. |
| Dashboard Tile | Shows one tile from a dashboard. |
Content and tracking cells
| Cell | What it does |
|---|---|
| Markdown Cell | Holds text written in markdown. It can link to other notebooks, workflows, and dashboards. |
| Link Source Cell | Generates documentation for a workflow, dashboard, or agent you select. |
| KPI Metric | Tracks a metric as On Track, At Risk, or Off Track, where higher or lower is better. It can fetch its value from a SQL query and refresh on a schedule. |
| Executive summary | Holds a summary title, labeled values, key takeaways, and a written summary. |
| Checklist | Lists tasks with a priority (Low, Med, High, or Urgent), a due date, an assignee, and notes. |
| Incident log | Records incidents with a severity (Critical, High, Medium, or Low), a status (Investigating, Identified, Mitigated, or Resolved), an owner, a root cause, and an impact. |
| Change log | Records versioned entries that describe what changed. An entry can carry a link, a breaking-change flag, and an option to notify the team. |
| Field notes | Holds short notes with a timestamp and tags. |
| Q&A | Holds questions with replies. A question can be marked resolved. |
Intuidy checks a notebook's checklists, incidents, KPIs, and open questions. It notifies people when a due date is close, an incident stays in investigation too long, a KPI crosses its threshold, or a question goes unanswered. You tune these checks for each notebook in Alerts & Escalation….
How data moves between cells
SQL, workflow, and compute cells produce rows. Chart, metric, and pivot table cells display rows from a source cell you pick.
A chart, metric, or pivot table shows results only after its source cell has run. To run every cell, use Run All Cells. For details, see Query and compute cells.
Cells generated from a prompt
You can describe what you want and have a cell generated for you: written content, or a SQL query. Enter @ in the prompt to reference a table, so the generated SQL uses that table's real table and column names. See AI sections.
Notebooks and dashboards
A dashboard is a page of tiles that shows your data. A notebook is a document: it keeps the queries, the explanation, and the follow-up work next to the numbers. The two connect in three ways:
- Embedded tiles. A Dashboard Tile cell shows one tile from a dashboard in My Dashboards, Company, or Organization. From the cell you can refresh the tile's data, change the tile, or select Open in Dashboard to go to the source dashboard. See Embed tiles.
- Links. A markdown cell can link to dashboards, workflows, and other notebooks. The notebook's Links and Graph panels show these connections.
- Documentation. A Link Source Cell generates documentation for a dashboard you select.
Notebooks also connect to workflows. Create Workflow from Notebook… builds a workflow from the notebook's SQL query cells, and a Workflow Data Cell reads a workflow's output back into a notebook.
For how dashboards and tiles work, see Dashboards overview.
Sharing, refresh, and export
- Sharing. Other people can't see a notebook until you share it from Notebook → Share…. People assigned a checklist task or an incident can't see it either until the notebook is shared.
- Scheduled refresh. Notebook → Scheduled refresh… re-runs every SQL, compute, and workflow cell on a schedule and saves the results. You can set how many hours pass before saved results are marked stale.
- Export. You can export a notebook as PDF, Markdown, or JSON.
- Agent instructions. A shared notebook can be turned on with Use as Agent Instructions, which makes its content part of the context your agents work from.
Limits
- A scheduled refresh runs every 15 minutes, every 30 minutes, hourly, every 3, 6, or 12 hours, daily, or weekly.
- A scheduled refresh reads shared database connections only. A cell on a private connection runs when you run it yourself, but fails on the schedule until you share the connection with your company.
- A KPI Metric cell refreshes automatically every hour, every 3, 6, or 12 hours, or once a day.
- Metric alerts are checked when a scheduled refresh runs. The notebook owner is always notified.
- A Chart Cell that holds its own data instead of reading a source cell doesn't refresh. Use a compute cell for a calculation that stays current.
- A Dashboard Tile cell can't show every tile type.
- Create Workflow from Notebook… needs at least one SQL query cell that contains SQL.
- Only a shared notebook can be used as agent instructions.
Related tasks
↳ Query and compute cells ↳ Embed tiles ↳ Co-editing and export