Iteration Layer

n8n

The Iteration Layer n8n community node brings all Iteration Layer APIs into n8n — the open-source workflow automation platform. Install one node and get access to every API as a native n8n resource.

Works with self-hosted n8n and n8n Cloud.

Installation

Via n8n UI

  1. Open Settings > Community Nodes
  2. Select Install a community node
  3. Enter n8n-nodes-iterationlayer
  4. Accept the risks and install

Self-hosted (npm)

cd ~/.n8n
npm install n8n-nodes-iterationlayer

Restart n8n after installation.

Authentication

  1. Go to Credentials > New Credential
  2. Search for Iteration Layer API
  3. Enter your API key (starts with il_)

Get an API key at platform.iterationlayer.com. The same API key works across all resources.

Resources

The node exposes one resource per Iteration Layer API via a dropdown.

Document Extraction

Extract structured data from documents and images using AI. Provide files (via binary data from a previous node or a URL) and define a schema describing what to extract.

Schema modes:

  • UI Builder — define extraction fields directly in n8n’s node parameter UI without writing JSON. Each field has a name, description, type dropdown (17 types), and a required flag. Covers most common extraction use cases.
  • Raw JSON — paste the full schema object as JSON. Required for advanced features that the UI builder does not expose, such as nested array schemas, calculated fields, enum value lists, and min/max constraints.

Output: JSON data with extracted values, confidence scores, citations, and source file references.

See Document Extraction for the full API reference.

Document to Markdown

Convert documents (PDF, DOCX, images, HTML, and more) to clean Markdown. Provide a single file and get structured Markdown back.

Output: JSON data with the Markdown content, file name, and mime type.

See Document to Markdown for the full API reference.

Image Transformation

Apply image operations sequentially. Provide a single file and add operations via the UI.

Supported operations (24 total): Resize, Crop, Smart Crop, Extend, Trim, Rotate, Flip, Flop, Blur, Sharpen, Modulate, Tint, Grayscale, Invert Colors, Auto Contrast, Gamma, Opacity, Remove Transparency, Threshold, Denoise, Convert Format, Upscale, Compress to Size, Remove Background.

Each operation type shows its specific parameters when selected — no JSON editing required.

Output: Binary image data that flows to downstream n8n nodes.

See Image Transformation for the full operations reference.

Image Generation

Generate images from layer compositions. Specify dimensions, output format, and provide layers as a JSON array.

Layer types: solid-color, text, image, layout, qr-code, barcode, gradient. Each layer has position, dimensions, and type-specific properties.

Output: Binary image data.

See Image Generation for the full composition schema.

Document Generation

Generate PDF, DOCX, EPUB, or PPTX documents from structured JSON definitions.

Provide the output format and a JSON document object containing metadata, page settings, styles, and content blocks (paragraph, headline, image, table, grid, list, table-of-contents, page-break, separator, QR code, barcode).

Output: Binary document data.

See Document Generation for the full schema reference.

Sheet Generation

Generate XLSX, CSV, or Markdown spreadsheets from structured tabular data. Define columns, rows of cells with optional formatting (currency, percentage, date, etc.), cell styles, merged cells, and Excel formulas.

Output: Binary spreadsheet data.

See Sheet Generation for the full schema reference.

Binary Data Flow

Image Transformation, Image Generation, Document Generation, and Sheet Generation return binary data as n8n binary output. This means you can chain them directly with other n8n nodes:

  • Write to disk with the Write Binary File node
  • Send as email attachments with the Send Email node
  • Upload to S3, Google Drive, or Dropbox
  • Pass to another Iteration Layer node for further processing

For file input, you can provide binary data from a previous node (e.g., Read Binary File, HTTP Request, or a trigger) or a publicly accessible URL.

Async Mode

All resources support async processing. Enable Async Mode and provide a webhook URL — the API returns immediately and delivers the result to your webhook when processing is complete.

This is useful for large files or complex operations where you don’t want to block the workflow.

Billing

n8n node calls consume credits the same way as direct API calls. See Credits & Pricing for details.