{
  "$schema": "https://pinlyx.com/resources/schema/segments.json",
  "version": 1,
  "description": "Twelve saved segments from the lead scoring guide. Create under Contacts > Segments > New. Filter expressions use the same syntax as the segment builder.",
  "segments": [
    {
      "id": "hot-leads",
      "name": "Hot leads",
      "why": "Score threshold plus fit. Work these first, every day.",
      "filter": "lead_score > 80 AND status != \"customer\""
    },
    {
      "id": "hot-untouched",
      "name": "Hot but untouched",
      "why": "The most expensive segment to ignore.",
      "filter": "lead_score > 80 AND last_outbound > 7d"
    },
    {
      "id": "pricing-intent-warm",
      "name": "Warm pricing intent",
      "why": "Asked about price, then went quiet.",
      "filter": "tag:\"pricing-intent\" AND last_reply > 7d AND last_reply < 30d"
    },
    {
      "id": "demo-no-show",
      "name": "Demo booked, never happened",
      "why": "Reschedule beats re-prospecting.",
      "filter": "tag:\"demo-booked\" AND last_reply > 14d"
    },
    {
      "id": "replied-not-qualified",
      "name": "Replied, not yet qualified",
      "why": "Conversation started, no owner.",
      "filter": "tag:\"replied\" AND NOT tag:\"qualified\" AND assignee IS NULL"
    },
    {
      "id": "enterprise-fit",
      "name": "Enterprise fit",
      "why": "Worth a human on the first touch.",
      "filter": "employee_count > 500 AND lead_score > 50"
    },
    {
      "id": "trial-day-3",
      "name": "Trial day 3",
      "why": "The nudge that decides activation.",
      "filter": "trial_started = 3d AND status != \"customer\""
    },
    {
      "id": "trial-ending",
      "name": "Trial ending this week",
      "why": "Last chance for a human touch.",
      "filter": "trial_started > 11d AND trial_started < 14d AND status != \"customer\""
    },
    {
      "id": "renewal-60",
      "name": "Renewal in 60 days",
      "why": "Start the conversation before procurement does.",
      "filter": "renewal_date within 60d AND status = \"customer\""
    },
    {
      "id": "cold-recovery",
      "name": "Cold recovery candidates",
      "why": "Low score, long gone. Nurture only.",
      "filter": "lead_score < 30 AND last_seen > 60d AND NOT tag:\"do-not-contact\""
    },
    {
      "id": "churn-winback",
      "name": "Churn win-back",
      "why": "Left more than 90 days ago.",
      "filter": "tag:\"churned\" AND last_reply > 90d"
    },
    {
      "id": "hygiene-archive",
      "name": "Archive candidates",
      "why": "Run this every Monday and archive the results.",
      "filter": "last_activity > 90d AND lead_score < 20 AND status != \"customer\""
    }
  ],
  "weeklyRoutine": [
    "Monday: sort Hot leads by score, assign follow-ups for anything untouched in 7 days.",
    "Monday: open Archive candidates, archive everything in it.",
    "Friday: review any tag with fewer than 5 contacts and merge or delete it."
  ]
}
