system-prompts-and-models-o.../salesflow-saas/backend/app
Claude b3fb265237
feat(dealix): autonomous daily targeting + email + reply engine
Complete automation system for 50 personalized emails/day:

1. POST /api/v1/automation/daily-targeting/generate
   - Pulls candidates by sector/city, scores, selects top 50
   - 9 Saudi sectors with Arabic pain maps and ROI hypotheses

2. POST /api/v1/automation/email/generate
   - Personalized email per company with subject, body, 2 follow-ups,
     call script, LinkedIn manual message
   - Signal-aware (HubSpot/WhatsApp detection in opening line)
   - Opt-out included in every email
   - Max 130 words per email

3. POST /api/v1/automation/compliance/check
   - Blocks: opt-out, bounced, high-risk, no-source, invalid email
   - Warns: personal email → manual channel preferred
   - PDPL-aware: free email domains flagged

4. POST /api/v1/automation/reply/classify
   - 12 categories: interested, ask_price, ask_demo, unsubscribe, etc
   - Arabic + English keyword matching
   - Pre-written Khaliji response for each category
   - auto_reply_allowed flag per category
   - unsubscribe → immediate opt_out + suppress

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-25 13:28:12 +00:00
..
agents fix(dealix): resolve Python deps, SQLAlchemy metadata, JWT, and frontend CI 2026-04-12 10:32:05 +00:00
ai chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
api feat(dealix): autonomous daily targeting + email + reply engine 2026-04-25 13:28:12 +00:00
core fix(db): prevent duplicate audit seed on repeated init_db() calls 2026-04-20 06:38:40 +00:00
flows chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
integrations Dealix OS Frontend implementation v1 2026-03-31 19:53:49 +03:00
intelligence fix(intelligence): contact_phone fix + Apollo/PDL enrichment + CSV export + stats endpoints 2026-04-22 05:30:14 +00:00
middleware feat(dealix): close ALL 4 Tier-1 runtime gaps (Programs E, F, G, K, J) 2026-04-17 10:12:04 +00:00
models feat(dealix): close ALL 4 Tier-1 runtime gaps (Programs E, F, G, K, J) 2026-04-17 10:12:04 +00:00
observability feat(dealix): close ALL 4 Tier-1 runtime gaps (Programs E, F, G, K, J) 2026-04-17 10:12:04 +00:00
openclaw feat(dealix): close ALL 4 Tier-1 runtime gaps (Programs E, F, G, K, J) 2026-04-17 10:12:04 +00:00
schemas feat(dealix): Tier-1 closure program — 10 tracks complete 2026-04-16 13:08:26 +00:00
services feat(dealix): D0 launch hardening — DLQ, PostHog, circuit breaker, pricing, runbook 2026-04-23 10:32:53 +00:00
utils feat(dealix): D0 launch hardening — DLQ, PostHog, circuit breaker, pricing, runbook 2026-04-23 10:32:53 +00:00
workers fix(dealix): resolve Python deps, SQLAlchemy metadata, JWT, and frontend CI 2026-04-12 10:32:05 +00:00
__init__.py Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
config.py feat(dealix): D0 launch hardening — DLQ, PostHog, circuit breaker, pricing, runbook 2026-04-23 10:32:53 +00:00
database_rls.py feat(dealix): close ALL 4 Tier-1 runtime gaps (Programs E, F, G, K, J) 2026-04-17 10:12:04 +00:00
database.py chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
main.py fix(health): add root /health for Railway healthcheck 2026-04-23 17:13:44 +03:00
sqlite_patch.py chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00