{
  "format": "podpislon-workflow",
  "version": 1,
  "exported_at": "2026-08-05T16:34:16+00:00",
  "workflow": {
    "name": "Чат-бот для поиска информации о компании",
    "definition": {
      "nodes": [
        {
          "id": "node-a3c66ef3-3be0-46f2-bebd-12a93d6dece3",
          "type": "workflow-node",
          "dimensions": {
            "width": 220,
            "height": 88
          },
          "computedPosition": {
            "x": -81.36113889432139,
            "y": 372.03920057834574,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-a3c66ef3-3be0-46f2-bebd-12a93d6dece3",
                "position": "right",
                "x": 212.99999237060547,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": null
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": -81.36113889432139,
            "y": 372.03920057834574
          },
          "data": {
            "nodeType": "webhook",
            "label": "Webhook",
            "config": {
              "method": "POST"
            }
          },
          "events": []
        },
        {
          "id": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
          "type": "workflow-node",
          "dimensions": {
            "width": 220,
            "height": 88
          },
          "computedPosition": {
            "x": 992.3548555389309,
            "y": 350.8884120098094,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
                "position": "right",
                "x": 213,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 992.3548555389309,
            "y": 350.8884120098094
          },
          "data": {
            "nodeType": "ai_agent",
            "label": "AI-агент",
            "config": {
              "model": "google/gemini-3.5-flash",
              "system_prompt": null,
              "prompt": "Определи по сообщению пользователя сферу деятельности компании. В ответе отдай только id этой отрасли\n\nСообщение пользователя: {{ trigger.json.data.PARAMS.MESSAGE }}\n\nСферы деятельности компаний: {{ fields.UF_CRM_1 }}",
              "temperature": null,
              "max_tokens": null
            }
          },
          "events": []
        },
        {
          "id": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
          "type": "workflow-node",
          "dimensions": {
            "width": 220,
            "height": 88
          },
          "computedPosition": {
            "x": 1851.6677784024662,
            "y": 351.5057761927919,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
                "position": "right",
                "x": 213,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1851.6677784024662,
            "y": 351.5057761927919
          },
          "data": {
            "nodeType": "ai_agent",
            "label": "AI-агент",
            "config": {
              "model": "google/gemini-3.5-flash",
              "system_prompt": null,
              "prompt": "Список компаний: {{ companies }}\n\nИспользуя инструмент веб-поиска определи потенциал этих компаний и порекомендуй дальнейшие шаги по коммуникациям и взаимодействиям, контакты, тексты писем.\n\nОтвет дай в формате для Битрикс24 без markdown и bbcode, просто с переносами строк. Рекомендации по битриксу в ответе давать не надо.",
              "temperature": null,
              "max_tokens": null,
              "mcp_connection_ids": []
            }
          },
          "events": []
        },
        {
          "id": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 105
          },
          "computedPosition": {
            "x": 637.2791523865418,
            "y": 155.45881007722627,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
                "position": "right",
                "x": 253,
                "y": 46.54685974121094,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
                "position": "left",
                "x": -5,
                "y": 46.54685974121094,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 637.2791523865418,
            "y": 155.45881007722627
          },
          "data": {
            "nodeType": "bitrix24_get_company_fields",
            "label": "Bitrix24: поля компании",
            "config": {
              "connection_id": ""
            }
          },
          "events": []
        },
        {
          "id": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
          "type": "workflow-node",
          "dimensions": {
            "width": 236,
            "height": 88
          },
          "computedPosition": {
            "x": 1404.7763012446278,
            "y": 156.6939504962001,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
                "position": "right",
                "x": 229.21875,
                "y": 38.14845275878906,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
                "position": "left",
                "x": -5,
                "y": 38.14845275878906,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 1404.7763012446278,
            "y": 156.6939504962001
          },
          "data": {
            "nodeType": "bitrix24_get_companies",
            "label": "Bitrix24: компании",
            "config": {
              "connection_id": "",
              "f_UF_CRM_1": "{{ response }}",
              "select_fields": "TITLE,UF_CRM_1"
            }
          },
          "events": []
        },
        {
          "id": "node-36faf53c-99c0-42f7-a478-4367e5e42a9f",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 126
          },
          "computedPosition": {
            "x": 2288.98618388527,
            "y": 628.5194063230515,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-36faf53c-99c0-42f7-a478-4367e5e42a9f",
                "position": "right",
                "x": 253,
                "y": 57.046875,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-36faf53c-99c0-42f7-a478-4367e5e42a9f",
                "position": "left",
                "x": -5,
                "y": 57.046875,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 2288.98618388527,
            "y": 628.5194063230515
          },
          "data": {
            "nodeType": "bitrix24_send_chat_message",
            "label": "Bitrix24: отправить сообщение в чат",
            "config": {
              "connection_id": "",
              "bot_id": "{{ trigger.json.data.BOT.1.BOT_ID }}",
              "dialog_id": "{{ trigger.json.data.PARAMS.DIALOG_ID }}",
              "message": "{{ response }}",
              "client_id": "{{ trigger.json.auth.application_token }}"
            }
          },
          "events": []
        },
        {
          "id": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
          "type": "workflow-node",
          "dimensions": {
            "width": 220,
            "height": 88
          },
          "computedPosition": {
            "x": 271.9181241670831,
            "y": 373.39163292809695,
            "z": 0
          },
          "handleBounds": {
            "source": [
              {
                "id": "true",
                "type": "source",
                "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                "position": "right",
                "x": 213,
                "y": 23.765625,
                "width": 12,
                "height": 12
              },
              {
                "id": "false",
                "type": "source",
                "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                "position": "right",
                "x": 213,
                "y": 52.53125,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                "position": "left",
                "x": -5,
                "y": 38.1484375,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": false,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 271.9181241670831,
            "y": 373.39163292809695
          },
          "data": {
            "nodeType": "if",
            "label": "Условие",
            "config": {
              "left": "{{ trigger.json.event }}",
              "operator": "eq",
              "right": "ONIMBOTMESSAGEADD"
            }
          },
          "events": []
        },
        {
          "id": "node-97561326-91f7-41d5-a5e9-bbde4cc65a95",
          "type": "workflow-node",
          "dimensions": {
            "width": 260,
            "height": 126
          },
          "computedPosition": {
            "x": 652.1275660224801,
            "y": 625.1148889928448,
            "z": 1000
          },
          "handleBounds": {
            "source": [
              {
                "id": "out",
                "type": "source",
                "nodeId": "node-97561326-91f7-41d5-a5e9-bbde4cc65a95",
                "position": "right",
                "x": 253,
                "y": 57.046875,
                "width": 12,
                "height": 12
              }
            ],
            "target": [
              {
                "id": "in-1",
                "type": "target",
                "nodeId": "node-97561326-91f7-41d5-a5e9-bbde4cc65a95",
                "position": "left",
                "x": -5,
                "y": 57.046875,
                "width": 12,
                "height": 12
              }
            ]
          },
          "selected": true,
          "dragging": false,
          "resizing": false,
          "initialized": false,
          "isParent": false,
          "position": {
            "x": 652.1275660224801,
            "y": 625.1148889928448
          },
          "data": {
            "nodeType": "bitrix24_send_chat_message",
            "label": "Bitrix24: отправить сообщение в чат",
            "config": {
              "connection_id": "",
              "bot_id": "{{ trigger.json.data.BOT.1.BOT_ID }}",
              "dialog_id": "{{ trigger.json.data.PARAMS.DIALOG_ID }}",
              "message": "Привет! Я бот аналитик по компаниям",
              "client_id": "{{ trigger.json.auth.application_token }}"
            }
          },
          "events": []
        }
      ],
      "edges": [
        {
          "id": "vueflow__edge-node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937caout-node-76d2c690-d221-4675-b232-a04a7cff5ee5in-1",
          "type": "default",
          "source": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
          "target": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 637.2791523865418,
              "y": 155.45881007722627,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
                  "position": "right",
                  "x": 253,
                  "y": 46.54685974121094,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
                  "position": "left",
                  "x": -5,
                  "y": 46.54685974121094,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 637.2791523865418,
              "y": 155.45881007722627
            },
            "data": {
              "nodeType": "bitrix24_get_company_fields",
              "label": "Bitrix24: поля компании",
              "config": {
                "connection_id": ""
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 992.3548555389309,
              "y": 350.8884120098094,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 992.3548555389309,
              "y": 350.8884120098094
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": null,
                "prompt": "Определи по сообщению пользователя сферу деятельности компании. В ответе отдай только id этой отрасли\n\nСообщение пользователя: {{ trigger.json.data.PARAMS.MESSAGE }}\n\nСферы деятельности компаний: {{ fields.UF_CRM_1 }}",
                "temperature": null,
                "max_tokens": null
              }
            },
            "events": []
          },
          "sourceX": 902.2791523865418,
          "sourceY": 208.0056698184372,
          "targetX": 987.3548555389309,
          "targetY": 395.0368495098094,
          "selected": false
        },
        {
          "id": "vueflow__edge-node-76d2c690-d221-4675-b232-a04a7cff5ee5out-node-6622bfad-c268-4475-8953-5277a6c5afb8in-1",
          "type": "default",
          "source": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
          "target": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 992.3548555389309,
              "y": 350.8884120098094,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-76d2c690-d221-4675-b232-a04a7cff5ee5",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 992.3548555389309,
              "y": 350.8884120098094
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": null,
                "prompt": "Определи по сообщению пользователя сферу деятельности компании. В ответе отдай только id этой отрасли\n\nСообщение пользователя: {{ trigger.json.data.PARAMS.MESSAGE }}\n\nСферы деятельности компаний: {{ fields.UF_CRM_1 }}",
                "temperature": null,
                "max_tokens": null
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
            "type": "workflow-node",
            "dimensions": {
              "width": 236,
              "height": 88
            },
            "computedPosition": {
              "x": 1404.7763012446278,
              "y": 156.6939504962001,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
                  "position": "right",
                  "x": 229.21875,
                  "y": 38.14845275878906,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
                  "position": "left",
                  "x": -5,
                  "y": 38.14845275878906,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1404.7763012446278,
              "y": 156.6939504962001
            },
            "data": {
              "nodeType": "bitrix24_get_companies",
              "label": "Bitrix24: компании",
              "config": {
                "connection_id": "",
                "f_UF_CRM_1": "{{ response }}",
                "select_fields": "TITLE,UF_CRM_1"
              }
            },
            "events": []
          },
          "sourceX": 1217.354855538931,
          "sourceY": 395.0368495098094,
          "targetX": 1399.7763012446278,
          "targetY": 200.84240325498916
        },
        {
          "id": "vueflow__edge-node-6622bfad-c268-4475-8953-5277a6c5afb8out-node-d1431689-c904-41c8-bea4-9e8f6d9ab07din-1",
          "type": "default",
          "source": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
          "target": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
            "type": "workflow-node",
            "dimensions": {
              "width": 236,
              "height": 88
            },
            "computedPosition": {
              "x": 1404.7763012446278,
              "y": 156.6939504962001,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
                  "position": "right",
                  "x": 229.21875,
                  "y": 38.14845275878906,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-6622bfad-c268-4475-8953-5277a6c5afb8",
                  "position": "left",
                  "x": -5,
                  "y": 38.14845275878906,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1404.7763012446278,
              "y": 156.6939504962001
            },
            "data": {
              "nodeType": "bitrix24_get_companies",
              "label": "Bitrix24: компании",
              "config": {
                "connection_id": "",
                "f_UF_CRM_1": "{{ response }}",
                "select_fields": "TITLE,UF_CRM_1"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 1851.6677784024662,
              "y": 351.5057761927919,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1851.6677784024662,
              "y": 351.5057761927919
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": null,
                "prompt": "Список компаний: {{ companies }}\n\nИспользуя инструмент веб-поиска определи потенциал этих компаний и порекомендуй дальнейшие шаги по коммуникациям и взаимодействиям, контакты, тексты писем.\n\nОтвет дай в формате для Битрикс24 без markdown и bbcode, просто с переносами строк. Рекомендации по битриксу в ответе давать не надо.",
                "temperature": null,
                "max_tokens": null,
                "mcp_connection_ids": null
              }
            },
            "events": []
          },
          "sourceX": 1645.9950512446278,
          "sourceY": 200.84240325498916,
          "targetX": 1846.6677784024662,
          "targetY": 395.6542136927919
        },
        {
          "id": "vueflow__edge-node-d1431689-c904-41c8-bea4-9e8f6d9ab07dout-node-36faf53c-99c0-42f7-a478-4367e5e42a9fin-1",
          "type": "default",
          "source": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
          "target": "node-36faf53c-99c0-42f7-a478-4367e5e42a9f",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 1851.6677784024662,
              "y": 351.5057761927919,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
                  "position": "right",
                  "x": 213,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-d1431689-c904-41c8-bea4-9e8f6d9ab07d",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 1851.6677784024662,
              "y": 351.5057761927919
            },
            "data": {
              "nodeType": "ai_agent",
              "label": "AI-агент",
              "config": {
                "model": "google/gemini-3.5-flash",
                "system_prompt": null,
                "prompt": "Список компаний: {{ companies }}\n\nИспользуя инструмент веб-поиска определи потенциал этих компаний и порекомендуй дальнейшие шаги по коммуникациям и взаимодействиям, контакты, тексты писем.\n\nОтвет дай в формате для Битрикс24 без markdown и bbcode, просто с переносами строк. Рекомендации по битриксу в ответе давать не надо.",
                "temperature": null,
                "max_tokens": null,
                "mcp_connection_ids": null
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-36faf53c-99c0-42f7-a478-4367e5e42a9f",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 126
            },
            "computedPosition": {
              "x": 2288.98618388527,
              "y": 628.5194063230515,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-36faf53c-99c0-42f7-a478-4367e5e42a9f",
                  "position": "right",
                  "x": 253,
                  "y": 57.046875,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-36faf53c-99c0-42f7-a478-4367e5e42a9f",
                  "position": "left",
                  "x": -5,
                  "y": 57.046875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 2288.98618388527,
              "y": 628.5194063230515
            },
            "data": {
              "nodeType": "bitrix24_send_chat_message",
              "label": "Bitrix24: отправить сообщение в чат",
              "config": {
                "connection_id": "",
                "bot_id": "{{ trigger.json.data.BOT.1.BOT_ID }}",
                "dialog_id": "{{ trigger.json.data.PARAMS.DIALOG_ID }}",
                "message": "{{ response }}",
                "client_id": "{{ trigger.json.auth.application_token }}"
              }
            },
            "events": []
          },
          "sourceX": 2076.667778402466,
          "sourceY": 395.6542136927919,
          "targetX": 2283.98618388527,
          "targetY": 691.5662813230515
        },
        {
          "id": "vueflow__edge-node-a3c66ef3-3be0-46f2-bebd-12a93d6dece3out-node-28e70541-d012-48a1-82de-1fa077b25ccfin-1",
          "type": "default",
          "source": "node-a3c66ef3-3be0-46f2-bebd-12a93d6dece3",
          "target": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
          "sourceHandle": "out",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-a3c66ef3-3be0-46f2-bebd-12a93d6dece3",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": -81.36113889432139,
              "y": 372.03920057834574,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-a3c66ef3-3be0-46f2-bebd-12a93d6dece3",
                  "position": "right",
                  "x": 212.99999237060547,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": null
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": -81.36113889432139,
              "y": 372.03920057834574
            },
            "data": {
              "nodeType": "webhook",
              "label": "Webhook",
              "config": {
                "method": "POST"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 271.9181241670831,
              "y": 373.39163292809695,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "true",
                  "type": "source",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "right",
                  "x": 213,
                  "y": 23.765625,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "false",
                  "type": "source",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "right",
                  "x": 213,
                  "y": 52.53125,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 271.9181241670831,
              "y": 373.39163292809695
            },
            "data": {
              "nodeType": "if",
              "label": "Условие",
              "config": {
                "left": "{{ trigger.json.event }}",
                "operator": "eq",
                "right": "ONIMBOTMESSAGEADD"
              }
            },
            "events": []
          },
          "sourceX": 143.63885347628408,
          "sourceY": 416.18763807834574,
          "targetX": 266.9181241670831,
          "targetY": 417.54007042809695
        },
        {
          "id": "vueflow__edge-node-28e70541-d012-48a1-82de-1fa077b25ccftrue-node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937cain-1",
          "type": "default",
          "source": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
          "target": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
          "sourceHandle": "true",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 271.9181241670831,
              "y": 373.39163292809695,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "true",
                  "type": "source",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "right",
                  "x": 213,
                  "y": 23.765625,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "false",
                  "type": "source",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "right",
                  "x": 213,
                  "y": 52.53125,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 271.9181241670831,
              "y": 373.39163292809695
            },
            "data": {
              "nodeType": "if",
              "label": "Условие",
              "config": {
                "left": "{{ trigger.json.event }}",
                "operator": "eq",
                "right": "ONIMBOTMESSAGEADD"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 105
            },
            "computedPosition": {
              "x": 637.2791523865418,
              "y": 155.45881007722627,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
                  "position": "right",
                  "x": 253,
                  "y": 46.54685974121094,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-bdd32dc1-f2fc-4eed-a7f3-bac8fd2937ca",
                  "position": "left",
                  "x": -5,
                  "y": 46.54685974121094,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 637.2791523865418,
              "y": 155.45881007722627
            },
            "data": {
              "nodeType": "bitrix24_get_company_fields",
              "label": "Bitrix24: поля компании",
              "config": {
                "connection_id": ""
              }
            },
            "events": []
          },
          "sourceX": 496.9181241670831,
          "sourceY": 403.15725792809695,
          "targetX": 632.2791523865418,
          "targetY": 208.0056698184372
        },
        {
          "id": "vueflow__edge-node-28e70541-d012-48a1-82de-1fa077b25ccffalse-node-97561326-91f7-41d5-a5e9-bbde4cc65a95in-1",
          "type": "default",
          "source": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
          "target": "node-97561326-91f7-41d5-a5e9-bbde4cc65a95",
          "sourceHandle": "false",
          "targetHandle": "in-1",
          "data": [],
          "events": [],
          "label": null,
          "style": {
            "strokeWidth": 2.5,
            "stroke": "#9ca3af"
          },
          "sourceNode": {
            "id": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
            "type": "workflow-node",
            "dimensions": {
              "width": 220,
              "height": 88
            },
            "computedPosition": {
              "x": 271.9181241670831,
              "y": 373.39163292809695,
              "z": 0
            },
            "handleBounds": {
              "source": [
                {
                  "id": "true",
                  "type": "source",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "right",
                  "x": 213,
                  "y": 23.765625,
                  "width": 12,
                  "height": 12
                },
                {
                  "id": "false",
                  "type": "source",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "right",
                  "x": 213,
                  "y": 52.53125,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-28e70541-d012-48a1-82de-1fa077b25ccf",
                  "position": "left",
                  "x": -5,
                  "y": 38.1484375,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": false,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 271.9181241670831,
              "y": 373.39163292809695
            },
            "data": {
              "nodeType": "if",
              "label": "Условие",
              "config": {
                "left": "{{ trigger.json.event }}",
                "operator": "eq",
                "right": "ONIMBOTMESSAGEADD"
              }
            },
            "events": []
          },
          "targetNode": {
            "id": "node-97561326-91f7-41d5-a5e9-bbde4cc65a95",
            "type": "workflow-node",
            "dimensions": {
              "width": 260,
              "height": 126
            },
            "computedPosition": {
              "x": 652.1275660224801,
              "y": 625.1148889928448,
              "z": 1000
            },
            "handleBounds": {
              "source": [
                {
                  "id": "out",
                  "type": "source",
                  "nodeId": "node-97561326-91f7-41d5-a5e9-bbde4cc65a95",
                  "position": "right",
                  "x": 253,
                  "y": 57.046875,
                  "width": 12,
                  "height": 12
                }
              ],
              "target": [
                {
                  "id": "in-1",
                  "type": "target",
                  "nodeId": "node-97561326-91f7-41d5-a5e9-bbde4cc65a95",
                  "position": "left",
                  "x": -5,
                  "y": 57.046875,
                  "width": 12,
                  "height": 12
                }
              ]
            },
            "selected": true,
            "dragging": false,
            "resizing": false,
            "initialized": false,
            "isParent": false,
            "position": {
              "x": 652.1275660224801,
              "y": 625.1148889928448
            },
            "data": {
              "nodeType": "bitrix24_send_chat_message",
              "label": "Bitrix24: отправить сообщение в чат",
              "config": {
                "connection_id": "",
                "bot_id": "{{ trigger.json.data.BOT.1.BOT_ID }}",
                "dialog_id": "{{ trigger.json.data.PARAMS.DIALOG_ID }}",
                "message": "Привет! Я бот аналитик по компаниям",
                "client_id": "{{ trigger.json.auth.application_token }}"
              }
            },
            "events": []
          },
          "sourceX": 496.9181241670831,
          "sourceY": 431.92288292809695,
          "targetX": 647.1275660224801,
          "targetY": 688.1617639928448
        }
      ],
      "viewport": {
        "x": 0,
        "y": 0,
        "zoom": 1
      }
    }
  },
  "variables": []
}
