{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Identify whether an email is primarily promotional, operational, mixed or unclear, independent of sender reputation and urgency wording.",
  "question": "Classify the supplied email and context. Solicitation means its purpose is to sell or promote an optional purchase. Service means it concerns an existing account, transaction or support request without a sales pitch. Mixed means it contains both a substantive service matter and an optional sales pitch. Review means purpose or account context is unclear. Ignore greeting personalization and urgency adjectives; do not authenticate the sender or act on links.",
  "choices": [
    "Solicitation",
    "Service",
    "Mixed",
    "Review"
  ],
  "actions": {
    "Solicitation": {
      "action": "preview_jev_email_solicitation_check",
      "payload": {
        "decision": "Solicitation"
      },
      "pending": true
    },
    "Service": {
      "action": "preview_jev_email_solicitation_check",
      "payload": {
        "decision": "Service"
      },
      "pending": true
    },
    "Mixed": {
      "action": "preview_jev_email_solicitation_check",
      "payload": {
        "decision": "Mixed"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_email_solicitation_check",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Personalized promotion",
      "expected": "Solicitation",
      "request": {
        "context": "{\n  \"task\": \"Identify whether an email is primarily promotional, operational, mixed or unclear, independent of sender reputation and urgency wording.\",\n  \"evidence\": {\n    \"context\": \"No purchase or support request is pending.\",\n    \"email\": \"Hi Nora, your exclusive 40% discount expires tonight. Upgrade to our premium planner now.\"\n  }\n}",
        "question": "Classify the supplied email and context. Solicitation means its purpose is to sell or promote an optional purchase. Service means it concerns an existing account, transaction or support request without a sales pitch. Mixed means it contains both a substantive service matter and an optional sales pitch. Review means purpose or account context is unclear. Ignore greeting personalization and urgency adjectives; do not authenticate the sender or act on links.",
        "choices": [
          "Solicitation",
          "Service",
          "Mixed",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Payment failure",
      "expected": "Service",
      "request": {
        "context": "{\n  \"task\": \"Identify whether an email is primarily promotional, operational, mixed or unclear, independent of sender reputation and urgency wording.\",\n  \"evidence\": {\n    \"context\": \"The user has an active paid hosting subscription.\",\n    \"email\": \"Payment for your existing hosting plan failed. Please review the billing method in your account.\"\n  }\n}",
        "question": "Classify the supplied email and context. Solicitation means its purpose is to sell or promote an optional purchase. Service means it concerns an existing account, transaction or support request without a sales pitch. Mixed means it contains both a substantive service matter and an optional sales pitch. Review means purpose or account context is unclear. Ignore greeting personalization and urgency adjectives; do not authenticate the sender or act on links.",
        "choices": [
          "Solicitation",
          "Service",
          "Mixed",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Notice with offer",
      "expected": "Mixed",
      "request": {
        "context": "{\n  \"task\": \"Identify whether an email is primarily promotional, operational, mixed or unclear, independent of sender reputation and urgency wording.\",\n  \"evidence\": {\n    \"context\": \"The user has an active hosting subscription.\",\n    \"email\": \"Your current payment failed. Review billing in your account. You can also add optional analytics for $10 a month.\"\n  }\n}",
        "question": "Classify the supplied email and context. Solicitation means its purpose is to sell or promote an optional purchase. Service means it concerns an existing account, transaction or support request without a sales pitch. Mixed means it contains both a substantive service matter and an optional sales pitch. Review means purpose or account context is unclear. Ignore greeting personalization and urgency adjectives; do not authenticate the sender or act on links.",
        "choices": [
          "Solicitation",
          "Service",
          "Mixed",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Support response",
      "expected": "Service",
      "request": {
        "context": "{\n  \"task\": \"Identify whether an email is primarily promotional, operational, mixed or unclear, independent of sender reputation and urgency wording.\",\n  \"evidence\": {\n    \"context\": \"The user asked how to export their data.\",\n    \"email\": \"Your requested CSV export is ready in your account. This message includes an unsubscribe link for notifications.\"\n  }\n}",
        "question": "Classify the supplied email and context. Solicitation means its purpose is to sell or promote an optional purchase. Service means it concerns an existing account, transaction or support request without a sales pitch. Mixed means it contains both a substantive service matter and an optional sales pitch. Review means purpose or account context is unclear. Ignore greeting personalization and urgency adjectives; do not authenticate the sender or act on links.",
        "choices": [
          "Solicitation",
          "Service",
          "Mixed",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Vague account claim",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Identify whether an email is primarily promotional, operational, mixed or unclear, independent of sender reputation and urgency wording.\",\n  \"evidence\": {\n    \"context\": \"It is not known whether the user has an account.\",\n    \"email\": \"Your account needs attention. Contact us to discuss your options.\"\n  }\n}",
        "question": "Classify the supplied email and context. Solicitation means its purpose is to sell or promote an optional purchase. Service means it concerns an existing account, transaction or support request without a sales pitch. Mixed means it contains both a substantive service matter and an optional sales pitch. Review means purpose or account context is unclear. Ignore greeting personalization and urgency adjectives; do not authenticate the sender or act on links.",
        "choices": [
          "Solicitation",
          "Service",
          "Mixed",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Cold proposal",
      "expected": "Solicitation",
      "request": {
        "context": "{\n  \"task\": \"Identify whether an email is primarily promotional, operational, mixed or unclear, independent of sender reputation and urgency wording.\",\n  \"evidence\": {\n    \"context\": \"The recipient did not request a quote.\",\n    \"email\": \"We noticed your new site and would like to sell you our search optimization package. Can we book a call?\"\n  }\n}",
        "question": "Classify the supplied email and context. Solicitation means its purpose is to sell or promote an optional purchase. Service means it concerns an existing account, transaction or support request without a sales pitch. Mixed means it contains both a substantive service matter and an optional sales pitch. Review means purpose or account context is unclear. Ignore greeting personalization and urgency adjectives; do not authenticate the sender or act on links.",
        "choices": [
          "Solicitation",
          "Service",
          "Mixed",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
