๐ Pillar Breakdown
๐ค
Pillar 1 โ Voice Capture
Endpoint: POST /api/pillar-1/:token
Live โ
๐ค Input: Telegram voice message (OGG Opus)
โ
๐ง Whisper("transcribe audio") โ raw text
โ
๐ง DeepSeek("extract: mainIdea, hook, painPoint, ctaAngle")
โ
โ๏ธ Mistral("Voice DNA rules: utility, pattern break, one-line rule")
โ
๐ค Output: Notion draft (Status: Not started, Pillar: Pillar 1)
โญ
Pillar 2 โ Lead Reactivation
Endpoint: POST /api/pillar-2/reactivate
Live โ
๐ฅ Input: [{name, linkedinUrl, commentText, context}]
โ
๐ง DeepSeek("score 1-10, classify hot/warm/cold, identify pain points")
โ
โ๏ธ Mistral("3-sentence re-engagement DM in Voice DNA")
โ
๐ค Output: Notion lead (Score: 9/10, Class: Hot, DM: "...", Pillar: Pillar 2)
๐ฌ
Pillar 3 โ DM Triage
Endpoint: POST /api/pillar-3/triage
Live โ
๐ฅ Input: {message, sender, platform}
โ
๐ Intent Scanner("keywords: pricing, help, cost, automate, urgent")
๐ AI Classifier("hot/warm/cold/spam")
โ
โ๏ธ Mistral("hot lead โ 2-sentence reply in Voice DNA")
โ
๐ค Output: {classification, reply} โ Notion (Pending Review)
๐ฏ
Pillar 4 โ Call Coach
Endpoint: POST /api/pillar-4/grade
Live โ
๐ฅ Input: {transcript, coachId}
โ
๐ง DeepSeek("grade: hook, problem_stack, solution, objections, close, voice")
โ
๐ค Output: Notion (Overall: A-, categories, raw_analysis, Tags: Pillar 4)
๐ง
Pillar 5 โ DB Reactivation
Cron: 0 */6 * * *
Live โ
โฐ Trigger: Every 6 hours (Cloudflare Cron)
โ
๐ Notion Query("Status = 'Not started', limit 10")
โ
๐ง DeepSeek("3-line Voice DNA re-engagement email")
โ
๐ค Output: Notion (Pending Send, Pillar 5, draft email)