{"product_id":"n8n-workflow-fetch-website-content-with-http-apify-web-fetch","title":"n8n Workflow: Fetch Website Content with HTTP \u0026 Apify Web Fetch","description":"\u003ch3\u003eFetch website content reliably—using HTTP first, then Apify Web Fetch as a fallback\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow fetches web page content from a list of URLs by trying a direct \u003cstrong\u003eHTTP Request\u003c\/strong\u003e first. If that request fails, it automatically falls back to \u003cstrong\u003eApify Web Fetch\u003c\/strong\u003e, then normalizes everything into one consistent dataset containing \u003cem\u003e{url, content}\u003c\/em\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRuns on a \u003cstrong\u003eManual Trigger\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses input parameters for a \u003cstrong\u003eUrl List\u003c\/strong\u003e and an \u003cstrong\u003eApify API token\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eAttempts to retrieve each page via n8n’s \u003cstrong\u003eHTTP Request\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIf the HTTP request fails, calls \u003cstrong\u003eApify Web Fetch\u003c\/strong\u003e to retrieve the page content.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes\u003c\/strong\u003e both HTTP and Apify responses into the same structure: \u003cstrong\u003e{url, content}\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAggregates\u003c\/strong\u003e all fetched results into a single combined output dataset.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eContent extraction\u003c\/strong\u003e for research or monitoring when some sites block simple requests.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResilient scraping pipelines\u003c\/strong\u003e where you want HTTP for speed, but Apify as a safety net.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilding datasets\u003c\/strong\u003e for downstream analysis (e.g., summarization or indexing) with consistent output.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation for SaaS operators\u003c\/strong\u003e who need page content retrieval without manual retries.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ tools used:\u003c\/strong\u003e \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003eaggregate\u003c\/em\u003e, \u003cem\u003esticky note\u003c\/em\u003e, \u003cstrong\u003eHTTP Request\u003c\/strong\u003e, \u003cem\u003emanual trigger\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrimary logic:\u003c\/strong\u003e HTTP Request → fallback to \u003cstrong\u003eApify Web Fetch\u003c\/strong\u003e on failure.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalization:\u003c\/strong\u003e creates a unified \u003cstrong\u003e{url, content}\u003c\/strong\u003e structure for both sources.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup \u0026amp; customization\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eGenerate an \u003cstrong\u003eApify API token\u003c\/strong\u003e in the Apify Console and replace \u003ccode\u003e\u0026lt;YOUR_APIFY_TOKEN\u0026gt;\u003c\/code\u003e in the inputs.\u003c\/li\u003e\n  \u003cli\u003eUpdate the \u003cstrong\u003eUrl List\u003c\/strong\u003e in input parameters (the workflow currently fetches only the first item in the list).\u003c\/li\u003e\n  \u003cli\u003eTo support dynamic inputs, the workflow can accept target URLs via \u003cstrong\u003ewebhook\u003c\/strong\u003e or \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45878613999795,"sku":"N8N-18539","price":68.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/J4Oa4RP-KGrqWuT6bHlbF_RSvAoULM.png?v=1787389794","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-fetch-website-content-with-http-apify-web-fetch","provider":"N8N Commerce","version":"1.0","type":"link"}