Ultimate scraper workflow for n8n
Ready for 3.0What this workflow does
This AI workflow has 56 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and OpenAI. It also calls selenium_chrome:4444 over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Edit Fields (For testing prupose ) (Edit Fields (Set)): sets 2 fields: Subject, Website Domaine
- If: checks a condition and branches into true / false
- Google search Query (HTTP Request): calls an HTTP API
- Create Selenium Session (HTTP Request): calls selenium_chrome:4444 (POST)
- Extract First Url Match (HTML): parses or builds HTML
- Resize browser window (HTTP Request): calls an HTTP API (POST)
- Delete Session (HTTP Request): calls an HTTP API (DELETE)
- Information Extractor: extracts structured fields from text with AI, with model: OpenAI Chat Model
- Clean Webdriver (HTTP Request): calls an HTTP API (POST)
- Error (Respond to Webhook): sends the response back to the webhook caller
…plus 42 more steps. See the full node list below.
Services it uses
HTTP calls to: selenium_chrome:4444
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- HTML
n8n-nodes-base.html - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Limit
n8n-nodes-base.limit - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Convert to File
n8n-nodes-base.convertToFile - Edit Fields (Set)
n8n-nodes-base.set - OpenAI
@n8n/n8n-nodes-langchain.openAi - Webhook
n8n-nodes-base.webhook
From the author
What this template does The Ultimate Scraper for n8n uses Selenium and AI to retrieve any information displayed on a webpage. You can also use session cookies to log in to the targeted webpage for more advanced scraping needs. ⚠️ Important: This project…