Easy Tech Tuts
n8n

How to Use the n8n Edit Field Set Node Easily 2026

By Impran M NLast checked against official docs

The Edit Fields node, still widely known by its old name Set, is one of the most-used building blocks in n8n for reshaping data as it moves through a workflow. It doesn't just let whatever an upstream node returns pass through untouched: Edit Fields lets you add, rename, or restructure values into exactly what the next node expects. This guide walks through the node's interface: its Manual Mapping and JSON modes, the Add Field option, and where to run it against real input, starting from an empty n8n workspace.

01See what's already in your n8n workspace

Opening n8n lands you on the Overview page, listing every workflow you have access to alongside execution stats like production executions, failure rate, and average run time. An account with some history might already show a couple of workflows, a research pipeline, an AI chat flow, while a brand-new one will be empty aside from the Create workflow button. Either way, this is the starting point before you build or edit anything.

The n8n Overview page, listing existing workflows with execution and failure-rate stats above the list.
The n8n Overview page, listing existing workflows with execution and failure-rate stats above the list.

02Start a new workflow

Inside a fresh workflow, the canvas offers two starting points: "Add first step," which opens the manual node picker, or "Build with AI," which opens a chat panel where you describe what you want automated and n8n suggests a starting structure. For learning exactly what the Edit Fields node does, Add first step is the more direct route: it lets you place and configure nodes one at a time instead of accepting a generated flow.

A brand-new workflow canvas, with the choice between manually adding the first step or generating one with the Build with AI panel.
A brand-new workflow canvas, with the choice between manually adding the first step or generating one with the Build with AI panel.

03Add a trigger before you add Edit Fields

Every workflow needs something to start it, so the first node picker you'll see is "What triggers this workflow?" with options like Trigger manually, On a schedule, On webhook call, On form submission, and When executed by another workflow. For testing the Edit Fields node in isolation, Trigger manually is the simplest choice: it runs the flow on a button click in the editor, described right in the picker as good for getting started.

The trigger picker shown when starting a new workflow, listing manual, scheduled, webhook, form, and cross-workflow trigger options.
The trigger picker shown when starting a new workflow, listing manual, scheduled, webhook, form, and cross-workflow trigger options.

04Add the Edit Fields node and pick a mode

With a trigger in place, search for and add Edit Fields to the canvas, then open it to see its Parameters tab. The first setting is Mode, with two options: Manual Mapping, described as editing item fields one by one, and JSON, for customizing the item's output with raw JSON instead. Manual Mapping is the more approachable option for straightforward field changes; JSON mode is faster once you're comfortable writing the data structure directly.

The Edit Fields node's Parameters panel, with the Mode dropdown open showing Manual Mapping and JSON as the two available options.
The Edit Fields node's Parameters panel, with the Mode dropdown open showing Manual Mapping and JSON as the two available options.

05Build your fields in Manual Mapping mode

In Manual Mapping mode, the node shows a drop zone for input fields plus an "Add Field" link. Click it to define a field name, type it as a string, number, boolean, or object, and set its value, either typed directly or pulled from an upstream node through an expression.

A toggle controls whether fields you haven't explicitly touched still pass through to the output. Depending on your n8n version this shows up as "Include Other Input Fields," or, in current n8n documentation, as "Keep Only Set Fields" alongside a separate "Include in Output" setting.

The naming has shifted, but the effect is the same: deciding whether only the fields you've defined here survive, or everything else rides along too. One setting is easy to miss: field names support dot notation by default, so a field named "address.city" creates a nested address object with a city key, not a single field literally called address.city. If that's not what you want, look for "Support Dot Notation" in the node's Options and turn it off.

06Switch to JSON mode for bulk changes

If you need to restructure a payload more heavily than a handful of individual fields allows, switch Mode to JSON and write or paste the output structure directly, referencing upstream data with the same expression syntax n8n uses elsewhere. This is usually faster for nested objects or arrays than building the same structure field by field in Manual Mapping.

07Test the node before moving on

The node's Input and Output panels sit on either side of the parameters and start out showing "No input data" and "No output data" until you run something through them. Click "Execute previous nodes" to pull real data in from whatever comes before Edit Fields on the canvas, or use "Execute step" to run the node itself and see your configured fields in the Output panel, confirming the shape is correct before you connect anything downstream.

FAQ

Frequently asked questions

What is the Edit Fields (Set) node used for in n8n?

It reshapes the data passing through a workflow, adding, updating, or restructuring fields before the next node receives them.

What's the difference between Manual Mapping and JSON mode?

Manual Mapping lets you add and type individual fields one at a time; JSON mode lets you write or paste the entire output structure directly.

How do I reference data from a previous node?

Use an expression when setting a field's value in Manual Mapping, or reference upstream data directly inside the JSON when using JSON mode.

Can the Edit Fields node remove data I don't need?

Yes. Depending on your n8n version, turn off "Include Other Input Fields," or enable "Keep Only Set Fields" in current versions, so only the fields you've explicitly defined in the node carry through to the output.

How do I check what the node outputs?

Use "Execute previous nodes" to pull in real input, then "Execute step" to run Edit Fields itself and check the Output panel.

Why did my field with a period in the name turn into a nested object?

n8n's Edit Fields node supports dot notation by default, so a name like address.city becomes a nested object. Turn off "Support Dot Notation" in the node's Options if you want the literal field name instead.

Sources and last check

Click path and screenshots come from a walkthrough recorded in July 2025, and they match the current n8n UI. Mode names, the Manual Mapping options, and dot-notation behaviour were re-checked against n8n's official Edit Fields (Set) node documentation in September 2026. That check found the field-retention toggle now goes by different names ("Keep Only Set Fields" / "Include in Output") than the "Include Other Input Fields" label this article used, and it added the dot-notation default, which the original didn't mention.

About the author

Impran M N
Written by

Impran M N

I've been hooked on technology for as long as I can remember — especially the new tools and AI apps that seem to land every other week. Easy Tech Tuts is where I write up whatever I've just worked out: I do the task in the real product, record the screen, and turn it into the guide I wish I'd found first.