πŸ”¬ Extract website markdown and source chunks with Apify and HTTP Request

⚑ 0 views Β· πŸ”¬ Document Extraction & Analysis

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Quick overview

Prepare public website passages for account research or retrieval workflows. This manual template uses Mako’s Web Content Crawler on Apify, checks coverage, and returns Markdown chunks with source URLs, headings, content hashes and capture times.

How it works

  1. Runs when you manually execute the workflow and defines 1–10 explicit start URLs plus crawl limits.
  2. Starts a bounded Apify Actor run (agency-shift/web-content-crawler) using the Apify REST API.
  3. Polls the same run until it finishes, reaches the polling deadline, or a status request fails. The stop path attempts to abort that run; a separate 180-second Actor timeout also applies.
  4. Fetches the RUN_SUMMARY report from Apify Key-Value Store and stops if the run failed, coverage is incomplete, or output is truncated/empty.
  5. Retrieves the run’s dataset items from Apify and validates each page’s Markdown and chunk schema.
  6. Builds and outputs one item per chunk containing the chunk content plus sourceUrl/sectionUrl, heading path, content hash, crawl time, and an oversized flag.

Setup

  1. Create an Apify account and add an HTTP Header Auth credential in n8n with Authorization: Bearer <YOUR_APIFY_TOKEN>, then select it in all Apify HTTP Request steps.
  2. Update the startUrls list (and any limits like max text length or chunk size) in the configuration step before running.
  3. Execute the workflow manually and review the coverage report and any oversized chunk flags before connecting downstream storage, retrieval, or AI steps.

Requirements

Customization

Additional info

Inspect real output without signing in: https://makorev.com/apis/website-research Detailed setup and support: https://github.com/valdeircs/scraper-fleet/tree/main/examples/website-research The canonical workflow passed a real local n8n 2.41.6 Docker execution: 2 Mako-owned pages, 33 source packets. This submission changes its title, notes and layout only; static comparison confirms the same 16 executable nodes, connections and settings. n8n Cloud UI and customer billing were not tested. The saved sample is dated evidence, not a promise of complete website coverage.

πŸ”— Nodes Used

HTTP Request

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup