📝

Getting Started with n8n

に公開
🇯🇵 この記事を日本語で読む →

Getting Started with n8n: A Beginner’s Guide to Automation

Automation doesn’t have to be complicated. If you’ve ever wanted to connect apps, move data around, or automate repetitive tasks without writing tons of code, n8n is a great place to start.

This post is a beginner-friendly introduction to what n8n is, how its hosted instance (n8n Cloud) works, and how you can self-host n8n using free or low-cost servers like Oracle Cloud Free Tier or Amazon EC2.

Workflow


What is n8n?

n8n (short for “node-to-node”) is an open-source workflow automation tool. It lets you build workflows by connecting nodes, where each node represents an app, a trigger, or an action.

With n8n, you can:

  • Automate tasks between tools like Slack, Google Sheets, Notion, GitHub, and more
  • Trigger workflows via webhooks, schedules, or app events
  • Add logic such as conditions, loops, and error handling
  • Use JavaScript when needed, but not required for most use cases

n8n also supports AI-powered nodes, allowing you to integrate language models (like GPT-style APIs) directly into workflows—for example, summarizing text or classifying data as part of an automation. For beginners, this means AI can be used inside workflows, not as a separate tool.

Unlike many no-code automation platforms, n8n is open-source and gives you more control over your data—especially when you choose to self-host it.


Option 1: Using n8n Cloud (Hosted Instance)

The easiest way to get started with n8n is n8n Cloud, the official hosted version.

How it works

  • You sign up on n8n’s website
  • n8n runs and maintains the server for you
  • You access everything through a web-based editor
  • No server setup required

Pros

  • Very easy to start
  • No infrastructure or maintenance work
  • Automatic updates
  • Suitable for teams and production use

Cons

  • Monthly subscription cost
  • Less control over infrastructure
  • Data is hosted on a third-party service

Best for: beginners who want a smooth start or users who don’t want to manage servers.


Option 2: Self-Hosting n8n

If you prefer full control over your workflows and data, self-hosting n8n is a popular option.

By self-hosting, you:

  • Own your data
  • Control updates and configurations
  • Can reduce or eliminate monthly costs
  • Can integrate more deeply with your own systems

Self-Hosting with Oracle Cloud Free Tier

Oracle Cloud offers an Always Free tier that many people use to run n8n.

Why it works well:

  • Free compute instances (ARM or AMD)
  • Enough performance for personal or small projects
  • Works well with Docker-based setups

A common approach:

  1. Create a free Oracle Cloud account
  2. Launch a Linux virtual machine (e.g. Ubuntu)
  3. Install Docker and Docker Compose
  4. Run n8n as a Docker container
  5. (Optional) Add HTTPS with a reverse proxy

For many users, this setup can run 24/7 at no cost.


Self-Hosting with Amazon EC2

Amazon EC2 is another common choice.

Advantages:

  • Free tier available for the first 12 months
  • Highly flexible and scalable
  • Well-documented ecosystem

Things to consider:

  • Free tier expires after one year
  • Pricing can become complex
  • Requires monitoring to avoid unexpected costs

EC2 is a good option if you already use AWS or plan to scale your automation later.


n8n Cloud vs Self-Hosted: Quick Comparison

Feature n8n Cloud Self-Hosted
Setup Very easy Moderate
Cost Monthly subscription Free to low cost
Maintenance None You manage updates
Data control Limited Full
Customization Limited Full

Rule of thumb:

  • Choose n8n Cloud if you want convenience
  • Choose self-hosting if you want control and flexibility

Final Thoughts

n8n is a powerful automation tool that scales from simple personal workflows to complex production systems. You can start with the hosted version in minutes, then move to self-hosting when you’re ready.

Whether you’re automating everyday tasks, integrating APIs, or experimenting with AI-powered workflows, n8n gives you a solid foundation to build on.

PS:

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




🇯🇵 日本語版

n8n入門: はじめての自動化ガイド

自動化って、そこまで難しく考えなくて大丈夫です。アプリ同士をつないだり、データを受け渡したり、大量のコードを書かずに 繰り返し作業を自動化したいと思ったことがあるなら、n8n はかなりいい入り口です。

この記事では、初心者向けに n8n とは何かホスト版 (n8n Cloud) がどう動くのか、そして Oracle Cloud Free TierAmazon EC2 のような無料または低コストなサーバーを使って n8n を self-host する方法 について紹介します。

