n8n Workflow Tutorial: Build Your First Automation Path

A step-by-step n8n workflow tutorial to help you build your first automation using manual triggers and data logic.
4
min

Translate to

To help you move from simply watching a dashboard to actually building your own systems, we need to talk about the “flow” of data. In this n8n workflow tutorial, we are going to build a “Data Formatter”—a simple but powerful project that takes raw info, cleans it up using internal logic, and gives you a refined result.

Think of n8n like a digital assembly line. Each part of the line has a specific job, and the “flow” is how the data travels from the start to the finish.

1. Finding the Ignition: The Trigger Node

Every automation needs a starting point. In n8n, this is called the Trigger Node. It answers the question: “When should this automation start?”

  • The Manual Trigger: When you are first starting a project, this is your best friend. It doesn’t wait for an email or a website click; it waits for you. You click a button, and the workflow runs.

  • The Starting Line: By placing this node first, you create the entry point where your data enters the “assembly line.”

2. Performing the Task: Action Nodes

Once the trigger wakes up the workflow, it needs to actually do something. This is where Action Nodes come in.

  • The Edit Fields Node: You might see this referred to as the “Set” node in older guides. It is the most common tool for organizing data. It lets you create new information, rename existing fields, or modify data without needing to connect to outside apps like Google Sheets or Slack just yet.

3. Building the Path: Connecting Your Logic

The magic of this n8n workflow tutorial isn’t just in the nodes themselves, but in how you connect them.

  • Directing the Data: In n8n, you’ll see small circles on the sides of your nodes. You simply click and drag a line from the right side (output) of one node to the left side (input) of the next.

  • The “Water Pipe” Concept: Imagine the data is like water moving through a pipe. These connections ensure the data hits every transformation step in the exact order you want.

Hands-On: Building Your Data Formatter

Let’s move from theory to the canvas. Follow these steps to build your first working logic engine.

Phase 1: Setting the Stage

Open your n8n canvas and click the “+” icon to open the Node Library. Search for Manual Trigger and drag it onto the grid. This gives you total control over when the test runs.

Phase 2: Creating and Transforming Data

Now, we need to give the workflow some information to process. Connect your trigger to an Edit Fields node. We are going to create two specific pieces of data:

  1. A Simple Message: Add a field, choose “String,” name it welcome_message, and type: Hello! This is my first automation.

  2. A Dynamic Date (The Fun Part): Add another “String” field. 

    • The Name: Hover over the box and select Fixed. Type timestamp.

    • The Value: Hover over the box and select Expression. The box might change color (usually turning a light blue/grey). This tells n8n you are writing a “formula” instead of plain text.

Paste this code into the expression box: {{ $now.toFormat('yyyy-MM-dd') }}

What this means: n8n uses a library called Luxon to handle time. The {{ ... }} tells n8n to “calculate” this rather than just reading it as text. $now grabs the current moment, and .toFormat('yyyy-MM-dd') turns that messy computer timestamp into a clean date like 2026-04-22.

Phase 3: Testing Your Work

Now that the path is set, let’s see it in action.

  1. Click Execute: Hit the “Execute Workflow” button at the bottom of your screen.

  2. Watch the Flow: You will see a green checkmark appear on the nodes as the data passes through.

  3. Check the Results: Click on the Edit Fields node and look at the Output tab. You should see a neat piece of data showing your message and the correct, current date.

Summary and Next Steps

Building an automation is simply about defining where to start, what to change, and where the data should go. By following this n8n workflow tutorial, you’ve built a functional logic engine that processes data with 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 beginner :

Scroll to Top