{
  "$schema": "https://pinlyx.com/resources/schema/intent-classifier.json",
  "version": 1,
  "description": "Inbound X DM intent classification with per-intent routing. Enable under Settings > AI > X inbound. Handles the routine 40-60% so your time goes to the high-intent replies.",
  "intents": [
    {
      "name": "interested",
      "description": "Asks a question, wants details, or agrees to a call.",
      "examples": [
        "how much is it",
        "send me a link",
        "sure, what times work",
        "tell me more",
        "does it do X"
      ],
      "action": "reply_and_notify",
      "template": "Great - {calendar_link} has my open slots, or tell me what you want to see and I will send a short video.",
      "setStage": "Qualified",
      "notify": true
    },
    {
      "name": "not-now",
      "description": "Interested in principle, wrong timing.",
      "examples": [
        "not right now",
        "maybe next quarter",
        "we just signed with someone",
        "ask me in a few months"
      ],
      "action": "reply_and_schedule_followup",
      "template": "Understood. I will check back in a few months - good luck with the rest of it.",
      "followUpInDays": 90,
      "addTag": "revisit-later",
      "notify": false
    },
    {
      "name": "unsubscribe",
      "description": "Asks to stop, in any wording.",
      "examples": [
        "stop",
        "not interested",
        "remove me",
        "do not message me",
        "unsubscribe",
        "leave me alone"
      ],
      "action": "opt_out_permanently",
      "template": "Understood, I will stop here. Sorry for the interruption.",
      "addTag": "do-not-contact",
      "notify": false,
      "note": "Permanent and across every channel and sender. This is the one rule with no exceptions."
    },
    {
      "name": "complaint",
      "description": "Angry, accuses you of spam, threatens to report.",
      "examples": [
        "this is spam",
        "reporting you",
        "how did you get my details",
        "unacceptable"
      ],
      "action": "handoff_immediately",
      "template": null,
      "addTag": "complaint",
      "notify": true,
      "note": "Never auto-reply to a complaint. A templated response to an angry person is what turns a complaint into a report."
    },
    {
      "name": "question-only",
      "description": "Asks something factual without buying intent.",
      "examples": [
        "do you support telegram",
        "is there a free plan",
        "where are you based"
      ],
      "action": "reply_from_knowledge_base",
      "notify": false
    }
  ],
  "fallback": {
    "action": "handoff",
    "note": "Anything the classifier is not confident about goes to a human. Guessing is worse than waiting."
  },
  "businessHoursOnly": true,
  "confidenceThreshold": 0.7
}
