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
Install
logicpacks pack use crm-public/run-a-crm-pipelineget_pack crm-public/run-a-crm-pipelineThe 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
crm.py import-csv contacts.csv(name,email,company[,deal,amount,stage]).add-deal,move <id> <stage>(lead > qualified > proposal > negotiation > won|lost).pipelinefor 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).