Skip to content
Docs

Injector

Injector emits the document you configure, rather than reshaping what the upstream node produced. Use it to seed a flow with a known payload, supply a static request body, or stand in for a real data source while you build. You find it on the node picker’s Transform & data shelf.

The Injector node's settings form, with the fields described below
The Injector node's settings form, with the fields described below
FieldTypeDefaultDescription
Data (data)string ✦ (required) — The data this node emits as its output — typically a static JSON payload injected into the flow.

Fields marked ✦ accept expressions.

Try this node — run it once against your own workspace, with your credentials, without building a flow first.

The node emits the data field’s resolved value as its output. In literal mode the text passes through unchanged. The field is expression-capable, so you can also interpolate values from $start, $kv, or any other bound root; see How-to: Use expressions.

The Injector template in the gallery (Automation → Templates) seeds a flow with an order payload, so downstream nodes have a realistic shape to work against before the real source is wired in:

{
"orderId": "ORD-2025-00482",
"customer": { "name": "Alice de Vries", "email": "alice@example.com" },
"items": [
{ "sku": "SKU-001", "qty": 2, "unitPrice": 4.95 },
{ "sku": "SKU-038", "qty": 1, "unitPrice": 12.50 }
],
"currency": "EUR",
"total": 22.40
}

Two common moves from there:

  • Supply a static request body. Wire Injector into a REST Request and reference the injected JSON from the request body.
  • Stub out an API during development. Replace a live OpenAPI Operation with an Injector holding a captured response, build the downstream nodes against it, then swap the real node back in.
  • The value is emitted exactly as it resolves. Nothing checks that it is valid JSON, and a document that does not parse reaches the next node as plain text, where $prev->field resolves to null instead of failing.
  • Faker generates random fake data instead of a fixed document.
  • Transformer builds a document from upstream data.
  • Start from a template covers importing the gallery flow this page references.