In short
n8n is a source-available (fair-code) workflow automation tool that connects apps and services on a visual canvas to automate repetitive work. Each step is a node, and a chain of nodes is a workflow. You can use n8n in the cloud or install it on your own server; a self-hosted install has no license limit on executions and your data stays on your server.
In this guide
n8n (pronounced "n-eight-n") is a workflow automation tool that connects different apps and services on a visual canvas to automate repetitive tasks. Its source code is available and it is distributed under a fair-code model, so you can either use n8n's cloud service or install it on your own server and run it without limits. Tasks like writing a web form submission to a spreadsheet, sending new orders to Telegram, or moving incoming invoices into an accounting folder can be built without code, and extended with JavaScript or Python when you need to.
How does n8n work? Nodes and workflows explained
Everything in n8n revolves around two concepts:
- Node: A building block that does one job. "Read email from Gmail", "Add a row to Google Sheets", "Send an HTTP request" or "Branch on a condition" are each a node. n8n ships with hundreds of ready-made integration nodes.
- Workflow: The flow you create by connecting nodes with arrows. The output of one node becomes the input of the next.
Trigger nodes
Every workflow starts with a trigger. The trigger decides when the flow runs:
- Schedule Trigger: Runs at set intervals (for example, every morning at 09:00 or every 15 minutes).
- Webhook: Runs instantly when an external system sends a request to the URL n8n gives you.
- App triggers: Run on events such as a new WooCommerce order, a new email in an IMAP inbox, or a new message to a Telegram bot.
- Form Trigger: Runs when someone fills out a simple web form generated by n8n itself.
Action and logic nodes
The nodes after the trigger process the data: IF and Switch handle conditional branching, Edit Fields (Set) renames fields, Merge combines data from two sources, and the Code node runs JavaScript or Python. For any service without a built-in integration, you can connect over its REST API with the HTTP Request node.
Data flow: items and expressions
In n8n, data flows as a list of JSON objects called items. You access the previous node's data with an expression. For example, here is how you insert the name and email fields from a form submission into a message:
Yeni başvuru: {{ $json.ad }} ({{ $json.email }})
Tarih: {{ $now.toFormat('dd.MM.yyyy HH:mm') }}Here $json returns the current item's data and $now returns the date and time of the run. You can also reach a specific node's output with $('Node Adı').item.json.
How is n8n different from Zapier and Make?
All three tools solve the same problem: connecting apps. The differences show up in the execution model, hosting options and flexibility.
| Criteria | n8n | Zapier | Make |
|---|---|---|---|
| Hosting | Cloud or your own server (self-hosted) | Cloud only | Cloud only |
| Billing unit | Workflow execution; independent of step count | Task; every successful step counts | Operation; every module run counts |
| Code support | Code node with JavaScript and Python | Limited code step | Limited, mostly functions |
| Data location | Fully on your own server when self-hosted | In the provider's cloud | In the provider's cloud |
| Learning curve | Moderate; better suited to technical users | Low | Moderate |
In practice the difference looks like this: if a 10-step workflow runs 500 times a day, a tool that bills per step counts roughly 5,000 tasks, while n8n counts 500 executions. Self-hosted n8n also has no license-side execution limit; your server's resources set the ceiling. For simple two- or three-step automations, hosted cloud tools can be convenient; for multi-step, data-heavy flows or flows that handle personal data, n8n stands out.
Example automations for businesses in Türkiye
- Order notifications: When a new WooCommerce order comes in, send the product, total and customer name to a Telegram group so the shipping team knows right away. For setup, see the guide to n8n Telegram and WhatsApp notifications.
- Quote request tracking: Write your website contact form to Google Sheets, email the sales team, and send a reminder for requests that have not been answered within 24 hours.
- e-Fatura and e-Arşiv archiving: Read emails with PDF attachments sent to your accounting address over IMAP (e-Fatura and e-Arşiv are Türkiye's electronic invoice formats), name the files by date and customer account, and save them to cloud storage.
- Low-stock alerts: Every morning, list products whose stock has dropped below your threshold and send a report to your purchasing manager.
- Exchange rate updates: Pull the daily exchange rates published by the Central Bank of the Republic of Türkiye (TCMB) with an HTTP Request node and update your price list or spreadsheet.
- AI-assisted replies: Classify incoming customer questions with a language model and draft replies for frequently asked questions. Details are in the n8n AI Agent setup guide.
Where should you run n8n?
You can use n8n in two ways: through n8n Cloud, managed by n8n, or with the self-hosted version you install on your own server. Cloud needs no setup but is limited by a monthly execution quota, and your data is processed on the provider's infrastructure. Self-hosted lets you run unlimited workflows, install community nodes freely, and keep customer data on your own server; in exchange, updates and backups are your responsibility. We compare the cost and features of both models in detail in n8n self-hosted vs n8n Cloud.
If you want the benefits of self-hosting without doing the setup yourself, n8n server plans that come preinstalled on Docker are a good middle ground: they are delivered with a PostgreSQL database and an automatic SSL certificate already configured, and root access keeps the server fully under your control.
Resource requirements for self-hosted n8n
The figures below are not hard rules; they are guideline numbers based on real-world experience:
- 2 vCPU / 4 GB RAM: A comfortable starting point for small and mid-sized businesses running notification, form, spreadsheet and CRM automations.
- 4 vCPU / 8 GB RAM: AI agents, flows that process large JSON payloads or files, and scenarios that receive many webhooks at once.
- 6 vCPU / 12 GB RAM and up: Teams such as agencies that run many client workflows on a single server.
Using PostgreSQL instead of the default SQLite is healthier for performance and backups as your execution history grows. If you want to try it on your own VDS, here is a quick test install with n8n's official Docker image:
docker volume create n8n_data
docker run -d --name n8n -p 5678:5678 \
-e GENERIC_TIMEZONE="Europe/Istanbul" \
-e TZ="Europe/Istanbul" \
-v n8n_data:/home/node/.n8n \
docker.n8n.io/n8nio/n8nThis command is for testing only: the interface opens on port 5678 over plain, unencrypted HTTP. In production, you need to publish n8n behind a reverse proxy with HTTPS and set the WEBHOOK_URL variable; otherwise webhooks will not work from outside. These settings are covered in detail in our guide to fixing n8n webhook issues. For all official installation options, see the n8n hosting documentation.
Build your first workflow in 5 steps
- Create a new workflow: In the n8n interface, click "Create Workflow" to open a blank canvas.
- Add a trigger: To start, choose "On form submission" (Form Trigger) and define name, email and message fields.
- Set up a credential: Add a destination node such as Google Sheets or Telegram and connect your account. Credentials are stored encrypted.
- Map the data: Assign form fields to destination columns by drag and drop or with expressions, then click "Test workflow" and send a sample submission.
- Go live: Save the workflow and activate it (in newer versions this step is called "Publish"). From then on, the production URL is used instead of the test URL.
To make sure you never miss a failure, it is a good habit to build a separate Error Trigger workflow that notifies you of failed executions by email or Telegram.
Common beginner mistakes
- Cramming everything into one workflow: A single 40-node flow is hard to read and hard to debug. Split repeated parts into separate workflows and call them with the Execute Workflow node.
- Scheduling too often: A check that runs every minute usually does the same job running every 15 minutes, and server load and execution history shrink accordingly.
- Keeping unlimited execution history: Saving all data from successful executions fills the disk quickly. Turn on automatic pruning of old records.
- Writing credentials in plain text: Instead of putting API keys in a Code node or an expression, always define them as credentials.
- Skipping backups: Export your workflows as JSON regularly and store the encryption key (
N8N_ENCRYPTION_KEY) somewhere safe.
Next step: run n8n on your own server
If you are ready to build your first automations, Sunucu Atlas n8n servers in our Istanbul data center let you skip the installation steps. For most businesses starting with notification, form and spreadsheet automations, the SA-N8N-1 n8n server with 2 CPU, 4 GB RAM and 40 GB NVMe disk is enough. If you are planning AI agents or data-heavy flows, SA-N8N-2 with 8 GB RAM gives you more headroom. You can compare all plans and current prices on the n8n server page, and open a support ticket for any questions after setup.
Frequently asked questions
Is n8n free?
The Community edition of n8n that you install on your own server can be used without a license fee; you only pay for the server. n8n Cloud is a paid service offered as a monthly subscription.
Do I need to know how to code to use n8n?
No, most automations are built with drag-and-drop nodes. Understanding expressions and JSON data structures makes things much easier, though, and you can use JavaScript or Python in the Code node when you need to.
What is the biggest difference between n8n and Zapier?
n8n can be installed on your own server and bills per execution; Zapier runs only in the cloud and counts every successful step as a separate task. In multi-step flows this difference has a noticeable impact on cost.
Can n8n integrate with Turkish apps?
You can connect to any service without a built-in node through the HTTP Request node, as long as it offers a REST API. APIs for Turkish virtual POS (payment gateway), shipping or accounting software can be used this way.
How much RAM does n8n need?
As a guideline, 4 GB RAM is a comfortable start for small and mid-sized automations. For AI agents and flows that process large amounts of data, 8 GB or more is recommended.