agentsclimarketplace

Notion crm pipeline

Skill henryreith/notion-cli/skills/notion-crm-pipeline

Run a lightweight sales CRM in Notion with the notion CLI — leads database with pipeline stages, dedup by email, stale-deal and next-action queries, activity logged as comments, pipeline value rollups. Use when tracking leads, deals, follow-ups, or client pipeline in Notion.From its SKILL.md

Install
npx -y skills add henryreith/notion-cli --skill notion-crm-pipeline

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.6 KB, as published. Nobody here has run it

Recipe: CRM & Sales Pipeline in Notion

A leads database, stage-driven queries, and an upsert-by-email pattern so the same contact never gets duplicated. Property payload reference: notion-schema-design.

Setup (once)

CRM=$(notion db create <parent-page-id> "Leads" --output id)
notion db update-schema "$CRM" --data '{
  "Stage": {"select": {"options": [
    {"name": "New", "color": "gray"},
    {"name": "Contacted", "color": "blue"},
    {"name": "Qualified", "color": "yellow"},
    {"name": "Proposal", "color": "orange"},
    {"name": "Won", "color": "green"},
    {"name": "Lost", "color": "red"}
  ]}},
  "Email": {"email": {}},
  "Company": {"rich_text": {}},
  "Value": {"number": {"format": "dollar"}},
  "Next Action": {"date": {}},
  "Source": {"select": {"options": []}}
}'

Add / update a lead (dedup by email)

Always upsert on Email — new contact creates a row, known contact updates it:

notion db upsert "$CRM" --match "Email:[email protected]" \
  "Name=Jane Smith" "[email protected]" "Company=Acme Co" \
  "Stage=Contacted" "Value=15000" "Next Action=$(date +%F)" \
  "Source=Referral" --add-options

Exit 6 means two rows share that email — deduplicate before continuing.

Pipeline queries

TODAY=$(date +%F)

# Board view of a stage
notion db query "$CRM" --filter "Stage:=:Proposal" --output table

# Overdue follow-ups (next action in the past, deal still open)
notion db query "$CRM" \
  --filter "Next Action:<:$TODAY" \
  --filter "Stage:!=:Won" --filter "Stage:!=:Lost" \
  --output table

# Deals with no next action scheduled (about to go stale)
notion db query "$CRM" --filter "Next Action:is_empty:true" \
  --filter "Stage:!=:Won" --filter "Stage:!=:Lost" --output table

Log activity on a deal

Comments make a timestamped activity trail; page content holds longer notes:

LEAD_ID=$(notion db query "$CRM" --filter "Email:=:[email protected]" --output ids | head -1)

notion comment add "$LEAD_ID" "Called — wants revised proposal by Friday. Bumping to Proposal."
notion db update-row "$LEAD_ID" "Stage=Proposal" "Next Action=$(date +%F)"

# Longer call notes as page content
notion page append "$LEAD_ID" --data "## Call $(date +%F)

Discussed scope. Decision maker is CFO. Budget confirmed at 15k."

Pipeline value rollup

Value totals per stage — jq paths per property type are in notion-reporting's extract-values reference:

notion db query "$CRM" --page-all --output json \
  | jq -r 'map(select(.properties.Stage.select.name as $s | $s != "Won" and $s != "Lost"))
           | group_by(.properties.Stage.select.name)
           | map("| \(.[0].properties.Stage.select.name) | \(length) | $\(map(.properties.Value.number // 0) | add) |")
           | ["| Stage | Deals | Value |", "|---|---|---|"] + . | join("\n")'

Weekly pipeline review

Combine with notion-reporting: run the rollup plus the overdue-follow-ups query on a schedule and publish to a review page with page create + page append.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.