📝

Your First n8n Workflow: A Step-by-Step Beginner Tutorial

に公開

日本語版はこちら

Your First n8n Workflow: A Step-by-Step Beginner Tutorial

In the previous post, we introduced what n8n is and the difference between n8n Cloud and self-hosted setups.
In this post, we’ll build your very first n8n workflow from scratch.

No advanced knowledge required — just follow along.

By the end of this tutorial, you’ll understand:

  • What a workflow looks like in n8n
  • How nodes connect to each other
  • How data flows between steps
  • How to run and test your automation

What We’re Going to Build

We’ll start with a simple but practical workflow:

A scheduled workflow that prepares a message automatically.

This example helps you learn:

  • Triggers
  • Actions
  • Data flow
  • Running a workflow safely

You can later replace the example with Slack, Email, Notion, or any other service.


Step 1: Create a New Workflow

After logging into n8n:

  1. Click New Workflow
  2. You’ll see an empty canvas
  3. This canvas is where you connect nodes to build automation

Think of a workflow as a flowchart:

Trigger → Logic → Action


Step 2: Add a Trigger Node

Every workflow starts with a trigger.

For this example:

  1. Click Add node
  2. Choose Schedule Trigger
  3. Set it to run every 5 minutes (or any interval you like)

This means:

“Run this workflow automatically on a schedule.”

You can later switch to:

  • Webhook triggers
  • App event triggers
  • Manual triggers

Adding a Schedule Trigger node in n8n

Adding a Schedule Trigger node to start the workflow.


Step 3: Add an Action Node

Now let’s add something that actually does something.

For a beginner-friendly setup:

  1. Add a Set node
  2. Create a new field called message
  3. Set the value to: Hello from my first n8n workflow!

This node prepares data for the next step.


A simple n8n workflow with a trigger and an action node

An example of a simple n8n workflow with a trigger and an action node.


Step 4: Connect the Nodes

Now connect the nodes:

  • Drag from the Schedule Trigger
  • Drop it onto the Set node

That’s it — your first workflow connection 🎉

What’s happening behind the scenes:

  • The trigger runs
  • Data flows into the next node
  • Each node receives input and produces output

Step 5: Run and Test the Workflow

Before activating anything:

  1. Click Execute Workflow
  2. Watch the nodes light up as they run
  3. Click each node to inspect its input and output

This is one of n8n’s biggest strengths:

You can see exactly what data is flowing between steps.


Inspecting node input and output during workflow execution

Inspecting input and output data while executing a workflow.


Step 6: Activate the Workflow

Once everything works:

  1. Click Activate
  2. The workflow will now run automatically based on the trigger

You’ve just built your first automation 🎉


Common Beginner Mistakes

Here are a few things new users often run into:

  • Forgetting to activate the workflow
  • Not checking node output when something fails
  • Making workflows too complex too early
  • Skipping test runs

Start small. n8n workflows grow naturally over time.


Final Thoughts

Your first n8n workflow doesn’t need to be impressive — it just needs to work.

Once you understand:

  • Triggers
  • Nodes
  • Data flow

Everything else builds on top of that.

Automation becomes a tool you design, not something you fight with.

PS:

Follow FLP on GitHub and LinkedIn to stay updated on new products and technologies from our team.

PS:

Follow FLP on GitHub and LinkedIn to stay updated on new products and technologies from our team.




🇯🇵 日本語版

初めてのn8nワークフロー:ステップバイステップの初心者向けチュートリアル

前回の記事では、n8nとは何か、そしてn8n Cloudとセルフホスト構成の違いを紹介しました。
この記事では、あなたの最初のn8nワークフローをゼロから作っていきます。

高度な知識は必要ありません — 手順どおりに進めるだけです。

このチュートリアルを終える頃には、次のことが理解できるようになります:

  • n8nでワークフローがどのように見えるか
  • ノード同士がどのように接続されるか
  • 手順間でデータがどのように流れるか
  • 自動化をどのように実行・テストするか

これから作るもの

まずは、シンプルですが実用的なワークフローから始めます:

スケジュールに従って、メッセージを自動で用意するワークフロー。

この例で学べること:

  • トリガー
  • アクション
  • データフロー
  • 安全にワークフローを実行する方法

後から、この例をSlack、Email、Notion、または他の任意のサービスに置き換えられます。


ステップ1:新しいワークフローを作成する

n8nにログインしたら:

  1. New Workflowをクリックします
  2. 空のキャンバスが表示されます
  3. このキャンバス上でノードを接続して自動化を組み立てます

ワークフローはフローチャートのようなものだと考えてください:

Trigger → Logic → Action


ステップ2:トリガーノードを追加する

すべてのワークフローは、トリガーから始まります。

この例では:

  1. Add nodeをクリックします
  2. Schedule Triggerを選びます
  3. 5分ごと(または好きな間隔)に実行されるよう設定します

これはつまり:

「スケジュールに従って、このワークフローを自動で実行する」

後から次のようなものにも切り替えられます:

  • Webhookトリガー
  • アプリイベントのトリガー
  • 手動トリガー

n8nでSchedule Triggerノードを追加する

ワークフローを開始するためにSchedule Triggerノードを追加します。


ステップ3:アクションノードを追加する

次に、実際に何かを実行する要素を追加しましょう。

初心者向けの構成としては:

  1. Setノードを追加します
  2. messageという新しいフィールドを作成します
  3. 値を次のように設定します:Hello from my first n8n workflow!

このノードは、次のステップのためにデータを準備します。


トリガーとアクションノードを持つシンプルなn8nワークフロー

トリガーとアクションノードを持つシンプルなn8nワークフローの例。


ステップ4:ノードを接続する

次にノードを接続します:

  • Schedule Triggerからドラッグして
  • Setノードにドロップします

これで完了です — 最初のワークフロー接続ができました 🎉

裏側で起きていること:

  • トリガーが実行される
  • データが次のノードへ流れる
  • 各ノードが入力を受け取り、出力を生成する

ステップ5:ワークフローを実行してテストする

何かを有効化する前に:

  1. Execute Workflowをクリックします
  2. 実行に合わせてノードが点灯するのを確認します
  3. 各ノードをクリックして、入力と出力を確認します

これはn8nの最大の強みの一つです:

ステップ間でどのデータが流れているかを正確に確認できます。


ワークフロー実行中にノードの入出力を確認する

ワークフロー実行中に入力・出力データを確認します。


ステップ6:ワークフローを有効化する

すべて問題なく動いたら:

  1. Activateをクリックします
  2. トリガーに基づいて、ワークフローが自動実行されるようになります

これで最初の自動化を作れました 🎉


初心者によくあるミス

新しいユーザーがよくつまずくポイントをいくつか挙げます:

  • ワークフローの有効化を忘れる
  • 失敗したときにノードの出力を確認しない
  • 早い段階でワークフローを複雑にしすぎる
  • テスト実行を飛ばす

まずは小さく始めてください。n8nのワークフローは、時間とともに自然に育っていきます。


最後に

最初のn8nワークフローは、すごいものである必要はありません — 動けば十分です。

次のことを理解できれば:

  • トリガー
  • ノード
  • データフロー

他のすべてはその上に積み上がっていきます。

自動化は「格闘するもの」ではなく、あなたが設計するためのツールになります。

PS:

チームの新しいプロダクトや技術情報を追うには、FLPのGitHubLinkedInをフォローしてください。

PS:

FLP の最新プロダクトやテクノロジー情報は、GitHubLinkedIn で確認できます。ぜひフォローしてください

Discussion