Edit Fields
core.set · version 3.4 · Transform
Add, change or remove fields on every item.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "manual" | One of manual, raw. | ||
assignments | fixed_collection | mode = manual | Fields to Set. Each entry writes one field; the value is converted to the chosen type. | ||
assignments.name | string | yes | |||
assignments.type | options | "string" | One of string, number, boolean, array, object. | ||
assignments.value | string | ||||
jsonOutput | json | "{}" | mode = raw | JSON. Object whose fields are written to each item. | |
includeOtherFields | boolean | false | Keep Other Fields. Keep the input fields that are not being set. | ||
include | options | "all" | includeOtherFields = true | Which Other Fields. One of all, selected, except. | |
includeFields | string | include = selected | Fields to Keep. Comma-separated field names. | ||
excludeFields | string | include = except | Fields to Drop. Comma-separated field names. | ||
options | collection | ||||
options.dotNotation | boolean | true | Use Dot Notation. Names like a.b create nested objects. | ||
options.ignoreConversionErrors | boolean | false | Ignore Type Errors. Keep the original value when it cannot be converted. | ||
options.stripBinary | boolean | true | Drop Binary Data. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.set | 1 | unverified | |
n8n-nodes-base.set | 2 | unverified | |
n8n-nodes-base.set | >=3 <4 | unverified |