{
  "openruna_format": "flow-graph-v1",
  "title": "Selenium Ultimate Scraper Workflow",
  "slug": "selenium-ultimate-scraper-workflow",
  "source_filename": "1711_Limit_Code_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Extract First Url Match",
      "name": "Extract First Url Match",
      "integration": "html",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Clean Webdriver",
      "name": "Clean Webdriver",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Delete Session",
      "name": "Delete Session",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Delete Session2",
      "name": "Delete Session2",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "If Block1",
      "name": "If Block1",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Delete Session3",
      "name": "Delete Session3",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Limit",
      "name": "Limit",
      "integration": "limit",
      "kind": "logic"
    },
    {
      "id": "Delete Session1",
      "name": "Delete Session1",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Delete Session4",
      "name": "Delete Session4",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Success with cookie",
      "name": "Success with cookie",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Respond to Webhook2",
      "name": "Respond to Webhook2",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Code",
      "name": "Code",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Delete Session5",
      "name": "Delete Session5",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Error",
      "name": "Error",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Error1",
      "name": "Error1",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Error2",
      "name": "Error2",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "If",
      "name": "If",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Inject Cookie",
      "name": "Inject Cookie",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Respond to Webhook3",
      "name": "Respond to Webhook3",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Success",
      "name": "Success",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Go on url",
      "name": "Go on url",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Delete Session6",
      "name": "Delete Session6",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Error3",
      "name": "Error3",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Information Extractor",
      "name": "Information Extractor",
      "integration": "@n8n/n8n-nodes-langchain.informationExtractor",
      "kind": "action"
    },
    {
      "id": "Check if empty of NA",
      "name": "Check if empty of NA",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "If Block",
      "name": "If Block",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Google search Query",
      "name": "Google search Query",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Create Selenium Session",
      "name": "Create Selenium Session",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get ScreenShot 1",
      "name": "Get ScreenShot 1",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Refresh browser",
      "name": "Refresh browser",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get ScreenShot",
      "name": "Get ScreenShot",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Convert to File",
      "name": "Convert to File",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Convert to File1",
      "name": "Convert to File1",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Delete Session7",
      "name": "Delete Session7",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Edit Fields (For testing prupose )",
      "name": "Edit Fields (For testing prupose )",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get ScreenShot 2",
      "name": "Get ScreenShot 2",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Convert to File2",
      "name": "Convert to File2",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Go on ip-api.com",
      "name": "Go on ip-api.com",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Delete Session8",
      "name": "Delete Session8",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Error can't find url",
      "name": "Error can't find url",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Resize browser window",
      "name": "Resize browser window",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "OpenAI",
      "name": "OpenAI",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "OpenAI1",
      "name": "OpenAI1",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Information Extractor1",
      "name": "Information Extractor1",
      "integration": "@n8n/n8n-nodes-langchain.informationExtractor",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model1",
      "name": "OpenAI Chat Model1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Information Extractor2",
      "name": "Information Extractor2",
      "integration": "@n8n/n8n-nodes-langchain.informationExtractor",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model2",
      "name": "OpenAI Chat Model2",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "If Target Url",
      "name": "If Target Url",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "If1",
      "name": "If1",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Go on url1",
      "name": "Go on url1",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "If2",
      "name": "If2",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Go on url2",
      "name": "Go on url2",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "If3",
      "name": "If3",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Go on url3",
      "name": "Go on url3",
      "integration": "httpRequest",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "If",
      "to": "If3"
    },
    {
      "from": "If",
      "to": "Delete Session5"
    },
    {
      "from": "If1",
      "to": "Go on url"
    },
    {
      "from": "If1",
      "to": "Go on url1"
    },
    {
      "from": "If2",
      "to": "If"
    },
    {
      "from": "If2",
      "to": "If1"
    },
    {
      "from": "If3",
      "to": "Go on url2"
    },
    {
      "from": "If3",
      "to": "Go on url3"
    },
    {
      "from": "Code",
      "to": "Inject Cookie"
    },
    {
      "from": "Limit",
      "to": "Refresh browser"
    },
    {
      "from": "OpenAI",
      "to": "If Block1"
    },
    {
      "from": "OpenAI1",
      "to": "If Block"
    },
    {
      "from": "OpenAI1",
      "to": "Delete Session6"
    },
    {
      "from": "Webhook",
      "to": "Edit Fields (For testing prupose )"
    },
    {
      "from": "If Block",
      "to": "Delete Session1"
    },
    {
      "from": "If Block",
      "to": "Delete Session"
    },
    {
      "from": "Go on url",
      "to": "Get ScreenShot 1"
    },
    {
      "from": "Go on url",
      "to": "Delete Session6"
    },
    {
      "from": "If Block1",
      "to": "Delete Session2"
    },
    {
      "from": "If Block1",
      "to": "Delete Session3"
    },
    {
      "from": "Go on url1",
      "to": "Get ScreenShot 1"
    },
    {
      "from": "Go on url1",
      "to": "Delete Session6"
    },
    {
      "from": "Go on url2",
      "to": "Code"
    },
    {
      "from": "Go on url2",
      "to": "Delete Session4"
    },
    {
      "from": "Go on url3",
      "to": "Code"
    },
    {
      "from": "Go on url3",
      "to": "Delete Session4"
    },
    {
      "from": "If Target Url",
      "to": "Google search Query"
    },
    {
      "from": "If Target Url",
      "to": "Create Selenium Session"
    },
    {
      "from": "Inject Cookie",
      "to": "Limit"
    },
    {
      "from": "Delete Session",
      "to": "Information Extractor1"
    },
    {
      "from": "Convert to File",
      "to": "OpenAI"
    },
    {
      "from": "Convert to File",
      "to": "Delete Session4"
    },
    {
      "from": "Delete Session1",
      "to": "Respond to Webhook3"
    },
    {
      "from": "Delete Session2",
      "to": "Respond to Webhook2"
    },
    {
      "from": "Delete Session3",
      "to": "Information Extractor2"
    },
    {
      "from": "Delete Session4",
      "to": "Error1"
    },
    {
      "from": "Delete Session5",
      "to": "Error"
    },
    {
      "from": "Delete Session6",
      "to": "Error3"
    },
    {
      "from": "Delete Session7",
      "to": "Error2"
    },
    {
      "from": "Get ScreenShot",
      "to": "Convert to File"
    },
    {
      "from": "Get ScreenShot",
      "to": "Delete Session4"
    },
    {
      "from": "Refresh browser",
      "to": "Get ScreenShot"
    },
    {
      "from": "Refresh browser",
      "to": "Delete Session4"
    },
    {
      "from": "Clean Webdriver",
      "to": "If2"
    },
    {
      "from": "Convert to File1",
      "to": "OpenAI1"
    },
    {
      "from": "Convert to File1",
      "to": "Delete Session6"
    },
    {
      "from": "Get ScreenShot 1",
      "to": "Convert to File1"
    },
    {
      "from": "Get ScreenShot 1",
      "to": "Delete Session6"
    },
    {
      "from": "Get ScreenShot 2",
      "to": "Convert to File2"
    },
    {
      "from": "Get ScreenShot 2",
      "to": "Delete Session8"
    },
    {
      "from": "Go on ip-api.com",
      "to": "Get ScreenShot 2"
    },
    {
      "from": "Go on ip-api.com",
      "to": "Delete Session8"
    },
    {
      "from": "Check if empty of NA",
      "to": "Error can't find url"
    },
    {
      "from": "Check if empty of NA",
      "to": "Create Selenium Session"
    },
    {
      "from": "Google search Query",
      "to": "Extract First Url Match"
    },
    {
      "from": "Information Extractor",
      "to": "Check if empty of NA"
    },
    {
      "from": "Resize browser window",
      "to": "Clean Webdriver"
    },
    {
      "from": "Information Extractor1",
      "to": "Success"
    },
    {
      "from": "Information Extractor2",
      "to": "Success with cookie"
    },
    {
      "from": "Create Selenium Session",
      "to": "Resize browser window"
    },
    {
      "from": "Create Selenium Session",
      "to": "Delete Session7"
    },
    {
      "from": "Extract First Url Match",
      "to": "Information Extractor"
    },
    {
      "from": "Edit Fields (For testing prupose )",
      "to": "If Target Url"
    }
  ]
}