Leads
A lead is one set of answers that a visitor gave to a flow. The Leads page lists the leads of a project, and the Lead page shows one lead.
Where leads show
| Page | Address | Content |
|---|---|---|
| Leads | …/leads | The leads of the project, the newest lead first. |
| Lead | …/leads/<lead> | One lead. A row of the Leads list opens it. The title is the lead ID. |
The table shows 50 leads. The two buttons below the table show the previous 50 leads and
the next 50 leads. The text above the table shows the number of leads in the table and in
the list, for example 50 of 230 leads.
The address of the Leads page holds the search, the columns, the sort and the Hide duplicates setting. A link to the same address opens the same list.
Search
The search box takes the syntax of Lead search. While the box is empty, it shows a Search syntax link to that page. The link shows only while the box has space for the placeholder and the link.
A clause on the visit changes the order of the list and the text above the table. Refer to The visit that captured the lead.
Columns
The table shows the ID and Created At columns until you change them. Columns opens Table columns, where you add, remove and move the columns.
Add a column lists these columns:
| Group | Columns |
|---|---|
| Lead | ID, User ID and Created At. |
| Session | The fields of the visit that captured the lead, such as Session started and Session page views. |
| Responses | The key of each answer of the leads in the table. |
| A label namespace | Each label without an expiry on the leads in the table. |
Add a column also accepts a full path that starts with responses. or labels., such
as responses.suburb or labels.acme.status. This path adds a column that the leads in
the table do not have.
Sort
The list shows the newest lead first. A click on a column header sorts the list by that column. A second click reverses the order. A lead without a value in the column is always last. A Session column does not sort.
Hide duplicates
One visit can capture more than one lead. When Hide duplicates is on, the list shows one lead for each visit: the newest lead that matches the search. Hide duplicates is on by default.
While the search has a clause on the visit, the list shows each lead, and you cannot turn on Hide duplicates.
Saved views
A saved view is a name for one search, one set of columns and one sort. All the users of the project see the same saved views. The saved views show above the table. A saved view does not keep the Hide duplicates setting.
| Control | Result |
|---|---|
| A saved view | Opens the list with the search, the columns and the sort of the view. |
| Save view | Saves the list as a new view. It shows when the Leads list has no saved views. It also shows when you change the search, the columns, the sort or Hide duplicates, and no saved view has these settings. |
| The settings button of a view | Changes the name of the view, or makes it the default view. It also holds Delete view. |
| Delete view | Deletes the view. The leads do not change. |
The list opens with the default view when its address has no parameters. The Leads list of a project has a maximum of one default view.
Lead page
The Lead page shows one lead in these cards:
| Card | Content |
|---|---|
| Captured | The date and the time of the capture. |
| Responses | The answers of the lead. A lead from a workspace preview shows the keys of the fields, not their labels. |
| Other leads from this session | The other leads that the same visit captured. Show older leads adds the leads before them. |
| Session | The details of the visit that captured the lead, and its events up to the capture, the newest event first. Show earlier and Show later add more events. |
| Workflow runs | The runs that created or changed the lead. Refer to Leads and runs. |
| Labels | The labels of the lead. Refer to Labels in the dashboard. |
On a narrow screen, the page shows the cards on three tabs.
Delete lead deletes the lead and all its labels. You cannot reverse a delete.
Access
| Surface | Scopes |
|---|---|
| Leads, Lead | ORGANIZATION_LEADS_READ |
| Session columns, Session card, report tabs | ORGANIZATION_SESSIONS_READ |
| Saved views | ORGANIZATION_PROJECTS_READ to see them, and ORGANIZATION_PROJECTS_UPDATE to save, change and delete them |
| The labels of a lead | Refer to Owners. |
| Workflow runs card | Refer to Access. |
| Delete lead | ORGANIZATION_LEADS_DELETE |
API and MCP
You can also do this task with the Management API, the MCP server, or code that you send to picked_run.
| Task | GraphQL | MCP tool | Run |
|---|---|---|---|
| List the leads | project | None | None |
| List the saved views | project | None | None |
| Save a view | savedViewCreate | None | None |
| Change a view | savedViewUpdate | None | None |
| Delete a view | savedViewDelete | None | None |
| Read a lead | lead | None | None |
| Delete a lead | leadDelete | None | None |
The project query gives the leads in its leads field, and the saved views in its
savedViews field.
Related
- Lead search — the syntax of the search box
- Labels — the labels of a lead
- Workflow runs — the runs that create and change leads
- Glossary — lead, visit, and the other terms
