Templates / Extract structured JSON from web pages via a webhook API with Gaffa

Extract structured JSON from web pages via a webhook API with Gaffa

Unknown

by James Mundy ✓ · 0 views · created 2026-10-16 · Document Extraction, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gaffa (community).

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Settings (Edit Fields (Set)): sets 1 field: max_cache_age
  2. Check the request (Code): runs custom JavaScript code
  3. Valid request? (If): checks a condition and branches into true / false
  4. Extract the fields (Gaffa): send request
  5. Reject the request (Respond to Webhook): sends the response back to the webhook caller
  6. Extracted? (If): checks a condition and branches into true / false
  7. Send the data (Respond to Webhook): sends the response back to the webhook caller
  8. Report the failure (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Gaffa (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @gaffa-dev/n8n-nodes-gaffa is verified or supports 3.0 (used in Extract the fields).

Nodes used (6)

From the author

Quick overview This workflow exposes a secured webhook that accepts a URL and a field schema, then uses Gaffa to load the web page and return structured JSON for the requested fields, with caching support and clear 400/502 error responses. How it works 1.…

Excerpt from James Mundy's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.