Resize, sharpen, and compress an image to fit email platform size limits in a single pipeline.
日本語の概要は準備中です。原文の説明を表示しています。
Extract clean article content — title, author, date, and body text — from PDFs, Word docs, and web pages.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Content aggregators and newsletter platforms use this recipe to extract clean article content from PDFs, Word documents, and saved web pages. Define fields for title, author, date, body, and summary — the parser pulls the content and ignores headers, footers, navigation, and sidebars.
Document Extraction (1 credit per page)
You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.
For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.
curl -X POST \
https://api.iterationlayer.com/document-extraction/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"files": [
{
"type": "url",
"name": "article.pdf",
"url": "https://example.com/article.pdf"
}
],
"schema": {
"fields": [
{
"name": "title",
"type": "TEXT",
"description": "Article title or headline",
"is_required": true
},
{
"name": "author",
"type": "TEXT",
"description": "Author name"
},
{
"name": "publish_date",
"type": "DATE",
"description": "Publication date of the article"
},
{
"name": "body",
"type": "TEXTAREA",
"description": "Main article text content, excluding headers, footers, sidebars, and navigation",
"is_required": true
},
{
"name": "summary",
"type": "TEXT",
"description": "Brief summary or abstract",
"max_length": 500
},
{
"name": "category",
"type": "TEXT",
"description": "Article category or section"
}
]
}
}'
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });
const result = await client.extractDocument({
files: [
{
type: "url",
name: "article.pdf",
url: "https://example.com/article.pdf",
},
],
schema: {
fields: [
{
name: "title",
type: "TEXT",
description: "Article title or headline",
is_required: true,
},
{
name: "author",
type: "TEXT",
description: "Author name",
},
{
name: "publish_date",
type: "DATE",
description: "Publication date of the article",
},
{
name: "body",
type: "TEXTAREA",
description: "Main article text content, excluding headers, footers, sidebars, and navigation",
is_required: true,
},
{
name: "summary",
type: "TEXT",
description: "Brief summary or abstract",
max_length: 500,
},
{
name: "category",
type: "TEXT",
description: "Article category or section",
},
],
},
});
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")
result = client.extract_document(
files=[
{
"type": "url",
"name": "article.pdf",
"url": "https://example.com/article.pdf",
}
],
schema={
"fields": [
{
"name": "title",
"type": "TEXT",
"description": "Article title or headline",
"is_required": True,
},
{
"name": "author",
"type": "TEXT",
"description": "Author name",
},
{
"name": "publish_date",
"type": "DATE",
"description": "Publication date of the article",
},
{
"name": "body",
"type": "TEXTAREA",
"description": "Main article text content, excluding headers, footers, sidebars, and navigation",
"is_required": True,
},
{
"name": "summary",
"type": "TEXT",
"description": "Brief summary or abstract",
"max_length": 500,
},
{
"name": "category",
"type": "TEXT",
"description": "Article category or section",
},
]
},
)
package main
import il "github.com/iterationlayer/sdk-go"
func main() {
client := il.NewClient("YOUR_API_KEY")
result, err := client.ExtractDocument(il.ExtractDocumentRequest{
Files: []il.FileInput{
il.FileInput{
Type: "url",
Name: "article.pdf",
Url: "https://example.com/article.pdf",
},
},
Schema: il.ExtractionSchema{
Fields: []any{
il.TextFieldConfig{
Name: "title",
Type: "TEXT",
Description: "Article title or headline",
},
il.TextFieldConfig{
Name: "author",
Type: "TEXT",
Description: "Author name",
},
il.DateFieldConfig{
Name: "publish_date",
Type: "DATE",
Description: "Publication date of the article",
},
il.TextareaFieldConfig{
Name: "body",
Type: "TEXTAREA",
Description: "Main article text content, excluding headers, footers, sidebars, and navigation",
},
il.TextFieldConfig{
Name: "summary",
Type: "TEXT",
Description: "Brief summary or abstract",
},
il.TextFieldConfig{
Name: "category",
Type: "TEXT",
Description: "Article category or section",
},
},
},
})
if err != nil {
panic(err)
}
_ = result
}
{
"name": "Extract Article Text",
"nodes": [
{
"parameters": {
"content": "## Extract Article Text\n\nContent aggregators and newsletter platforms use this recipe to extract clean article content from PDFs, Word documents, and saved web pages. Define fields for title, author, date, body, and summary \u2014 the parser pulls the content and ignores headers, footers, navigation, and sidebars.\n\n**Note:** This workflow uses the Iteration Layer community node (`n8n-nodes-iterationlayer`). Install it via Settings > Community Nodes on self-hosted n8n, or add it directly on n8n Cloud with Verified Community Nodes enabled.",
"height": 280,
"width": 500,
"color": 2
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
200,
40
],
"id": "97f247db-41d8-4eae-95c9-d65cc3b2124d",
"name": "Overview"
},
{
"parameters": {
"content": "### Step 1: Extract Data\nResource: **Document Extraction**\n\nConfigure the Document Extraction parameters below, then connect your credentials.",
"height": 160,
"width": 300,
"color": 6
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
475,
100
],
"id": "a0acbdab-4287-4466-8b64-95bd9d4e3e49",
"name": "Step 1 Note"
},
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
250,
300
],
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"name": "Manual Trigger"
},
{
"parameters": {
"resource": "documentExtraction",
"schemaInputMode": "rawJson",
"schemaJson": "{\"fields\":[{\"name\":\"title\",\"type\":\"TEXT\",\"description\":\"Article title or headline\",\"is_required\":true},{\"name\":\"author\",\"type\":\"TEXT\",\"description\":\"Author name\"},{\"name\":\"publish_date\",\"type\":\"DATE\",\"description\":\"Publication date of the article\"},{\"name\":\"body\",\"type\":\"TEXTAREA\",\"description\":\"Main article text content, excluding headers, footers, sidebars, and navigation\",\"is_required\":true},{\"name\":\"summary\",\"type\":\"TEXT\",\"description\":\"Brief summary or abstract\",\"max_length\":500},{\"name\":\"category\",\"type\":\"TEXT\",\"description\":\"Article category or section\"}]}",
"files": {
"fileValues": [
{
"fileInputMode": "url",
"fileName": "article.pdf",
"fileUrl": "https://example.com/article.pdf"
}
]
}
},
"type": "n8n-nodes-iterationlayer.iterationLayer",
"typeVersion": 1,
"position": [
500,
300
],
"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"name": "Extract Data",
"credentials": {
"iterationLayerApi": {
"id": "1",
"name": "Iteration Layer API"
}
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Extract Data",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Extract article content from the file at [file URL]. Use the extract_document tool with these fields:
- title (TEXT, required): Article title or headline
- author (TEXT): Author name
- publish_date (DATE): Publication date of the article
- body (TEXTAREA, required): Main article text content, excluding headers, footers, sidebars, and navigation
- summary (TEXT): Brief summary or abstract
- category (TEXT): Article category or section
{
"success": true,
"data": {
"title": {
"value": "The Quiet Revolution in Battery Chemistry",
"confidence": 0.97,
"citations": ["The Quiet Revolution in Battery Chemistry"],
"source": "article.pdf"
},
"author": {
"value": "James Park",
"confidence": 0.94,
"citations": ["James Park"],
"source": "article.pdf"
},
"publish_date": {
"value": "2026-01-15",
"confidence": 0.93,
"citations": ["January 15, 2026"],
"source": "article.pdf"
},
"body": {
"value": "Solid-state batteries have been five years away for the last twenty years. But the latest generation of prototypes from three independent labs suggests the timeline might finally be real...",
"confidence": 0.91,
"citations": ["Solid-state batteries have been five years away"],
"source": "article.pdf"
},
"summary": {
"value": "Recent advances in solid-state battery technology suggest commercial viability within three years, driven by breakthroughs in solid electrolyte materials.",
"confidence": 0.88,
"citations": ["solid-state battery technology"],
"source": "article.pdf"
}
}
}
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Resize, sharpen, and compress an image to fit email platform size limits in a single pipeline.
日本語の概要は準備中です。原文の説明を表示しています。
Compress an image to fit within a specific file size in bytes using quality-first compression.
日本語の概要は準備中です。原文の説明を表示しています。
Convert a contract PDF to clean markdown for clause extraction or LLM analysis.
日本語の概要は準備中です。原文の説明を表示しています。
Convert external documents — specs, contracts, reports — to markdown for knowledge base ingestion.
日本語の概要は準備中です。原文の説明を表示しています。
Convert a document to clean markdown suitable for chunking and embedding in a RAG pipeline.
日本語の概要は準備中です。原文の説明を表示しています。
Convert an image between PNG, JPEG, and WebP formats with quality control for web optimization.
日本語の概要は準備中です。原文の説明を表示しています。