Pipeline

Lead Flow

Inbound

Form / API / SMS

Qualifying

AI scoring via LiteLLM

Qualified

Score >= 70

Routing

Matching to buyer

Sold

Delivered & accepted

Redis Streams

cvg:stream:leads.inboundactive
cvg:stream:leads.qualifiedactive
cvg:stream:sequences.executeactive

AI Qualification

Model: gemini-flash

Gateway: LiteLLM (ai0:4010)

Cost: ~$0.001/lead

Latency: ~4s avg

Compliance

TCPA consent tracking

DNC list checking (TODO)

Two-party consent states

Audit trail on all events