Skip to content

Packs / crm-public

run-a-crm-pipeline

Run a CRM pipeline: import contacts, create deals, move them through stages, and export contacts/deals/activities to CSV

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-crm-public

Install

logicpacks pack use crm-public/run-a-crm-pipeline
get_pack crm-public/run-a-crm-pipeline

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: stdlib-sqlite
  • Checks: 2 in outcome/checks.yaml
  • Code: crm.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Run a CRM pipeline: import contacts, create deals, move them through stages, and export contacts/deals/activities to CSV

Goal

Contacts and deals live in one place, every stage move is logged, and everything exports to CSV.

Steps

  1. crm.py import-csv contacts.csv (name,email,company[,deal,amount,stage]).
  2. add-deal, move <id> <stage> (lead > qualified > proposal > negotiation > won|lost).
  3. pipeline for counts and amounts per stage; export-csv contacts|deals|activities.

Edge cases

  • Duplicate emails are merged (case-insensitive).
  • Closed deals (won/lost) can't move; reopen = new deal.

Don'ts

  • Don't import customer data into a pack fixture; fixtures are synthetic.
  • Don't email contacts from here (see email-marketing with the approval gate).