Код сценария для копирования:

{
  "dataType": "nodes",
  "nodes": [
    {
      "id": "",
      "localId": "1",
      "title": "",
      "typeId": "62e8e771b7377828d7935c75",
      "description": "",
      "params": [
        {
          "key": "path",
          "type": "string",
          "value": {
            "string": "Set_Unique_URL"
          }
        }
      ],
      "coords": {
        "x": 325,
        "y": 10
      },
      "calculatedNodeType": {
        "params": [
          {
            "key": "path",
            "title": "Адрес",
            "type": "string",
            "required": true,
            "description": "Webhook can hold a connection for no more than 300 seconds.",
            "options": {
              "string": {
                "maxLength": 128,
                "minLength": 1,
                "copiable": true,
                "prefix": "<https://webhook.nodul.ru/225/>",
                "prefixes": [
                  "<https://webhook.nodul.ru/225/dev/>",
                  "<https://webhook.nodul.ru/225/prod/>"
                ],
                "fetchOn": []
              },
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "7c345b17-bd36-4908-a482-13790ba43767",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          }
        ]
      },
      "alias": "webhook"
    },
    {
      "id": "",
      "localId": "2",
      "title": "Google NLP",
      "typeId": "62e8e771b7377828d7935c77",
      "description": "",
      "params": [
        {
          "key": "body",
          "type": "text",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "{\\"document\\": {\\"content\\": {{4.result}},\\"type\\": \\"PLAIN_TEXT\\",\\"language\\": \\"en\\"},\\"classificationModelOptions\\": {\\"v2Model\\": {\\"contentCategoriesVersion\\": \\"V2\\"}}}",
            "text": "{\\"document\\": {\\"content\\": {{4.result}},\\"type\\": \\"PLAIN_TEXT\\",\\"language\\": \\"en\\"},\\"classificationModelOptions\\": {\\"v2Model\\": {\\"contentCategoriesVersion\\": \\"V2\\"}}}",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "url",
          "type": "string",
          "value": {
            "string": "<https://language.googleapis.com/v1/documents:classifyText?key=Insert_Your_Key_Here>"
          }
        },
        {
          "key": "method",
          "type": "select",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [
              "POST"
            ],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "post_params",
          "type": "string_to_string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "headers",
          "type": "string_to_string",
          "value": {
            "stringToString": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "post_params_urlencoded",
          "type": "string_to_string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "basic_auth_username",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "basic_auth_password",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "digest_auth_username",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "digest_auth_password",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "ntlm_auth_username",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "ntlm_auth_password",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "ntlm_auth_domain",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "hide_all",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "http_proxy_address",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "http_proxy_login",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "http_proxy_password",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        }
      ],
      "coords": {
        "x": 708,
        "y": 2
      },
      "calculatedNodeType": {
        "params": [
          {
            "key": "body",
            "title": "Body",
            "type": "text",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "url",
            "title": "Url",
            "type": "string",
            "required": true,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "method",
            "title": "Http method",
            "type": "select",
            "required": true,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": {
                "options": [
                  {
                    "key": "GET",
                    "value": "GET"
                  },
                  {
                    "key": "POST",
                    "value": "POST"
                  },
                  {
                    "key": "PUT",
                    "value": "PUT"
                  },
                  {
                    "key": "PATCH",
                    "value": "PATCH"
                  },
                  {
                    "key": "DELETE",
                    "value": "DELETE"
                  }
                ],
                "multiple": false,
                "fetchOn": [],
                "withLabel": false
              },
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [
                "GET"
              ],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "post_params",
            "title": "POST params",
            "type": "string_to_string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "headers",
            "title": "Http headers",
            "type": "string_to_string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "post_params_urlencoded",
            "title": "x-www-form-urlencoded",
            "type": "string_to_string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "basic_auth_username",
            "title": "Basic Auth Username",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "basic_auth_password",
            "title": "Basic Auth Password",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "digest_auth_username",
            "title": "Digest Auth Username",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "digest_auth_password",
            "title": "Digest Auth Password",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "ntlm_auth_username",
            "title": "NTLM Auth Username",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "ntlm_auth_password",
            "title": "NTLM Auth Password",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "ntlm_auth_domain",
            "title": "NTLM Auth Domain",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "hide_all",
            "title": "Hide All",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "http_proxy_address",
            "title": "Proxy Address",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "http_proxy_login",
            "title": "Proxy Login",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          },
          {
            "key": "http_proxy_password",
            "title": "Proxy Password",
            "type": "string",
            "required": false,
            "description": "",
            "options": {
              "string": null,
              "int": null,
              "text": null,
              "stringToString": null,
              "select": null,
              "stringArray": null,
              "bool": null
            },
            "default": {
              "stringToString": [],
              "int": "0",
              "string": "",
              "text": "",
              "select": [],
              "constructorParams": [],
              "custom": "",
              "stringArray": [],
              "bool": false,
              "multiselect": []
            }
          }
        ]
      },
      "alias": "http_request"
    },
    {
      "id": "",
      "localId": "3",
      "title": "",
      "typeId": "62e8e771b7377828d7935c76",
      "description": "",
      "params": [
        {
          "key": "status",
          "type": "int",
          "value": {
            "stringToString": [],
            "int": "200",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "headers",
          "type": "string_to_string",
          "value": {
            "stringToString": [
              {
                "key": "content-type",
                "value": "text/html"
              }
            ],
            "int": "0",
            "string": "",
            "text": "",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "body",
          "type": "text",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "<!DOCTYPE html>\\n<html>\\n<head>\\n  <title>Keywords NLP for URL</title>\\n<style>\\n  </style>\\n</head>\\n<body>\\n<h2>Made with <a target=\\"_blank\\" href=\\"<https://latenode.com/?utm_source=wh_google_classify_url\\>">low-code platform Latenode.com</a></h2>\\n{{5.table}}\\n\\n</body>\\n</html>",
            "text": "<!DOCTYPE html>\\n<html>\\n<head>\\n  <title>Keywords NLP for URL</title>\\n<style>\\n  </style>\\n</head>\\n<body>\\n<h2>Made with <a target=\\"_blank\\" href=\\"<https://latenode.com/?utm_source=wh_google_classify_url\\>">low-code platform Latenode.com</a></h2>\\n{{5.table}}\\n\\n</body>\\n</html>",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        }
      ],
      "coords": {
        "x": 969,
        "y": 2
      },
      "alias": "respond_to_webhook"
    },
    {
      "id": "",
      "localId": "4",
      "title": "Prepare Data",
      "typeId": "62e8e771b7377828d7935c78",
      "description": "",
      "params": [
        {
          "key": "code",
          "type": "text",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "// Exporting the main asynchronous function, which accepts an object containing execution_id, input, and data.\\nexport default async function run({ execution_id, input, data }) {\\n\\n\\t// A function that takes HTML as input and converts it to a single line string.\\n\\t// This involves replacing newline characters with spaces, removing carriage returns, and trimming whitespace.\\n\\t// It also removes special characters and limits the string length to 10000 characters.\\n\\tfunction convertToSingleLine(html) {\\n\\t\\t// Replacing newline characters with spaces and carriage returns with spaces.\\n\\t\\tvar singleLineHtml = html.replace(/\\\\n/g, ' ').replace(/\\\\r/g, ' ').trim();\\n\\t\\t\\n\\t\\t// Removing any character that is not an alphanumeric or a space.\\n\\t\\tsingleLineHtml = removeSpecialChars(singleLineHtml);\\n\\n\\t\\t// Limiting the single-line HTML string to 10000 characters.\\n\\t\\tsingleLineHtml = limitToXChars(singleLineHtml, 10000);\\n\\n\\t\\t// Converting the HTML string to JSON format.\\n\\t\\treturn JSON.stringify(singleLineHtml);\\n\\t}\\n\\n\\t// A function to limit a given input string to a specific number of characters (limit).\\n\\tfunction limitToXChars(input, limit) {\\n\\t\\t// If the input string length is greater than the limit, it's truncated to the limit.\\n\\t\\t// Otherwise, the original string is returned.\\n\\t\\tif (input.length > limit) {\\n\\t\\t\\treturn input.substring(0, limit);\\n\\t\\t} else {\\n\\t\\t\\treturn input;\\n\\t\\t}\\n\\t}\\n\\n\\t// A function that removes any character that is not alphanumeric or a space from the input string.\\n\\tfunction removeSpecialChars(str) {\\n\\t\\treturn str.replace(/[^a-zA-Z0-9 ]/g, \\"\\");\\n\\t}\\n\\n\\t// Calling the convertToSingleLine function and passing data from a specific result key.\\n\\t// The key is not clear from the code; ensure it's correctly defined elsewhere in your code.\\n\\tlet result = convertToSingleLine(data[\\"{{6.result}}\\"]);\\n\\n\\t// Returning an object containing the result.\\n\\treturn {\\n\\t\\tresult\\n\\t}\\n}\\n",
            "text": "// Exporting the main asynchronous function, which accepts an object containing execution_id, input, and data.\\nexport default async function run({ execution_id, input, data }) {\\n\\n\\t// A function that takes HTML as input and converts it to a single line string.\\n\\t// This involves replacing newline characters with spaces, removing carriage returns, and trimming whitespace.\\n\\t// It also removes special characters and limits the string length to 10000 characters.\\n\\tfunction convertToSingleLine(html) {\\n\\t\\t// Replacing newline characters with spaces and carriage returns with spaces.\\n\\t\\tvar singleLineHtml = html.replace(/\\\\n/g, ' ').replace(/\\\\r/g, ' ').trim();\\n\\t\\t\\n\\t\\t// Removing any character that is not an alphanumeric or a space.\\n\\t\\tsingleLineHtml = removeSpecialChars(singleLineHtml);\\n\\n\\t\\t// Limiting the single-line HTML string to 10000 characters.\\n\\t\\tsingleLineHtml = limitToXChars(singleLineHtml, 10000);\\n\\n\\t\\t// Converting the HTML string to JSON format.\\n\\t\\treturn JSON.stringify(singleLineHtml);\\n\\t}\\n\\n\\t// A function to limit a given input string to a specific number of characters (limit).\\n\\tfunction limitToXChars(input, limit) {\\n\\t\\t// If the input string length is greater than the limit, it's truncated to the limit.\\n\\t\\t// Otherwise, the original string is returned.\\n\\t\\tif (input.length > limit) {\\n\\t\\t\\treturn input.substring(0, limit);\\n\\t\\t} else {\\n\\t\\t\\treturn input;\\n\\t\\t}\\n\\t}\\n\\n\\t// A function that removes any character that is not alphanumeric or a space from the input string.\\n\\tfunction removeSpecialChars(str) {\\n\\t\\treturn str.replace(/[^a-zA-Z0-9 ]/g, \\"\\");\\n\\t}\\n\\n\\t// Calling the convertToSingleLine function and passing data from a specific result key.\\n\\t// The key is not clear from the code; ensure it's correctly defined elsewhere in your code.\\n\\tlet result = convertToSingleLine(data[\\"{{6.result}}\\"]);\\n\\n\\t// Returning an object containing the result.\\n\\treturn {\\n\\t\\tresult\\n\\t}\\n}\\n",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        }
      ],
      "coords": {
        "x": 582,
        "y": 6
      },
      "alias": "js_code"
    },
    {
      "id": "",
      "localId": "5",
      "title": "Prepare Result",
      "typeId": "62e8e771b7377828d7935c78",
      "description": "",
      "params": [
        {
          "key": "code",
          "type": "text",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "// Exporting an asynchronous function that takes an object containing execution_id, input, and data.\\nexport default async function run({ execution_id, input, data }) {\\n\\n\\t// A function to convert a JSON string into an HTML table.\\n\\t// The JSON should represent an array of objects, each with properties \\"confidence\\" and \\"name\\".\\n\\tfunction jsonToTable(json) {\\n\\t\\t// Parsing the input JSON string into a JavaScript object.\\n\\t\\tjson = JSON.parse(json);\\n\\n\\t\\t// Starting the HTML table with a specific style and column headers.\\n\\t\\tlet table = '<table border=\\"0\\" style=\\"border-collapse: collapse; border: none;\\"><tr><th>Confidence</th><th>Name</th></tr>';\\n\\n\\t\\t// Iterating through the array of objects contained in the JSON.\\n\\t\\tfor (let i = 0; i < json.length; i++) {\\n\\t\\t\\t// Adding a row for each object, with cells for the \\"confidence\\" and \\"name\\" properties.\\n\\t\\t\\t// The \\"confidence\\" value is formatted to two decimal places.\\n\\t\\t\\ttable += '<tr><td style=\\"padding:5px; border: 1px solid silver\\">' + parseFloat(json[i].confidence).toFixed(2) + '</td><td style=\\"padding:5px; border: 1px solid silver\\">' + json[i].name + '</td></tr>';\\n\\t\\t}\\n\\n\\t\\t// Closing the HTML table tag.\\n\\t\\ttable += '</table>';\\n\\n\\t\\t// Returning the complete HTML table string.\\n\\t\\treturn table;\\n\\t}\\n\\n\\t// Calling the jsonToTable function and passing data from the key \\"{{2.body.`categories`}}\\".\\n\\t// Ensure that this key corresponds to a JSON string representing an array of objects.\\n\\tlet table = jsonToTable(data[\\"{{2.body.`categories`}}\\"]);\\n\\n\\t// Returning an object containing the HTML table.\\n\\treturn {\\n\\t\\ttable\\n\\t}\\n}\\n",
            "text": "// Exporting an asynchronous function that takes an object containing execution_id, input, and data.\\nexport default async function run({ execution_id, input, data }) {\\n\\n\\t// A function to convert a JSON string into an HTML table.\\n\\t// The JSON should represent an array of objects, each with properties \\"confidence\\" and \\"name\\".\\n\\tfunction jsonToTable(json) {\\n\\t\\t// Parsing the input JSON string into a JavaScript object.\\n\\t\\tjson = JSON.parse(json);\\n\\n\\t\\t// Starting the HTML table with a specific style and column headers.\\n\\t\\tlet table = '<table border=\\"0\\" style=\\"border-collapse: collapse; border: none;\\"><tr><th>Confidence</th><th>Name</th></tr>';\\n\\n\\t\\t// Iterating through the array of objects contained in the JSON.\\n\\t\\tfor (let i = 0; i < json.length; i++) {\\n\\t\\t\\t// Adding a row for each object, with cells for the \\"confidence\\" and \\"name\\" properties.\\n\\t\\t\\t// The \\"confidence\\" value is formatted to two decimal places.\\n\\t\\t\\ttable += '<tr><td style=\\"padding:5px; border: 1px solid silver\\">' + parseFloat(json[i].confidence).toFixed(2) + '</td><td style=\\"padding:5px; border: 1px solid silver\\">' + json[i].name + '</td></tr>';\\n\\t\\t}\\n\\n\\t\\t// Closing the HTML table tag.\\n\\t\\ttable += '</table>';\\n\\n\\t\\t// Returning the complete HTML table string.\\n\\t\\treturn table;\\n\\t}\\n\\n\\t// Calling the jsonToTable function and passing data from the key \\"{{2.body.`categories`}}\\".\\n\\t// Ensure that this key corresponds to a JSON string representing an array of objects.\\n\\tlet table = jsonToTable(data[\\"{{2.body.`categories`}}\\"]);\\n\\n\\t// Returning an object containing the HTML table.\\n\\treturn {\\n\\t\\ttable\\n\\t}\\n}\\n",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        }
      ],
      "coords": {
        "x": 832,
        "y": 2
      },
      "alias": "js_code"
    },
    {
      "id": "",
      "localId": "6",
      "title": "",
      "typeId": "64df288538a11d82eb6471db",
      "description": "",
      "params": [
        {
          "key": "website_url",
          "type": "text",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "{{1.query.url}}",
            "text": "{{1.query.url}}",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        },
        {
          "key": "selectors",
          "type": "string",
          "value": {
            "stringToString": [],
            "int": "0",
            "string": "false",
            "text": "false",
            "select": [],
            "constructorParams": [],
            "custom": "",
            "stringArray": [],
            "bool": false,
            "multiselect": []
          }
        }
      ],
      "coords": {
        "x": 451,
        "y": 8
      },
      "alias": "__nodul_64df27580e9d0e397c5a2b14_prod"
    }
  ],
  "edges": [
    {
      "id": "1-6-output",
      "source": "1",
      "target": "6",
      "type": "scenarioRoute",
      "sourceHandle": "output",
      "targetHandler": "input",
      "data": {
        "route": {
          "condition": {
            "type": "",
            "expression": {
              "value": ""
            }
          },
          "label": "",
          "nodeId": "",
          "localNodeId": "6"
        },
        "sourceNode": {
          "typeId": "62e8e771b7377828d7935c75",
          "localId": "1"
        },
        "targetNode": {
          "typeId": "64df288538a11d82eb6471db",
          "localId": "6"
        }
      },
      "selected": true
    },
    {
      "id": "6-4-output",
      "source": "6",
      "target": "4",
      "type": "scenarioRoute",
      "sourceHandle": "output",
      "targetHandler": "input",
      "data": {
        "route": {
          "condition": {
            "type": "",
            "expression": {
              "value": ""
            }
          },
          "label": "",
          "nodeId": "",
          "localNodeId": "4"
        },
        "sourceNode": {
          "typeId": "64df288538a11d82eb6471db",
          "localId": "6"
        },
        "targetNode": {
          "typeId": "62e8e771b7377828d7935c78",
          "localId": "4"
        }
      },
      "selected": true
    },
    {
      "id": "4-2-output",
      "source": "4",
      "target": "2",
      "type": "scenarioRoute",
      "sourceHandle": "output",
      "targetHandler": "input",
      "data": {
        "route": {
          "condition": {
            "type": "",
            "expression": {
              "value": ""
            }
          },
          "label": "",
          "nodeId": "",
          "localNodeId": "2"
        },
        "sourceNode": {
          "typeId": "62e8e771b7377828d7935c78",
          "localId": "4"
        },
        "targetNode": {
          "typeId": "62e8e771b7377828d7935c77",
          "localId": "2"
        }
      },
      "selected": true
    },
    {
      "id": "2-5-output",
      "source": "2",
      "target": "5",
      "type": "scenarioRoute",
      "sourceHandle": "output",
      "targetHandler": "input",
      "data": {
        "route": {
          "condition": {
            "type": "",
            "expression": {
              "value": ""
            }
          },
          "label": "",
          "nodeId": "",
          "localNodeId": "5"
        },
        "sourceNode": {
          "typeId": "62e8e771b7377828d7935c77",
          "localId": "2"
        },
        "targetNode": {
          "typeId": "62e8e771b7377828d7935c78",
          "localId": "5"
        }
      },
      "selected": true
    },
    {
      "id": "5-3-output",
      "source": "5",
      "target": "3",
      "type": "scenarioRoute",
      "sourceHandle": "output",
      "targetHandler": "input",
      "data": {
        "route": {
          "condition": {
            "type": "",
            "expression": {
              "value": ""
            }
          },
          "label": "",
          "nodeId": "",
          "localNodeId": "3"
        },
        "sourceNode": {
          "typeId": "62e8e771b7377828d7935c78",
          "localId": "5"
        },
        "targetNode": {
          "typeId": "62e8e771b7377828d7935c76",
          "localId": "3"
        }
      },
      "selected": true
    }
  ]
}