Sales Qualified Leads (SQLs)
Sales Qualified Leads (SQLs): MQLs accepted by sales as worth pursuing.
Formula
SQLs = MQLs accepted by sales in period Computable definition
The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.
count_distinct(field.lead_id where in_period(field.sql_date)) Unit: count
Notes: MQLs accepted by sales.
Data requirements
Grain: Per lead stage date, aggregate daily · Frequency: Daily · Aggregation: aggregate (day) · Staged: no · Main source: CRM.
| Field | Dataset | Type |
|---|---|---|
lead_id | lead | string |
snapshot_date | lead | date |
sql_date | lead | date |
Example SQL (Postgres)
SELECT (SELECT COUNT(DISTINCT lead_id) FROM lead WHERE snapshot_date = :period_end AND (sql_date >= :period_start AND sql_date <= :period_end)) AS sqls Access: recommended
sensitivity tier internal,
access scope unscoped.
Guidance your policy engine enforces.
From an agent: with the GASP MCP server, call
lookup_metric({ "name": "Sales Qualified Leads (SQLs)" }) or generate_query({ "metric": "Sales Qualified Leads (SQLs)", "adapter": "<your adapter JSON>" }).
What It Tells You
Marketing and sales alignment on lead quality.
Related Metrics
Connected in the GASP relationship graph.
Upstream: what drives this
- MQLs drives SQLs (Marketing)
Downstream: what this drives
- SQLs drives Pipeline Value (Sales)
- SQLs measures Lead (Entity)