Go/No-Go analysis evaluates whether a lead is a good strategic fit using customizable AI prompts.
What Is Go/No-Go?
Go/No-Go analysis answers the question: “Should we pursue this opportunity?”
It evaluates leads against your organization’s criteria and provides a recommendation with supporting reasoning.
Go/No-Go Response
interface GoNoGoAnalysis {
id: string;
leadId: string;
decision: 'go' | 'no-go' | 'needs-review';
confidence: number; // 0-100
reasoning: string; // Detailed explanation
factors: {
name: string;
assessment: 'positive' | 'neutral' | 'negative';
notes: string;
}[];
prompt: string; // Prompt used
model: string; // AI model
analyzedAt: number;
analyzedBy: string; // User who triggered
}
Decision Types
| Decision | Description |
|---|
go | Recommend pursuing the opportunity |
no-go | Recommend passing on the opportunity |
needs-review | Requires human judgment - mixed signals |
Running Analysis
Trigger a Go/No-Go analysis:
curl -X POST "https://api.adaptengine.com/api/v1/leads/{leadId}/gonogo" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"promptId": "default"
}'
Or with a custom prompt:
curl -X POST "https://api.adaptengine.com/api/v1/leads/{leadId}/gonogo" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"customPrompt": "Evaluate this lead for our healthcare construction practice. Consider regulatory requirements, timeline, and our experience with similar projects..."
}'
Custom Prompts
Create reusable Go/No-Go prompts:
curl -X POST "https://api.adaptengine.com/api/v1/gonogo/prompts" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Healthcare Projects",
"prompt": "Evaluate this healthcare construction opportunity. Consider: 1) Regulatory complexity 2) Our healthcare portfolio 3) Timeline feasibility 4) Budget alignment...",
"isDefault": false
}'
Analysis History
View past analyses for a lead:
curl "https://api.adaptengine.com/api/v1/leads/{leadId}/gonogo/history" \
-H "Authorization: Bearer YOUR_TOKEN"
Filtering by Go/No-Go
Filter leads by decision:
# Leads with "go" decision
curl "https://api.adaptengine.com/api/v1/leads?filter[gonogoStatus]=go"
# Leads that need review
curl "https://api.adaptengine.com/api/v1/leads?filter[gonogoStatus]=needs-review"
# Leads with any Go/No-Go analysis
curl "https://api.adaptengine.com/api/v1/leads?filter[hasGonogo]=true"
Best Practices
Customize prompts for different project types. A healthcare project needs different evaluation criteria than a retail development.
Go/No-Go is a recommendation, not a final decision. Always apply human judgment.
API Endpoints
| Method | Endpoint | Description |
|---|
GET | /api/v1/leads/{leadId}/gonogo | Get latest analysis |
POST | /api/v1/leads/{leadId}/gonogo | Run new analysis |
GET | /api/v1/leads/{leadId}/gonogo/history | Get analysis history |
GET | /api/v1/gonogo/prompts | List prompts |
POST | /api/v1/gonogo/prompts | Create prompt |
PUT | /api/v1/gonogo/prompts/{id} | Update prompt |
DELETE | /api/v1/gonogo/prompts/{id} | Delete prompt |