Skip to content

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
  • Workflow Examples


    See example workflows with visual diagrams

    View Workflows

  • API Reference


    Explore the REST API endpoints

    API Docs

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]
  1. Enroll a contact into a workflow template
  2. Execute actions (calls, emails, visits) at each node
  3. Transition based on outcomes or AI decisions
  4. Track everything in the event timeline
  5. Complete when reaching an end node

Getting Started

Check System Health

curl https://workflow.nominate.ai/health

List Workflow Templates

curl https://workflow.nominate.ai/api/workflows

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