{
  "name": "My workflow 8",
  "nodes": [
    {
      "parameters": {
        "content": "",
        "height": 772,
        "width": 1580,
        "color": 7
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        672,
        64
      ],
      "id": "6f5e9fb2-183b-44c5-bfa1-94e9d59d8a0a",
      "name": "Sticky Note"
    },
    {
      "parameters": {
        "url": "={{ $json.data.screenshot }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          },
          "timeout": 30000
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1520,
        160
      ],
      "id": "36a60702-05c9-4e4a-97ae-326c61ed3614",
      "name": "\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442",
      "continueOnFail": true
    },
    {
      "parameters": {
        "mode": "combine",
        "combineBy": "combineAll",
        "options": {}
      },
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3.1,
      "position": [
        1824,
        320
      ],
      "id": "a9655098-64ee-4e43-a5ba-3522b10429ed",
      "name": "\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445"
    },
    {
      "parameters": {
        "content": "",
        "height": 200,
        "width": 190,
        "color": 3
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        944,
        272
      ],
      "id": "59794b3c-b1a0-4dac-8874-d9766b5594b0",
      "name": "Sticky Note4"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "78942da2-4425-4247-8083-35e40037b54a",
              "name": "url_site",
              "value": "={{ $json.chatInput }}",
              "type": "string"
            },
            {
              "id": "dda7ff2b-feb9-4bcd-a1e3-fd0e2be71d41",
              "name": "api_key_firecrawl",
              "value": "\u0412\u0421\u0422\u0410\u0412\u0418\u0422\u042c \u041a\u041b\u042e\u0427 https://www.firecrawl.dev/app/api-keys",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        976,
        320
      ],
      "id": "8ba77111-5982-4417-8141-956818923a77",
      "name": "API \u041a\u041b\u042e\u0427\u0418"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.1,
      "position": [
        752,
        320
      ],
      "id": "505eb3bb-5185-45bf-9d9b-07939fba332e",
      "name": "When chat message received"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "={{ $json.data.markdown }}",
        "messages": {
          "messageValues": [
            {
              "message": "==\u0422\u044b \u2014 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a \u0432\u0435\u0431-\u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0434\u043b\u044f Telegram-\u043a\u0430\u043d\u0430\u043b\u0430 \u043e\u0431 \u0418\u0418, \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u0445 \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u0422\u0435\u0431\u0435 \u0434\u0430\u043d \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438 \u0422\u0418\u041f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u0439 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0432\u044b\u0436\u0438\u043c\u043a\u0443 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u0434\u043b\u044f Telegram \u0441 parse_mode=HTML.\n\n\u042d\u0422\u0410\u041f 1 - \u041e\u041f\u0420\u0415\u0414\u0415\u041b\u0418 \u0422\u0418\u041f:\n- \u041a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0430\u0439\u0442/\u043b\u0435\u043d\u0434\u0438\u043d\u0433 (\u043f\u0440\u043e\u0434\u0430\u044e\u0442 \u0443\u0441\u043b\u0443\u0433\u0438/\u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b)\n- \u0421\u0442\u0430\u0442\u044c\u044f/\u0431\u043b\u043e\u0433 (\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442)\n- \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f/\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\n- \u041d\u043e\u0432\u043e\u0441\u0442\u0438/\u0430\u043d\u043e\u043d\u0441\u044b\n\n\u042d\u0422\u0410\u041f 2 - \u0421\u0422\u0420\u0423\u041a\u0422\u0423\u0420\u0410 \u041f\u041e \u0422\u0418\u041f\u0423:\n\n\u0414\u041b\u042f \u041a\u041e\u041c\u041c\u0415\u0420\u0427\u0415\u0421\u041a\u0418\u0425 \u0421\u0410\u0419\u0422\u041e\u0412:\n1) <b>\u0427\u0442\u043e \u044d\u0442\u043e:</b> \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f/\u0430\u0433\u0435\u043d\u0442\u0441\u0442\u0432\u043e + \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432 1 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438\n2) <b>\u0423\u0441\u043b\u0443\u0433\u0438:</b> \u041a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 (2-3 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0411\u0415\u0417 \u0426\u0415\u041d \u0435\u0441\u043b\u0438 \u0446\u0435\u043d\u044b \u043d\u0435\u0442\u043e\u0447\u043d\u044b\u0435)\n3) <b>\u0414\u043b\u044f \u043a\u043e\u0433\u043e:</b> \u0426\u0435\u043b\u0435\u0432\u0430\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044f + \u043a\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0440\u0435\u0448\u0430\u044e\u0442\n4) <b>\u041a\u0430\u043a \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c:</b> \u0421\u043f\u043e\u0441\u043e\u0431 \u0441\u0432\u044f\u0437\u0438 \u0438\u043b\u0438 \u043f\u0440\u0438\u0437\u044b\u0432 \u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044e\n\n\u0414\u041b\u042f \u0421\u0422\u0410\u0422\u0415\u0419/\u0411\u041b\u041e\u0413\u041e\u0412:\n1) <b>\u041e \u0447\u0451\u043c \u0441\u0442\u0430\u0442\u044c\u044f:</b> \u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0442\u0435\u043c\u0430 \u0432 1-2 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445\n2) <b>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0444\u0430\u043a\u0442\u044b:</b> 2-3 \u0433\u043b\u0430\u0432\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0431\u0435\u0437 \u0432\u043e\u0434\u044b\n3) <b>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u043e\u043b\u044c\u0437\u0430:</b> \u0427\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u0443\u0437\u043d\u0430\u0435\u0442/\u043f\u043e\u0439\u043c\u0435\u0442\n4) \u041f\u0440\u0438\u0437\u044b\u0432: \"\u0414\u0435\u0442\u0430\u043b\u0438 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435\" \u0438\u043b\u0438 \"\u0421\u043e\u0445\u0440\u0430\u043d\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435\"\n\n\u0424\u041e\u0420\u041c\u0410\u0422\u0418\u0420\u041e\u0412\u0410\u041d\u0418\u0415 \u0414\u041b\u042f TELEGRAM HTML:\n- \u0422\u043e\u043d: \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u0439, \u0431\u0435\u0437 \u0432\u043e\u0434\u044b \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432\n- \u042d\u043c\u043e\u0434\u0437\u0438: 1-2 \u0434\u043b\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b\n- \u0414\u043b\u0438\u043d\u0430: \u2264 600 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 (\u0441 \u0442\u0435\u0433\u0430\u043c\u0438)\n- \u041f\u0415\u0420\u0415\u041d\u041e\u0421\u042b \u0421\u0422\u0420\u041e\u041a: \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 \u043c\u0435\u0436\u0434\u0443 \u0431\u043b\u043e\u043a\u0430\u043c\u0438\n- \u0420\u0430\u0437\u043c\u0435\u0442\u043a\u0430: \u0422\u041e\u041b\u042c\u041a\u041e <b> \u0438 <i> (\u0442\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u0438 \u0442\u0435\u0433\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f!)\n- \u0421\u0422\u0420\u041e\u0413\u041e \u0417\u0410\u041f\u0420\u0415\u0429\u0415\u041d\u041e: <br>, <br/>, <p>, <div>, <strong>, <em>, <code>, <pre>, <blockquote>, <a>, \u043b\u044e\u0431\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0435\u0433\u0438\n- \u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a, \u0445\u044d\u0448\u0442\u0435\u0433\u043e\u0432, \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0439\n- \u0412\u0410\u0416\u041d\u041e \u041f\u041e \u0426\u0415\u041d\u0410\u041c: \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0439 \u0446\u0435\u043d\u044b \u0422\u041e\u0427\u041d\u041e \u043a\u0430\u043a \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 (\u0434\u043e\u043b\u043b\u0430\u0440\u044b, \u0440\u0443\u0431\u043b\u0438, \u0435\u0432\u0440\u043e) \u0438\u043b\u0438 \u041d\u0415 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0439 \u0432\u043e\u043e\u0431\u0449\u0435 \u0435\u0441\u043b\u0438 \u043d\u0435\u0442\u043e\u0447\u043d\u043e\n\n\u041f\u0420\u0418\u041c\u0405\u0420 \u041f\u0420\u0410\u0412\u0418\u041b\u042c\u041d\u041e\u0413\u041e \u0424\u041e\u0420\u041c\u0410\u0422\u0410 (\u0441 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u0431\u043b\u043e\u043a\u0430\u043c\u0438):\n<b>\u0427\u0442\u043e \u044d\u0442\u043e:</b> \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438\n<b>\u0423\u0441\u043b\u0443\u0433\u0438:</b> \u0421\u043f\u0438\u0441\u043e\u043a \u0443\u0441\u043b\u0443\u0433\n<b>\u0414\u043b\u044f \u043a\u043e\u0433\u043e:</b> \u0426\u0435\u043b\u0435\u0432\u0430\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044f\n<b>\u041a\u0430\u043a \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c:</b> \u0421\u043f\u043e\u0441\u043e\u0431 \u0441\u0432\u044f\u0437\u0438\n\n\u0412\u0410\u0416\u041d\u041e: \u0424\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0439\u0441\u044f \u043d\u0430 \u0424\u0410\u041a\u0422\u0410\u0425 - \u0447\u0442\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f/\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0430 \u043d\u0435 \u043d\u0430 \u044d\u043c\u043e\u0446\u0438\u044f\u0445 \u0438\u043b\u0438 \u043e\u0431\u0449\u0438\u0445 \u0444\u0440\u0430\u0437\u0430\u0445.\n\n\u0412\u044b\u0432\u0435\u0434\u0438 \u0422\u041e\u041b\u042c\u041a\u041e \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0441\u0442 \u0411\u0415\u0417 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0439, \u0441 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430\u043c\u0438 \u0441\u0442\u0440\u043e\u043a \u043c\u0435\u0436\u0434\u0443 \u0431\u043b\u043e\u043a\u0430\u043c\u0438.\n\n\u041a\u0420\u0418\u0422\u0418\u0427\u0415\u0421\u041a\u0418 \u0412\u0410\u0416\u041d\u041e: \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \u0441\u0442\u0440\u043e\u043a, \u041d\u0415 HTML \u0442\u0435\u0433\u0438!"
            }
          ]
        },
        "batching": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.7,
      "position": [
        1424,
        464
      ],
      "id": "e4289628-06e5-429d-9574-d9329ae300a5",
      "name": "\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u0441\u0442"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-4.1",
          "mode": "list",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        1520,
        688
      ],
      "id": "3c91d88d-8c9d-4a68-8d12-4e48c6ed5cc4",
      "name": "\u0418\u0418 \u043c\u043e\u0434\u0435\u043b\u044c",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "content": "",
        "width": 170,
        "color": 4
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1472,
        640
      ],
      "id": "ba6da68d-f05d-4bcf-8f97-df296d3050b9",
      "name": "Sticky Note5"
    },
    {
      "parameters": {
        "method": "POST",
        "url": " https://api.telegram.org/bot{api_key_telegram}/sendPhoto",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "chat_id",
              "value": "\u0412\u0421\u0422\u0410\u0412\u042c \u0421\u0412\u041e\u0419 ID | @username_to_id_bot"
            },
            {
              "name": "caption",
              "value": "={{ $json.text }}"
            },
            {
              "name": "parse_mode",
              "value": "HTML"
            },
            {
              "name": "photo",
              "value": "={{ $json.data.screenshot }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        2048,
        320
      ],
      "id": "b05315d4-066c-4e37-87a1-92bbe04e9937",
      "name": "Send Message"
    },
    {
      "parameters": {
        "content": "",
        "height": 176,
        "width": 234,
        "color": 5
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1984,
        304
      ],
      "id": "d8421048-9f3e-401e-8a90-18fbd8f045ab",
      "name": "Sticky Note6"
    },
    {
      "parameters": {
        "content": "# \ud83e\udd16 \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u043a\u0440\u0430\u043f\u0438\u043d\u0433\u0430 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0441 \u0418\u0418\n\n---\n\n## \ud83d\udc64 \u0410\u0432\u0442\u043e\u0440\n**[Nikita Shorin](https://www.youtube.com/@shorin_nikita)**\n\n---\n\n## \ud83d\udcdd \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\n\n\u0412\u043e\u0440\u043a\u0444\u043b\u043e\u0443 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0430\u0440\u0441\u0438\u0442 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b, \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0418\u0418 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u043f\u043e\u0441\u0442\u044b \u0432 Telegram.\n\n---\n\n## \u2699\ufe0f \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\n\n### \ud83d\udd34 **1. FireCrawl API**\n- **\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0430:** \u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0439\u0442\u0435\u0441\u044c \u043d\u0430 [firecrawl.dev](https://www.firecrawl.dev/referral?rid=LGGW3NBT)\n- **\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430:** \u0412 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043d\u043e\u0434\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 `api_key_firecrawl` \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 API-\u043a\u043b\u044e\u0447\n\n### \ud83d\udd35 **2. Telegram Bot**\n- **\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0431\u043e\u0442\u0430:** \u041f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043a [@BotFather](https://t.me/BotFather/) \u0438 \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0431\u043e\u0442\u0430\n- **\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 API:** \u0412 \u043d\u043e\u0434\u0435 \"sendMessage\" \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 `api_key_telegram` \u043d\u0430 \u0442\u043e\u043a\u0435\u043d \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u043e\u0442\u0430\n- **\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0447\u0430\u0442\u0430:** \u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 `chat_id` \u043d\u0430 ID \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0447\u0430\u0442\u0430 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u043e\u0441\u0442\u043e\u0432\n\n### \ud83d\udfe2 **3. OpenAI API**\n- **\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0430:** \u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 API-\u043a\u043b\u044e\u0447 \u043d\u0430 [platform.openai.com](https://platform.openai.com/api-keys)\n- **\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430:** \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 OpenAI \u0432 \u043d\u043e\u0434\u0435 \"GPT 4.1\"\n\n---\n\n## \ud83d\udee0\ufe0f \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\n\n| \u0424\u0443\u043d\u043a\u0446\u0438\u044f | \u0421\u0442\u0430\u0442\u0443\u0441 | \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 |\n|---------|--------|----------|\n| \u041f\u0430\u0440\u0441\u0438\u043d\u0433 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u043e\u0432 | \u2705 | \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e FireCrawl |\n| \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432 | \u2705 | \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0435\u0432\u044c\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 |\n| \u0418\u0418-\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 | \u2705 | \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e GPT |\n| \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0432 Telegram | \u2705 | \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 |\n\n---\n\n## \ud83c\udfaf \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b\n\n**\u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c:**\n- \ud83d\udcf8 \u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0441\u0430\u0439\u0442\u0430\n- \ud83d\udcc4 \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430\n- \ud83d\ude80 \u0413\u043e\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0441\u0442 \u0432 Telegram-\u043a\u0430\u043d\u0430\u043b\u0435/\u0447\u0430\u0442\u0435\n\n---\n\n## \ud83d\udd27 \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0442\u0435\u043a\n\n- **\u041f\u0430\u0440\u0441\u0438\u043d\u0433:** FireCrawl API\n- **\u0418\u0418:** OpenAI GPT-4\n- **\u041c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440:** Telegram Bot API\n- **\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f:** n8n workflow",
        "height": 1232,
        "width": 1064,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -432,
        -160
      ],
      "id": "16067301-43f4-4188-a2ee-27288228e8dd",
      "name": "Sticky Note7"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.firecrawl.dev/v1/scrape",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $json.api_key_firecrawl }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"url\": \"{{ $json.url_site }}\",\n  \"formats\": [\n    \"json\",\n    \"screenshot\"\n  ],\n  \"onlyMainContent\": true,\n  \"waitFor\": 3000,\n  \"timeout\": 60000,\n  \"maxAge\": 3600000,\n  \"removeBase64Images\": true,\n  \"blockAds\": true,\n  \"proxy\": \"auto\",\n  \"storeInCache\": true,\n  \"jsonOptions\": {\n    \"prompt\": \"\u0421\u0434\u0435\u043b\u0430\u0439 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0440\u0435\u0437\u044e\u043c\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0434\u043b\u044f \u0431\u0438\u0437\u043d\u0435\u0441-\u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432.\"\n  }\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1200,
        160
      ],
      "id": "924b6190-2db1-4094-91dc-66562b065c82",
      "name": "\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b",
      "continueOnFail": true
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.firecrawl.dev/v1/scrape",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $json.api_key_firecrawl }}"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"url\": \"{{ $json.url_site }}\",\n  \"formats\": [\"markdown\"]\n}",
        "options": {
          "timeout": 30000
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1200,
        464
      ],
      "id": "8272abf9-ac89-444a-ae90-27785f35e328",
      "name": "\u041f\u0430\u0440\u0441\u0435\u0440 \u0432\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b",
      "continueOnFail": true
    }
  ],
  "connections": {
    "\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442": {
      "main": [
        [
          {
            "node": "\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "API \u041a\u041b\u042e\u0427\u0418": {
      "main": [
        [
          {
            "node": "\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b",
            "type": "main",
            "index": 0
          },
          {
            "node": "\u041f\u0430\u0440\u0441\u0435\u0440 \u0432\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "API \u041a\u041b\u042e\u0427\u0418",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u0441\u0442": {
      "main": [
        [
          {
            "node": "\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "\u0418\u0418 \u043c\u043e\u0434\u0435\u043b\u044c": {
      "ai_languageModel": [
        [
          {
            "node": "\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u0441\u0442",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445": {
      "main": [
        [
          {
            "node": "Send Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b": {
      "main": [
        [
          {
            "node": "\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u041f\u0430\u0440\u0441\u0435\u0440 \u0432\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b": {
      "main": [
        [
          {
            "node": "\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u0441\u0442",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2b7ced27-5367-4640-a38d-75d04615df80",
  "id": "FvejQYz16Tu9Dkko",
  "tags": []
}