Turn a chat request into clean page content you can use right away. A user sends a message, the assistant fetches the web page, removes noise, and returns compact Markdown. This is great for content teams who need fast research, SEO audits, or competitive reviews without copy and paste work.
Here is how it runs. A chat event starts the flow and an AI Agent with an OpenAI model decides how to call a web fetch tool. The tool expects a query string with url and method set to full or simplified. The query is parsed and a page length limit is applied. The page is requested and errors are checked. The body is extracted, heavy tags and scripts are removed, and links or image sources can be replaced with NOURL and NOIMG when simplified. The cleaned HTML is converted to Markdown and returned. A second trigger lets other workflows call the same fetch steps for reuse.
Setup needs an OpenAI API key and access to the n8n chat interface. Decide your default page max limit and use method simplified to save tokens for most cases. Expect less manual work and lower token spend due to shorter Markdown and removed links. Use this for content briefs, quick page scans, or research tasks where links are not required.