Docs

Meetings and extraction

What it does

Meetings land as activity rows, and extraction proposes CRM changes from them, so a person accepts the change instead of the pipeline inserting a fuzzy name.

Cockpit stores meetings and other activity as rows, then proposes CRM changes from them. You accept or reject the proposals. The product does not auto-create a contact from a single fuzzy name.

What you see in the app

ScreenWhat it is
CalendarMonth, day, multi-day, and list views of events. /timeline redirects here
ActivitiesIngested mail, calendar, meetings, and other activity
Meeting pipelineHealth of the ingest lane. It is not the review queue
KG HealthCounts and extraction gaps. It is not the review queue
ApprovalsThe queue where extraction proposals wait

Activity quality classes are substantive, transactional, notification, digest, and noise. Digest and noise are kept out of the embedding index.

How a meeting gets in

A connected calendar or mail sync writes an activity. An agent can also submit a meeting with meeting_graph_checkin (scope graph:write). That call writes the activity, the entity proposals, the links, and the notes in one shot. meeting_brief_checkin attaches a pre-call brief to a calendar activity and does not mutate entities. graph_checkin is the older name for meeting_graph_checkin.

graph_checkin_revert undoes a check-in by its run id.

Extraction review

After an activity is stored, an extraction pass proposes actions such as linking a known record, enriching a fact, adding a mention, creating a record, or filing an action item. Each proposal has a confidence.

Thresholds live in extraction_thresholds, one row per action type, from 0 to 1. Seeded thresholds are 1.0, which queues every proposal. A proposal at or above the threshold is applied only when the threshold is below 1.0. Otherwise it becomes an approval with type extraction.<action>.

Review those cards on Approvals, or with the MCP tools:

ToolScopeUse
extraction_pendingapprovals:readList queued extraction cards
extraction_reviewapprovals:writeApprove or reject one
extraction_review_bulkapprovals:writeResolve a batch of one action type
extraction_threshold_setapprovals:writeSet the auto-pass threshold. The database write also requires an admin
extraction_metricsapprovals:readCounts by action type

There is no Cockpit screen for editing thresholds. Use extraction_threshold_set or SQL, as an admin.

Approve marks the card approved and applies the proposal that card was filed with (a link, a field, a mention, a create card, or a task proposal). Reject leaves the activity in place and does not apply the proposal. The exact side effect is the card's own action, not a second queue.

Lowering a threshold means more proposals skip the queue. Leave thresholds at 1.0 until you trust a specific action type.

Identity rules that affect extraction

  • A single-token name with no email and no account is not treated as a confirmed person. The contact card should use lifecycle stage needs-review.
  • prospect on a lifecycle field is normalized to lead.
  • Creating the actual account or contact still waits on a human when the card type is a create. Extraction may file that create card. It does not skip the human-only rule.

Decisions

Decisions (/decisions) is a separate audit of activity-quality classification (auto, hold, escalate, blocked). It does not approve extraction cards. See Decisions. Decision flows are the declared graphs. See Decision flows.

MCP tools

ToolScopeRole
meeting_graph_checkingraph:writeWrite the activity, proposals, links, and notes
meeting_brief_checkingraph:writeAttach a pre-call brief. Does not change entities
graph_checkingraph:writeOlder name for meeting_graph_checkin
graph_checkin_revertgraph:writeUndo a check-in by run_id
extraction_pendingapprovals:readList queued extraction cards
extraction_reviewapprovals:writeApprove or reject one
extraction_review_bulkapprovals:writeResolve a batch of one action type
extraction_threshold_setapprovals:writeSet the auto-pass threshold. The database write also requires an admin
extraction_metricsapprovals:readCounts by action type

Extraction is headless. These tools are the API. The screens above are thin clients over the rows the tools write.

HTTP endpoints

The review queue is the approvals API. See Approvals. There is no Cockpit screen for editing thresholds. Use extraction_threshold_set or SQL, as an admin.

MethodPathRole
GET/cockpit/api/approvalsPending cards, including extraction.<action>
PATCH/cockpit/api/approvals/:idResolve approved or rejected from a session

Permissions

Token scopes come from one permission-set layer, as the table shows. extraction_threshold_set also requires an admin in the database. The screens use the signed-in session.

Row access is RLS by creator. Admins see all rows. Members see their own.

Agent example

Call extraction_pending before you approve anything.

{
  "tool": "extraction_pending",
  "arguments": {
    "action_type": "link",
    "limit": 10
  }
}

Expected result: pending extraction cards of that action type, or an empty list when the queue has none. extraction_review with decision approved applies that card's own action. rejected leaves the activity in place.

{
  "ok": true,
  "approvals": []
}