To transition from observing the dashboard to architecting a workflow, you must understand the “flow” of data. This n8n workflow tutorial walks through the creation of a “Data Formatter”—a project that takes raw information, transforms it using internal logic, and outputs a refined result.
1. The Trigger: Establishing the “When”
Every successful automation requires an ignition switch. In n8n, this is the Trigger Node. It defines the exact condition that tells the workflow to “wake up” and begin processing.
The Manual Trigger: For a new project, this is the most reliable tool. It allows you to initiate the workflow with a single click of the “Execute Workflow” button, creating a controlled environment for testing.
The Starting Line: By placing this node first, you establish the entry point for your data.
2. The Action: Defining the “What”
Once the trigger fires, the workflow needs to perform a task. This is handled by Action Nodes.
The Edit Fields Node: Formerly known as the “Set” node, this is arguably the most versatile tool in your arsenal. It serves as your primary mechanism for internal data manipulation, allowing you to create, rename, or modify information without any external integrations.
3. The Connection: Mapping the “Path”
The true intelligence of this n8n workflow tutorial is found in the connections. A Path is the line you draw between nodes.
Directing Data: By dragging a line from the output (right side) of your trigger to the input (left side) of your action node, you give the data a clear direction.
Logical Flow: This path ensures that the information travels through the system like water through a pipe, hitting every transformation step in the correct order.
Hands-On Project: Creating the Data Formatter
Now, let’s apply these concepts by building a functional project on your canvas.
Phase 1: Initializing the Flow
Start by opening your Node Library (the “+” icon) and dragging a Manual Trigger onto the grid. This ensures you can test your project at every stage.
Phase 2: Defining and Transforming Data
Next, we need to give the system something to work with. Connect your trigger to an Edit Fields node. Inside the configuration panel, we will create two distinct data points:
Text Strings: Add a new field of the “String” type. Name it
welcome_messageand enter the value:Hello! This is my first automation.Dynamic Expressions: Add another “String” field and name it
timestamp. Instead of typing a date, click the “Expression” button. Use the following code:{{ $now.toFormat('yyyy-MM-dd') }}The expression
{{ $now.toFormat('yyyy-MM-dd') }}is powered by Luxon, a powerful JavaScript library that n8n uses to handle dates and times.Here is a quick breakdown of how it works:
{{ ... }}: These double curly braces tell n8n that this isn’t just regular text; it is an expression that needs to be calculated.$now: This is an internal n8n variable that represents the exact date and time the workflow is currently running..toFormat(): This is a function that takes the raw timestamp from$nowand turns it into a readable format.'yyyy-MM-dd': These are “tokens” that tell the system exactly how to display the date. In this case, it will output the year, then the month, then the day (e.g., 2026-04-17).
By using this expression instead of typing a static date, the workflow becomes “dynamic,” ensuring that every time it runs, it generates the current, accurate date automatically.
Phase 3: Execution and Verification
With the path connected and the data defined, it is time to verify the logic.
Run the Test: Click “Execute Workflow” at the top right of the editor.
Observe the Flow: You will see the nodes activate in sequence as the data travels along the path.
Inspect Output: Open the Output tab of the Edit Fields node. You will see a clean JSON object containing your custom message and the automatically generated date.
Summary:
As demonstrated in this n8n workflow tutorial, building an automation is a structured process of defining the start, selecting the action, and connecting the path. By mastering these internal mechanics, you move from a blank canvas to a functional logic engine capable of processing complex data sets with total precision.
To keep your learning momentum going, check out these related guides from our n8n series. Each one explores a different layer of the platform to help you transition from a beginner to an automation expert:
Understanding the n8n Canvas Basics: An Introduction: Start here to learn the foundations of the visual workspace and the infinite grid.
How to Install n8n Locally: A quick technical walkthrough for setting up your own private n8n environment.
n8n Interface Guide: Dashboard and Workspace Tour: A full tour of the 2026 layout, including production analytics and navigation tools.