CampaignBrain Workflow Engine¶
A lightweight, JSON-backed workflow engine for CRM contact management. Automate multi-step outreach, engagement tracking, and decision-making with AI-powered intelligence.
Features¶
- Visual Workflow Design - Define workflows as node graphs with clear transitions
- Multi-Channel Actions - Phone calls, door knocks, texts, emails, and mail
- AI-Powered Decisions - Let Claude analyze context and choose optimal paths
- Event Timeline - Full audit trail of every action and state change
- Contact Management - Track contacts with tags, metadata, and workflow history
Quick Links¶
-
Workflow Examples
See example workflows with visual diagrams
-
API Reference
Explore the REST API endpoints
How It Works¶
flowchart LR
A[Contact Enrolled] --> B[Start Node]
B --> C{Action or Decision}
C -->|Action| D[Execute Task]
C -->|Decision| E[Evaluate Rule]
D --> F[Record Outcome]
E --> F
F --> G{More Steps?}
G -->|Yes| C
G -->|No| H[End Node]
- Enroll a contact into a workflow template
- Execute actions (calls, emails, visits) at each node
- Transition based on outcomes or AI decisions
- Track everything in the event timeline
- Complete when reaching an end node
Getting Started¶
Check System Health¶
List Workflow Templates¶
Create a Contact¶
curl -X POST https://workflow.nominate.ai/api/contacts \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane@example.com",
"county": "Maricopa",
"tags": ["volunteer", "priority"]
}'
Architecture¶
| Layer | Purpose |
|---|---|
| API | FastAPI REST endpoints |
| Services | Business logic and validation |
| Storage | JSON file persistence with locking |
| Models | Pydantic schemas for type safety |
Developer Resources¶
- CLAUDE.md - AI-assisted development guide