{
  "format": "podpislon-workflow",
  "version": 1,
  "exported_at": "2026-09-07T08:35:38+00:00",
  "workflow": {
    "name": "ИИ-квалификация заявок из Telegram в amoCRM",
    "definition": {
      "nodes": [
        {
          "id": "node-03a13575-5df7-4308-98eb-3954a40e0606",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 122
          },
          "computedPosition": {
            "x": 192,
            "y": 347,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-03a13575-5df7-4308-98eb-3954a40e0606",
                "position": "right",
                "x": 253,
                "y": 54.9453125,
                "width": 12,
                "height": 12
              }
            ],
            "target": null
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 192,
            "y": 347
          },
          "data": {
            "nodeType": "wazzup_receive_message",
            "label": "Wazzup: входящее сообщение",
            "config": {
              "connection_id": "",
              "channel_id": "",
              "chat_type": "telegram",
              "webhook_url": ""
            }
          },
          "events": []
        },
        {
          "id": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
          "type": "workflow-node",
          "dimensions": {
            "width": 220,
            "height": 88
          },
          "computedPosition": {
            "x": 484,
            "y": 340.5,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
                "position": "right",
                "x": 213,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 484,
            "y": 340.5
          },
          "data": {
            "nodeType": "ai_agent",
            "label": "AI-агент",
            "config": {
              "model": "google/gemini-3.5-flash",
              "system_prompt": "Ты — квалификатор входящих B2B-заявок мебельной фабрики.\nТвоя задача: по тексту клиента определить сегмент.\n\n# Формат ответа (строго)\nВерни РОВНО ОДИН символ: A, B или C.\nБез кавычек, точек, пробелов, переносов, markdown и любых пояснений.\nЕсли ответ содержит что-то кроме одной буквы — он считается неверным.\n\n# Сегменты\nA — «скрытый VIP»: опенспейс/офис под ключ, отдел или команда, переговорки,\nзвукоизоляция, эргономика, сжатые сроки, масштаб от ~30 рабочих мест,\nготовность платить за комфорт (Бизнес/Премиум).\nB — «перекупщик/тендерщик/дилер»: оптовый прайс, условия для дилеров,\nскидка от объёма, «комплектуем объект», эконом-серии (стулья ИСО и т.п.),\nпосредник или снабженец.\nC — «микро-бизнес/розница»: 1 рабочее место, «недорого», физлицо или микро-ИП,\nоплата картой на месте, доставка по выходным, единичные позиции.\n\n# Правила\n- Сомневаешься между B и C — выбери C.\n- Сообщение пустое, спам или непонятное — верни C.\n\n# Примеры\nВход: «Нужно обустроить новый офис на 40 мест под ключ, переговорки, до конца месяца»\nОтвет: A\nВход: «Дайте дилерский прайс, комплектуем объект стульями ИСО, скидка от объёма»\nОтвет: B\nВход: «Здравствуйте, сколько стоит один стул, оплачу картой?»\nОтвет: C",
              "prompt": "Сообщение клиента:\n\"\"\"\n{{ trigger.text }}\n\"\"\"",
              "temperature": "0",
              "max_tokens": "",
              "file_base64": null,
              "file_mime_type": null,
              "memory_enabled": null,
              "memory_session_key": "",
              "memory_global_write": null
            }
          },
          "events": []
        },
        {
          "id": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 105
          },
          "computedPosition": {
            "x": 813.4335800009386,
            "y": 357.3961364708091,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "case_0",
                "type": "source",
                "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                "position": "right",
                "x": 253,
                "y": 15.6171875,
                "width": 12,
                "height": 12
              },
              {
                "id": "case_1",
                "type": "source",
                "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                "position": "right",
                "x": 253,
                "y": 36.234375,
                "width": 12,
                "height": 12
              },
              {
                "id": "case_2",
                "type": "source",
                "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                "position": "right",
                "x": 253,
                "y": 56.8515625,
                "width": 12,
                "height": 12
              },
              {
                "id": "default",
                "type": "source",
                "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                "position": "right",
                "x": 253,
                "y": 77.46871948242188,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                "position": "left",
                "x": -5,
                "y": 46.546875,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 813.4335800009386,
            "y": 357.3961364708091
          },
          "data": {
            "nodeType": "switch",
            "label": "Переключатель",
            "config": {
              "field": "{{ response }}",
              "cases": "[{\"value\":\"A\"},{\"value\":\"B\"},{\"value\":\"C\"}]"
            }
          },
          "events": []
        },
        {
          "id": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
          "type": "workflow-node",
          "dimensions": {
            "width": 220,
            "height": 88
          },
          "computedPosition": {
            "x": 1235.85833865015,
            "y": 306.09483850163997,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
                "position": "right",
                "x": 213,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1235.85833865015,
            "y": 306.09483850163997
          },
          "data": {
            "nodeType": "ai_agent",
            "label": "AI-агент",
            "config": {
              "model": "google/gemini-3.5-flash",
              "system_prompt": "Ты — ассистент отдела продаж мебельной фабрики. По заявке VIP-клиента (сегмент А) собери ОДНУ строку-саммари для менеджера: суть проекта, оценка масштаба (число рабочих мест), маркеры срочности и бюджета, на чём делать упор в презентации. Без переносов строк, до 200 символов, по-деловому.",
              "prompt": "Заявка клиента:\n{{ trigger.text }}",
              "temperature": "0.3",
              "max_tokens": "",
              "file_base64": null,
              "file_mime_type": null,
              "memory_enabled": null,
              "memory_session_key": "",
              "memory_global_write": null
            }
          },
          "events": []
        },
        {
          "id": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
          "type": "workflow-node",
          "dimensions": {
            "width": 228,
            "height": 88
          },
          "computedPosition": {
            "x": 1627.1016305174073,
            "y": 300.2570968772765,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
                "position": "right",
                "x": 221.4921875,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1627.1016305174073,
            "y": 300.2570968772765
          },
          "data": {
            "nodeType": "amo_crm_create_contact",
            "label": "AmoCRM: создать контакт",
            "config": {
              "connection_id": "",
              "first_name": "{{ trigger.contact_name }} ({{ trigger.contact_username }})",
              "last_name": null,
              "second_name": null,
              "phone": "",
              "email": "",
              "responsible_user_id": ""
            }
          },
          "events": []
        },
        {
          "id": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
          "type": "workflow-node",
          "dimensions": {
            "width": 222,
            "height": 88
          },
          "computedPosition": {
            "x": 1996.23044607807,
            "y": 297.1846523248986,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
                "position": "right",
                "x": 214.84375,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1996.23044607807,
            "y": 297.1846523248986
          },
          "data": {
            "nodeType": "amo_crm_create_lead",
            "label": "AmoCRM: создать сделку",
            "config": {
              "connection_id": "",
              "name": "VIP - {{ node-546cccf4-725d-4096-99b9-51bb52f08fab.response }}",
              "pipeline_id": "",
              "status_id": "",
              "price": null,
              "responsible_user_id": "",
              "contact_id": "{{ contact.id }}"
            }
          },
          "events": []
        },
        {
          "id": "node-c0610414-1048-42a7-b742-27b6c9e09751",
          "type": "workflow-node",
          "dimensions": {
            "width": 228,
            "height": 88
          },
          "computedPosition": {
            "x": 1334.3411121464217,
            "y": 496.26902823045424,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-c0610414-1048-42a7-b742-27b6c9e09751",
                "position": "right",
                "x": 221.4921875,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-c0610414-1048-42a7-b742-27b6c9e09751",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1334.3411121464217,
            "y": 496.26902823045424
          },
          "data": {
            "nodeType": "amo_crm_create_contact",
            "label": "AmoCRM: создать контакт",
            "config": {
              "connection_id": "",
              "first_name": "{{ trigger.contact_name }} ({{ trigger.contact_username }})",
              "last_name": null,
              "second_name": null,
              "phone": "",
              "email": "",
              "responsible_user_id": ""
            }
          },
          "events": []
        },
        {
          "id": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
          "type": "workflow-node",
          "dimensions": {
            "width": 222,
            "height": 88
          },
          "computedPosition": {
            "x": 1788.6556322803622,
            "y": 541.5950708424251,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
                "position": "right",
                "x": 214.84375,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1788.6556322803622,
            "y": 541.5950708424251
          },
          "data": {
            "nodeType": "amo_crm_create_lead",
            "label": "AmoCRM: создать сделку",
            "config": {
              "connection_id": "",
              "name": "Дилер/опт - {{ trigger.contact_name }}",
              "pipeline_id": "",
              "status_id": "",
              "price": null,
              "responsible_user_id": "",
              "contact_id": "{{ contact.id }}"
            }
          },
          "events": []
        },
        {
          "id": "node-cf6fc8b4-1184-44f0-b364-71ebce47b602",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 105
          },
          "computedPosition": {
            "x": 2359.5143627423904,
            "y": 307.22412833552255,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-cf6fc8b4-1184-44f0-b364-71ebce47b602",
                "position": "right",
                "x": 253,
                "y": 46.546875,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-cf6fc8b4-1184-44f0-b364-71ebce47b602",
                "position": "left",
                "x": -5,
                "y": 46.546875,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 2359.5143627423904,
            "y": 307.22412833552255
          },
          "data": {
            "nodeType": "wazzup_send_message",
            "label": "Wazzup: отправить сообщение",
            "config": {
              "connection_id": "",
              "channel_id": "",
              "chat_type": "telegram",
              "chat_id": "{{ trigger.chat_id }}",
              "text": "{{ trigger.contact_name }}, спасибо! Задача понятна — оборудование опенспейса и переговорок под ключ в сжатые сроки. Под такой проект у нас есть эргономичные рабочие места с кабель-каналами и акустические решения для переговорок. Ваш персональный менеджер свяжется с вами в ближайшее время с расчётом и графиком поставки под ваш срок въезда.",
              "content_uri": null
            }
          },
          "events": []
        },
        {
          "id": "node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031d",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 105
          },
          "computedPosition": {
            "x": 2182.3629585987737,
            "y": 643.2009292975542,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031d",
                "position": "right",
                "x": 253,
                "y": 46.546875,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031d",
                "position": "left",
                "x": -5,
                "y": 46.546875,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 2182.3629585987737,
            "y": 643.2009292975542
          },
          "data": {
            "nodeType": "wazzup_send_message",
            "label": "Wazzup: отправить сообщение",
            "config": {
              "connection_id": "",
              "channel_id": "",
              "chat_type": "telegram",
              "chat_id": "{{ trigger.chat_id }}",
              "text": "Здравствуйте! Направляем стандартные условия для дилеров и партнёров: оптовый прайс-лист и сетку скидок от объёма. Заявку передали менеджеру по работе с партнёрами — он свяжется с вами и согласует условия под ваш объём и сроки комплектации.",
              "content_uri": null
            }
          },
          "events": []
        },
        {
          "id": "node-a41ac096-88e6-455b-b3a6-6a06e35d1931",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 105
          },
          "computedPosition": {
            "x": 1264.5354250615871,
            "y": 782.1731515136674,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-a41ac096-88e6-455b-b3a6-6a06e35d1931",
                "position": "right",
                "x": 253,
                "y": 46.546875,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-a41ac096-88e6-455b-b3a6-6a06e35d1931",
                "position": "left",
                "x": -5,
                "y": 46.546875,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1264.5354250615871,
            "y": 782.1731515136674
          },
          "data": {
            "nodeType": "wazzup_send_message",
            "label": "Wazzup: отправить сообщение",
            "config": {
              "connection_id": "",
              "channel_id": "",
              "chat_type": "telegram",
              "chat_id": "{{ trigger.chat_id }}",
              "text": "Отличный выбор! Такие позиции есть на нашем розничном складе — можно оформить быстро, с оплатой картой и доставкой в выходные. Вот ссылка на карточку товара для покупки: {{ variables.RETAIL_CATALOG_URL }}",
              "content_uri": null
            }
          },
          "events": []
        }
      ],
      "edges": [
        {
          "id": "vueflow__edge-node-03a13575-5df7-4308-98eb-3954a40e0606out-node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6in-1",
          "type": "default",
          "source": "node-03a13575-5df7-4308-98eb-3954a40e0606",
          "target": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-03a13575-5df7-4308-98eb-3954a40e0606",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 122
            },
            "computedPosition": {
              "x": 192,
              "y": 347,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-03a13575-5df7-4308-98eb-3954a40e0606",
                  "position": "right",
                  "x": 253,
                  "y": 54.9453125,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": null
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 192,
              "y": 347
            },
            "data": {
              "nodeType": "wazzup_receive_message",
              "label": "Wazzup: входящее сообщение",
              "config": {
                "connection_id": "",
                "channel_id": "",
                "chat_type": "telegram",
                "webhook_url": ""
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 484,
              "y": 340.5,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 484,
              "y": 340.5
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": "Ты — квалификатор входящих B2B-заявок мебельной фабрики.\nТвоя задача: по тексту клиента определить сегмент.\n\n# Формат ответа (строго)\nВерни РОВНО ОДИН символ: A, B или C.\nБез кавычек, точек, пробелов, переносов, markdown и любых пояснений.\nЕсли ответ содержит что-то кроме одной буквы — он считается неверным.\n\n# Сегменты\nA — «скрытый VIP»: опенспейс/офис под ключ, отдел или команда, переговорки,\nзвукоизоляция, эргономика, сжатые сроки, масштаб от ~30 рабочих мест,\nготовность платить за комфорт (Бизнес/Премиум).\nB — «перекупщик/тендерщик/дилер»: оптовый прайс, условия для дилеров,\nскидка от объёма, «комплектуем объект», эконом-серии (стулья ИСО и т.п.),\nпосредник или снабженец.\nC — «микро-бизнес/розница»: 1 рабочее место, «недорого», физлицо или микро-ИП,\nоплата картой на месте, доставка по выходным, единичные позиции.\n\n# Правила\n- Сомневаешься между B и C — выбери C.\n- Сообщение пустое, спам или непонятное — верни C.\n\n# Примеры\nВход: «Нужно обустроить новый офис на 40 мест под ключ, переговорки, до конца месяца»\nОтвет: A\nВход: «Дайте дилерский прайс, комплектуем объект стульями ИСО, скидка от объёма»\nОтвет: B\nВход: «Здравствуйте, сколько стоит один стул, оплачу картой?»\nОтвет: C",
                "prompt": "Сообщение клиента:\n\"\"\"\n{{ trigger.text }}\n\"\"\"",
                "temperature": "0",
                "max_tokens": "",
                "file_base64": null,
                "file_mime_type": null,
                "memory_enabled": null,
                "memory_session_key": "",
                "memory_global_write": null
              }
            },
            "events": []
          },
          "sourceX": 457,
          "sourceY": 407.9453125,
          "targetX": 479,
          "targetY": 384.6484375
        },
        {
          "id": "vueflow__edge-node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6out-node-ea6e67b0-09ee-4d57-986a-cf0ebff287ddin-1",
          "type": "default",
          "source": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
          "target": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 484,
              "y": 340.5,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-436a5c8b-efe5-4a70-8bf2-9315abe32ff6",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 484,
              "y": 340.5
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": "Ты — квалификатор входящих B2B-заявок мебельной фабрики.\nТвоя задача: по тексту клиента определить сегмент.\n\n# Формат ответа (строго)\nВерни РОВНО ОДИН символ: A, B или C.\nБез кавычек, точек, пробелов, переносов, markdown и любых пояснений.\nЕсли ответ содержит что-то кроме одной буквы — он считается неверным.\n\n# Сегменты\nA — «скрытый VIP»: опенспейс/офис под ключ, отдел или команда, переговорки,\nзвукоизоляция, эргономика, сжатые сроки, масштаб от ~30 рабочих мест,\nготовность платить за комфорт (Бизнес/Премиум).\nB — «перекупщик/тендерщик/дилер»: оптовый прайс, условия для дилеров,\nскидка от объёма, «комплектуем объект», эконом-серии (стулья ИСО и т.п.),\nпосредник или снабженец.\nC — «микро-бизнес/розница»: 1 рабочее место, «недорого», физлицо или микро-ИП,\nоплата картой на месте, доставка по выходным, единичные позиции.\n\n# Правила\n- Сомневаешься между B и C — выбери C.\n- Сообщение пустое, спам или непонятное — верни C.\n\n# Примеры\nВход: «Нужно обустроить новый офис на 40 мест под ключ, переговорки, до конца месяца»\nОтвет: A\nВход: «Дайте дилерский прайс, комплектуем объект стульями ИСО, скидка от объёма»\nОтвет: B\nВход: «Здравствуйте, сколько стоит один стул, оплачу картой?»\nОтвет: C",
                "prompt": "Сообщение клиента:\n\"\"\"\n{{ trigger.text }}\n\"\"\"",
                "temperature": "0",
                "max_tokens": "",
                "file_base64": null,
                "file_mime_type": null,
                "memory_enabled": null,
                "memory_session_key": "",
                "memory_global_write": null
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 813.4335800009386,
              "y": 357.3961364708091,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "case_0",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 15.6171875,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_1",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 36.234375,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_2",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 56.8515625,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "default",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 77.46871948242188,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "left",
                  "x": -5,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 813.4335800009386,
              "y": 357.3961364708091
            },
            "data": {
              "nodeType": "switch",
              "label": "Переключатель",
              "config": {
                "field": "{{ response }}",
                "cases": "[{\"value\":\"A\"},{\"value\":\"B\"},{\"value\":\"C\"}]"
              }
            },
            "events": []
          },
          "sourceX": 709,
          "sourceY": 384.6484375,
          "targetX": 808.4335800009386,
          "targetY": 409.9430114708091
        },
        {
          "id": "vueflow__edge-node-ea6e67b0-09ee-4d57-986a-cf0ebff287ddcase_0-node-546cccf4-725d-4096-99b9-51bb52f08fabin-1",
          "type": "default",
          "source": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
          "target": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
          "sourceHandle": "case_0",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 813.4335800009386,
              "y": 357.3961364708091,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "case_0",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 15.6171875,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_1",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 36.234375,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_2",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 56.8515625,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "default",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 77.46871948242188,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "left",
                  "x": -5,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 813.4335800009386,
              "y": 357.3961364708091
            },
            "data": {
              "nodeType": "switch",
              "label": "Переключатель",
              "config": {
                "field": "{{ response }}",
                "cases": "[{\"value\":\"A\"},{\"value\":\"B\"},{\"value\":\"C\"}]"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 1235.85833865015,
              "y": 306.09483850163997,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1235.85833865015,
              "y": 306.09483850163997
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": "Ты — ассистент отдела продаж мебельной фабрики. По заявке VIP-клиента (сегмент А) собери ОДНУ строку-саммари для менеджера: суть проекта, оценка масштаба (число рабочих мест), маркеры срочности и бюджета, на чём делать упор в презентации. Без переносов строк, до 200 символов, по-деловому.",
                "prompt": "Заявка клиента:\n{{ trigger.text }}",
                "temperature": "0.3",
                "max_tokens": "",
                "file_base64": null,
                "file_mime_type": null,
                "memory_enabled": null,
                "memory_session_key": "",
                "memory_global_write": null
              }
            },
            "events": []
          },
          "sourceX": 1078.4335800009385,
          "sourceY": 379.0133239708091,
          "targetX": 1230.85833865015,
          "targetY": 350.24327600163997
        },
        {
          "id": "vueflow__edge-node-546cccf4-725d-4096-99b9-51bb52f08fabout-node-548d45a7-6ecc-44f0-8adb-4efaa45f0499in-1",
          "type": "default",
          "source": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
          "target": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 1235.85833865015,
              "y": 306.09483850163997,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-546cccf4-725d-4096-99b9-51bb52f08fab",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1235.85833865015,
              "y": 306.09483850163997
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": "Ты — ассистент отдела продаж мебельной фабрики. По заявке VIP-клиента (сегмент А) собери ОДНУ строку-саммари для менеджера: суть проекта, оценка масштаба (число рабочих мест), маркеры срочности и бюджета, на чём делать упор в презентации. Без переносов строк, до 200 символов, по-деловому.",
                "prompt": "Заявка клиента:\n{{ trigger.text }}",
                "temperature": "0.3",
                "max_tokens": "",
                "file_base64": null,
                "file_mime_type": null,
                "memory_enabled": null,
                "memory_session_key": "",
                "memory_global_write": null
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
            "type": "workflow-node",
            "dimensions": {
              "width": 228,
              "height": 88
            },
            "computedPosition": {
              "x": 1627.1016305174073,
              "y": 300.2570968772765,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
                  "position": "right",
                  "x": 221.4921875,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1627.1016305174073,
              "y": 300.2570968772765
            },
            "data": {
              "nodeType": "amo_crm_create_contact",
              "label": "AmoCRM: создать контакт",
              "config": {
                "connection_id": "",
                "first_name": "{{ trigger.contact_name }} ({{ trigger.contact_username }})",
                "last_name": null,
                "second_name": null,
                "phone": "",
                "email": "",
                "responsible_user_id": ""
              }
            },
            "events": []
          },
          "sourceX": 1460.85833865015,
          "sourceY": 350.24327600163997,
          "targetX": 1622.1016305174073,
          "targetY": 344.4055343772765
        },
        {
          "id": "vueflow__edge-node-548d45a7-6ecc-44f0-8adb-4efaa45f0499out-node-9358db18-3229-477f-8ab5-ef26ad525e6fin-1",
          "type": "default",
          "source": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
          "target": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
            "type": "workflow-node",
            "dimensions": {
              "width": 228,
              "height": 88
            },
            "computedPosition": {
              "x": 1627.1016305174073,
              "y": 300.2570968772765,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
                  "position": "right",
                  "x": 221.4921875,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-548d45a7-6ecc-44f0-8adb-4efaa45f0499",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1627.1016305174073,
              "y": 300.2570968772765
            },
            "data": {
              "nodeType": "amo_crm_create_contact",
              "label": "AmoCRM: создать контакт",
              "config": {
                "connection_id": "",
                "first_name": "{{ trigger.contact_name }} ({{ trigger.contact_username }})",
                "last_name": null,
                "second_name": null,
                "phone": "",
                "email": "",
                "responsible_user_id": ""
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
            "type": "workflow-node",
            "dimensions": {
              "width": 222,
              "height": 88
            },
            "computedPosition": {
              "x": 1996.23044607807,
              "y": 297.1846523248986,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
                  "position": "right",
                  "x": 214.84375,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1996.23044607807,
              "y": 297.1846523248986
            },
            "data": {
              "nodeType": "amo_crm_create_lead",
              "label": "AmoCRM: создать сделку",
              "config": {
                "connection_id": "",
                "name": "VIP - {{ node-546cccf4-725d-4096-99b9-51bb52f08fab.response }}",
                "pipeline_id": "",
                "status_id": "",
                "price": null,
                "responsible_user_id": "",
                "contact_id": "{{ contact.id }}"
              }
            },
            "events": []
          },
          "sourceX": 1860.5938180174073,
          "sourceY": 344.4055343772765,
          "targetX": 1991.23044607807,
          "targetY": 341.3330898248986
        },
        {
          "id": "vueflow__edge-node-ea6e67b0-09ee-4d57-986a-cf0ebff287ddcase_1-node-c0610414-1048-42a7-b742-27b6c9e09751in-1",
          "type": "default",
          "source": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
          "target": "node-c0610414-1048-42a7-b742-27b6c9e09751",
          "sourceHandle": "case_1",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 813.4335800009386,
              "y": 357.3961364708091,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "case_0",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 15.6171875,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_1",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 36.234375,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_2",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 56.8515625,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "default",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 77.46871948242188,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "left",
                  "x": -5,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 813.4335800009386,
              "y": 357.3961364708091
            },
            "data": {
              "nodeType": "switch",
              "label": "Переключатель",
              "config": {
                "field": "{{ response }}",
                "cases": "[{\"value\":\"A\"},{\"value\":\"B\"},{\"value\":\"C\"}]"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-c0610414-1048-42a7-b742-27b6c9e09751",
            "type": "workflow-node",
            "dimensions": {
              "width": 228,
              "height": 88
            },
            "computedPosition": {
              "x": 1334.3411121464217,
              "y": 496.26902823045424,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-c0610414-1048-42a7-b742-27b6c9e09751",
                  "position": "right",
                  "x": 221.4921875,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-c0610414-1048-42a7-b742-27b6c9e09751",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1334.3411121464217,
              "y": 496.26902823045424
            },
            "data": {
              "nodeType": "amo_crm_create_contact",
              "label": "AmoCRM: создать контакт",
              "config": {
                "connection_id": "",
                "first_name": "{{ trigger.contact_name }} ({{ trigger.contact_username }})",
                "last_name": null,
                "second_name": null,
                "phone": "",
                "email": "",
                "responsible_user_id": ""
              }
            },
            "events": []
          },
          "sourceX": 1078.4335800009385,
          "sourceY": 399.6305114708091,
          "targetX": 1329.3411121464217,
          "targetY": 540.4174657304543
        },
        {
          "id": "vueflow__edge-node-c0610414-1048-42a7-b742-27b6c9e09751out-node-e76f465a-9644-485c-bb9d-bf27b389560fin-1",
          "type": "default",
          "source": "node-c0610414-1048-42a7-b742-27b6c9e09751",
          "target": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-c0610414-1048-42a7-b742-27b6c9e09751",
            "type": "workflow-node",
            "dimensions": {
              "width": 228,
              "height": 88
            },
            "computedPosition": {
              "x": 1334.3411121464217,
              "y": 496.26902823045424,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-c0610414-1048-42a7-b742-27b6c9e09751",
                  "position": "right",
                  "x": 221.4921875,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-c0610414-1048-42a7-b742-27b6c9e09751",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1334.3411121464217,
              "y": 496.26902823045424
            },
            "data": {
              "nodeType": "amo_crm_create_contact",
              "label": "AmoCRM: создать контакт",
              "config": {
                "connection_id": "",
                "first_name": "{{ trigger.contact_name }} ({{ trigger.contact_username }})",
                "last_name": null,
                "second_name": null,
                "phone": "",
                "email": "",
                "responsible_user_id": ""
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
            "type": "workflow-node",
            "dimensions": {
              "width": 222,
              "height": 88
            },
            "computedPosition": {
              "x": 1788.6556322803622,
              "y": 541.5950708424251,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
                  "position": "right",
                  "x": 214.84375,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1788.6556322803622,
              "y": 541.5950708424251
            },
            "data": {
              "nodeType": "amo_crm_create_lead",
              "label": "AmoCRM: создать сделку",
              "config": {
                "connection_id": "",
                "name": "Дилер/опт - {{ trigger.contact_name }}",
                "pipeline_id": "",
                "status_id": "",
                "price": null,
                "responsible_user_id": "",
                "contact_id": "{{ contact.id }}"
              }
            },
            "events": []
          },
          "sourceX": 1567.8332996464217,
          "sourceY": 540.4174657304543,
          "targetX": 1783.6556322803622,
          "targetY": 585.7435083424251
        },
        {
          "id": "vueflow__edge-node-9358db18-3229-477f-8ab5-ef26ad525e6fout-node-cf6fc8b4-1184-44f0-b364-71ebce47b602in-1",
          "type": "default",
          "source": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
          "target": "node-cf6fc8b4-1184-44f0-b364-71ebce47b602",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
            "type": "workflow-node",
            "dimensions": {
              "width": 222,
              "height": 88
            },
            "computedPosition": {
              "x": 1996.23044607807,
              "y": 297.1846523248986,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
                  "position": "right",
                  "x": 214.84375,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-9358db18-3229-477f-8ab5-ef26ad525e6f",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1996.23044607807,
              "y": 297.1846523248986
            },
            "data": {
              "nodeType": "amo_crm_create_lead",
              "label": "AmoCRM: создать сделку",
              "config": {
                "connection_id": "",
                "name": "VIP - {{ node-546cccf4-725d-4096-99b9-51bb52f08fab.response }}",
                "pipeline_id": "",
                "status_id": "",
                "price": null,
                "responsible_user_id": "",
                "contact_id": "{{ contact.id }}"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-cf6fc8b4-1184-44f0-b364-71ebce47b602",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 2359.5143627423904,
              "y": 307.22412833552255,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-cf6fc8b4-1184-44f0-b364-71ebce47b602",
                  "position": "right",
                  "x": 253,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-cf6fc8b4-1184-44f0-b364-71ebce47b602",
                  "position": "left",
                  "x": -5,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 2359.5143627423904,
              "y": 307.22412833552255
            },
            "data": {
              "nodeType": "wazzup_send_message",
              "label": "Wazzup: отправить сообщение",
              "config": {
                "connection_id": "",
                "channel_id": "",
                "chat_type": "telegram",
                "chat_id": "{{ trigger.chat_id }}",
                "text": "{{ trigger.contact_name }}, спасибо! Задача понятна — оборудование опенспейса и переговорок под ключ в сжатые сроки. Под такой проект у нас есть эргономичные рабочие места с кабель-каналами и акустические решения для переговорок. Ваш персональный менеджер свяжется с вами в ближайшее время с расчётом и графиком поставки под ваш срок въезда.",
                "content_uri": null
              }
            },
            "events": []
          },
          "sourceX": 2223.0741960780697,
          "sourceY": 341.3330898248986,
          "targetX": 2354.5143627423904,
          "targetY": 359.77100333552255
        },
        {
          "id": "vueflow__edge-node-e76f465a-9644-485c-bb9d-bf27b389560fout-node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031din-1",
          "type": "default",
          "source": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
          "target": "node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031d",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
            "type": "workflow-node",
            "dimensions": {
              "width": 222,
              "height": 88
            },
            "computedPosition": {
              "x": 1788.6556322803622,
              "y": 541.5950708424251,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
                  "position": "right",
                  "x": 214.84375,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-e76f465a-9644-485c-bb9d-bf27b389560f",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1788.6556322803622,
              "y": 541.5950708424251
            },
            "data": {
              "nodeType": "amo_crm_create_lead",
              "label": "AmoCRM: создать сделку",
              "config": {
                "connection_id": "",
                "name": "Дилер/опт - {{ trigger.contact_name }}",
                "pipeline_id": "",
                "status_id": "",
                "price": null,
                "responsible_user_id": "",
                "contact_id": "{{ contact.id }}"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031d",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 2182.3629585987737,
              "y": 643.2009292975542,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031d",
                  "position": "right",
                  "x": 253,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-4cdbfe0c-3d6f-4ed3-9d76-f0993061031d",
                  "position": "left",
                  "x": -5,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 2182.3629585987737,
              "y": 643.2009292975542
            },
            "data": {
              "nodeType": "wazzup_send_message",
              "label": "Wazzup: отправить сообщение",
              "config": {
                "connection_id": "",
                "channel_id": "",
                "chat_type": "telegram",
                "chat_id": "{{ trigger.chat_id }}",
                "text": "Здравствуйте! Направляем стандартные условия для дилеров и партнёров: оптовый прайс-лист и сетку скидок от объёма. Заявку передали менеджеру по работе с партнёрами — он свяжется с вами и согласует условия под ваш объём и сроки комплектации.",
                "content_uri": null
              }
            },
            "events": []
          },
          "sourceX": 2015.4993822803622,
          "sourceY": 585.7435083424251,
          "targetX": 2177.3629585987737,
          "targetY": 695.7478042975542
        },
        {
          "id": "vueflow__edge-node-ea6e67b0-09ee-4d57-986a-cf0ebff287ddcase_2-node-a41ac096-88e6-455b-b3a6-6a06e35d1931in-1",
          "type": "default",
          "source": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
          "target": "node-a41ac096-88e6-455b-b3a6-6a06e35d1931",
          "sourceHandle": "case_2",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 813.4335800009386,
              "y": 357.3961364708091,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "case_0",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 15.6171875,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_1",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 36.234375,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "case_2",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 56.8515625,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "default",
                  "type": "source",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "right",
                  "x": 253,
                  "y": 77.46871948242188,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-ea6e67b0-09ee-4d57-986a-cf0ebff287dd",
                  "position": "left",
                  "x": -5,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 813.4335800009386,
              "y": 357.3961364708091
            },
            "data": {
              "nodeType": "switch",
              "label": "Переключатель",
              "config": {
                "field": "{{ response }}",
                "cases": "[{\"value\":\"A\"},{\"value\":\"B\"},{\"value\":\"C\"}]"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-a41ac096-88e6-455b-b3a6-6a06e35d1931",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 1264.5354250615871,
              "y": 782.1731515136674,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-a41ac096-88e6-455b-b3a6-6a06e35d1931",
                  "position": "right",
                  "x": 253,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-a41ac096-88e6-455b-b3a6-6a06e35d1931",
                  "position": "left",
                  "x": -5,
                  "y": 46.546875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1264.5354250615871,
              "y": 782.1731515136674
            },
            "data": {
              "nodeType": "wazzup_send_message",
              "label": "Wazzup: отправить сообщение",
              "config": {
                "connection_id": "",
                "channel_id": "",
                "chat_type": "telegram",
                "chat_id": "{{ trigger.chat_id }}",
                "text": "Отличный выбор! Такие позиции есть на нашем розничном складе — можно оформить быстро, с оплатой картой и доставкой в выходные. Вот ссылка на карточку товара для покупки: {{ variables.RETAIL_CATALOG_URL }}",
                "content_uri": null
              }
            },
            "events": []
          },
          "sourceX": 1078.4335800009385,
          "sourceY": 420.2476989708091,
          "targetX": 1259.5354250615871,
          "targetY": 834.7200265136674
        }
      ],
      "viewport": {
        "x": 0,
        "y": 0,
        "zoom": 1
      }
    }
  },
  "variables": [
    {
      "type": "variable",
      "key": "RETAIL_CATALOG_URL",
      "value": ""
    }
  ]
}
