{
  "name": "AI Product Club — проверка метрики брифа",
  "nodes": [
    {
      "id": "a183940b-afcb-4dc4-a47d-6f7aa5213103",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "a15c356b-3d06-420d-b5be-4080bcf179ff",
      "name": "Бриф",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        240,
        0
      ],
      "parameters": {
        "mode": "raw",
        "jsonOutput": "{\n  \"feature\": \"Напоминание о незавершённой заявке\",\n  \"audience\": \"Пользователи, начавшие заявку\",\n  \"success_metric\": \"\",\n  \"owner\": \"Продакт команды заявок\"\n}",
        "options": {}
      }
    },
    {
      "id": "07930aee-e8e7-45c7-9dca-cdf0ae715042",
      "name": "Метрика заполнена?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        480,
        0
      ],
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "19103aef-247d-437e-bed8-16cf706f5c15",
              "leftValue": "={{ ($json.success_metric ?? \"\").trim() }}",
              "rightValue": "",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      }
    },
    {
      "id": "46499506-7cfc-49ca-b4ea-4b1cda6a7fe0",
      "name": "На обсуждение",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        740,
        -120
      ],
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "fb898d8c-3ebb-4d50-874e-652e70364dde",
              "name": "decision",
              "value": "ready_for_review",
              "type": "string"
            }
          ]
        },
        "includeOtherFields": true,
        "options": {}
      }
    },
    {
      "id": "c9f4ecbd-8238-49eb-9ad0-11595e4b7bf4",
      "name": "Нужно уточнение",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        740,
        120
      ],
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "673ad3cb-654b-4e9f-be52-3c5f2977fadc",
              "name": "decision",
              "value": "needs_clarification",
              "type": "string"
            }
          ]
        },
        "includeOtherFields": true,
        "options": {}
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Бриф",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Бриф": {
      "main": [
        [
          {
            "node": "Метрика заполнена?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Метрика заполнена?": {
      "main": [
        [
          {
            "node": "На обсуждение",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Нужно уточнение",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "tags": []
}