Workflow


n8n とは?

n8n(「node-to-node」 の略です)は、オープンソースのワークフロー自動化ツールです。node をつないでワークフローを組み立てていく仕組みで、それぞれの node はアプリ、トリガー、またはアクションを表します。

n8n でできることは、たとえばこんな感じです。

  • Slack、Google Sheets、Notion、GitHub などのツール間の作業を自動化する
  • webhook、スケジュール、アプリのイベントをきっかけにワークフローを実行する
  • 条件分岐、ループ、エラーハンドリングのようなロジックを追加する
  • 必要に応じて JavaScript を使えるが、多くのケースでは必須ではない

n8n は AI-powered node にも対応していて、言語モデル(GPT系の API など)をワークフローの中にそのまま組み込めます。たとえば、自動化フローの一部としてテキストを要約したり、データを分類したりできます。初心者目線でいうと、AI を別ツールとして使うのではなく、ワークフローの中で使えるのがポイントですね。

多くの no-code 自動化プラットフォームと違って、n8n はオープンソースです。特に self-host を選べば、データの扱いをより細かくコントロールできます。


選択肢1: n8n Cloud を使う(ホスト版)

n8n をいちばん手軽に始める方法は、公式のホスト版である n8n Cloud を使うことです。

仕組み

  • n8n の Web サイトでサインアップする
  • サーバーの実行や保守は n8n 側がやってくれる
  • すべて Web ベースのエディタから操作できる
  • サーバーのセットアップは不要

メリット

  • とにかく始めやすい
  • インフラ構築や保守がいらない
  • 自動でアップデートされる
  • チーム利用や本番運用にも向いている

デメリット

  • 月額のサブスクリプション費用がかかる
  • インフラの自由度は低め
  • データはサードパーティのサービス上でホストされる

向いている人: まずはスムーズに始めたい初心者や、サーバー管理をしたくない人です。


選択肢2: n8n を self-host する

ワークフローやデータをフルコントロールしたいなら、n8n を self-host する のが定番の選択肢です。

self-host すると、次のようなメリットがあります。

  • データを自分で保持できる
  • アップデートや設定を自分で管理できる
  • 月額コストを下げたり、場合によってはゼロにできる
  • 自分のシステムとより深く連携できる

Oracle Cloud Free Tier で self-host する

Oracle Cloud には Always Free の枠があり、これを使って n8n を動かしている人はかなり多いです。

相性がいい理由はこんな感じです。

  • 無料の compute instance(ARM または AMD)が使える
  • 個人用途や小規模プロジェクトなら十分な性能がある
  • Docker ベースの構成と相性がいい

よくある構成手順は次のとおりです。

  1. Oracle Cloud の無料アカウントを作成する
  2. Linux の virtual machine(例: Ubuntu)を起動する
  3. Docker と Docker Compose をインストールする
  4. n8n を Docker container として起動する
  5. (必要なら)reverse proxy を使って HTTPS を追加する

この構成なら、多くのユーザーにとって 24時間365日を無料で 動かせることがあります。


Amazon EC2 で self-host する

Amazon EC2 もよく使われる選択肢のひとつです。

メリット:

  • 最初の 12 か月は free tier が使える
  • 柔軟性とスケーラビリティが高い
  • ドキュメントや周辺エコシステムが充実している

注意点:

  • free tier は 1 年で終了する
  • 料金体系がやや複雑になりがち
  • 想定外のコストを避けるために監視が必要

すでに AWS を使っている人や、あとで自動化基盤をスケールさせたい人には、EC2 はいい選択肢です。


n8n Cloud と self-host の比較

機能 n8n Cloud Self-Hosted
セットアップ とても簡単 中程度
コスト 月額課金 無料〜低コスト
メンテナンス 不要 自分でアップデート管理
データ管理 制限あり フルコントロール
カスタマイズ性 制限あり フル

ざっくりした目安:

  • 手軽さを優先するなら n8n Cloud
  • 制御性や柔軟性を重視するなら self-hosting

まとめ

n8n は、ちょっとした個人用ワークフローから複雑な本番システムまで対応できる、かなり強力な自動化ツールです。まずはホスト版で数分で始めて、慣れてきたら self-host に移る、という流れも自然にできます。

日々の作業を自動化したいときも、API を連携したいときも、AI-powered なワークフローを試したいときも、n8n はしっかりした土台になってくれます。

PS:

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

Discussion