Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow that answers a webhook call with JSON taken from a web page. It checks the address, downloads the page, reduces it to text and asks OpenAI to pull out the fields the caller names.
Web page to structured JSON by OpenAI over a webhook is an n8n workflow in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
Webhook call
It starts when a caller sends a POST request to its webhook address, with a JSON body:
A JSON reply with a title, a description, the fields you asked for, a list of statistics and a sentiment word
What you need before you start.
Language model
Runs gpt-6-luna to read the page text and write the JSON.
NeedsAn OpenAI API key
Checked by Mindket on 13 Nov 2026
This n8n workflow turns a web address into structured data. A caller sends a POST request that names a page and the fields to look for. The workflow checks the address, downloads the page, strips it to plain text and asks OpenAI to pull out those fields. The reply is JSON. Six nodes do the work, beside one sticky note.
Developers and automation builders who want an address in and clean JSON out, to feed a script or another workflow. Skip it for pages that need a login or that fill in their content with a script, because it reads the page’s HTML only.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| E-commerce | Pricing analysts | Pull the price and features from a product page they track | An analyst sends a product page address and logs the price and features from each reply. |
| Marketing | Content managers | Summarize a competitor’s article or landing page | A manager sends an article address and reads its title, a short description and its tone. |
| Research | Analysts | Turn a list of pages into rows of data | An analyst loops twenty addresses through the webhook from another workflow and collects the JSON. |
| Software | Developers | Use it as a small extraction service inside an app | A developer posts an address from a script and reads extractedData in the reply. |
You need a little n8n: import a file, add an OpenAI credential, create one Header Auth credential and send a test request.
Any n8n that can reach the open web and OpenAI will run it. Callers reach it at its webhook address, so a script, another workflow or any tool that sends a POST request can use it.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two credentials are involved.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| OpenAI | An API key, for an OpenAI credential |
| A secret for callers | A long random value, for a Header Auth credential |
workflow.json.X-API-Key and a long random value of your own. Select it in Scrape URL.AI: Extract Data, add an OpenAI credential with your key and check that Model reads gpt-6-luna.Scrape URL, click Listen for test event. Send a POST request to the test address with your header and a body such as {"url": "https://example.com"}./webhook/ in it.Send a POST request with your secret in its header and a JSON body. url is required, extract_fields lists what to find, such as price,features, and name rides along without being used. The reply is the model’s JSON.
| To change | Where |
|---|---|
| The fields to find | extract_fields in the request, or its default in Validate |
| The layout of the reply | The JSON layout in the system message of AI: Extract Data |
| The model | Model in AI: Extract Data |
| How much of the page is read | The cut at 4,000 characters in Extract Text |
| The page | url in the request |
A pricing analyst posts the address of a kettle’s product page with extract_fields set to price,features. The workflow fetches the page, reduces it to text and sends the first 4,000 characters to the model.
The reply is JSON with a title, a description, an extractedData object that holds the price and the features, a statistics list and a sentiment word.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. A webhook is an address that starts the workflow when something calls it. The caller waits while the boxes run, and the last box sends the answer back. Send one test request, then open each box to see what it passed on.
For experts. Scrape URL answers through Respond, so the caller gets the model’s JSON itself. Validate reads the body from body, falling back to the item, and rejects schemes other than http and https and addresses that name a private network.
| Node | What it does | What to know |
|---|---|---|
Scrape URL | Webhook 2, POST, path extract-page-data, Header Auth, answers from a node | A run that fails before Respond leaves the caller with an n8n error, not JSON |
Validate | Code 2, checks url and builds the item | It blocks private hosts by name or number. A public name that points to a private address, or a redirect to one, is not caught |
Fetch Page | HTTP Request 4.2, GET with a 20 second timeout | It announces itself as PageDataReader/1.0 and stops the run on an error status |
Extract Text | Code 2, removes scripts, styles and tags | It keeps the first 4,000 characters of what is left |
AI: Extract Data | OpenAI 1.8, Message a model, with JSON output on | The system message spells out the JSON layout |
Respond | Respond to Webhook 1.1, JSON | It returns message.content, which is the parsed JSON |
The webhook fetches any public address a caller sends, so keep its secret to yourself.
gpt-6-luna as its replacement. Mindket’s copy uses gpt-6-lunaAn n8n workflow that turns a web address into structured data. A caller sends a POST request that names a page and the fields to
look for. The workflow checks the address, downloads the page, reduces it to plain text and asks OpenAI to pull out those fields.
The reply is JSON.
workflow.json: the workflow as n8n exports it, five working nodes, a webhook and one sticky note. It holds no credential.README.md: these notes.extract-page-data.Validate now rejects any address that is not http or https and any host written as a private name or number (localhost,10.x.x.x, 192.168.x.x, 172.16.x.x to 172.31.x.x, 127.x.x.x, 169.254.x.x, .local, .internal).gpt-4o-mini to gpt-6-luna, since OpenAI's deprecations page, read on 12 November 2026, listsgpt-4o-mini as shutting down on 14 January 2027 and names gpt-6-luna as its replacement.User-Agent now reads Mozilla/5.0 (compatible; PageDataReader/1.0), and the sticky note was rewritten.workflow.json.X-API-Key and a long random value. Select it in Scrape URL.AI: Extract Data, add an OpenAI credential with your key and check that Model reads gpt-6-luna.Scrape URL, click Listen for test event. Send a POST request to the test address with your header and a body such as{"url": "https://example.com"}./webhook/ in it.Scrape URL (Webhook 2) receives the POST request and checks the header secret. It answers later, from Respond.Validate (Code) reads url, extract_fields (default price,features,description) and name from the body and rejects aFetch Page (HTTP Request 4.2) downloads the page with a GET request and a 20 second timeout.Extract Text (Code) removes scripts, styles and tags and keeps the first 4,000 characters.AI: Extract Data (OpenAI 1.8, Message a model) asks gpt-6-luna for JSON with title, description, extractedData,statistics and sentiment.Respond (Respond to Webhook 1.1) sends message.content, the parsed JSON, back to the caller.extract_fields in the request, or its default in Validate.AI: Extract Data.AI: Extract Data.Extract Text.Validate.Respond leaves the caller with an n8n error, not JSON.NOTICE.md 626 B README.md 4 KB workflow.json 6 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…