On this page
Every example here is designed to be implemented as is: you open the n8n editor, create a new workflow, and add the nodes in the order given. The goal is not theoretical reading but coming away with an automation that actually works in your environment. And if you are still at the beginning with the tool itself (installation and the basic concepts), go back to the comprehensive n8n guide, then return here to put it into practice.
We deliberately arranged the examples in increasing order of difficulty. The first examples introduce one new building block at a time: the first example introduces the instant trigger (Webhook), the second adds scheduling and a condition, the third writing to an external service, and so on until, in the seventh example, we combine everything before it with an error-handling layer. This progression means that if you master the first example, you automatically understand half of the second, so don't jump to the advanced examples before the simple one works for you. At the end of each example there is a reference table summarizing the trigger, the nodes and the output, which works as a quick card to come back to later without rereading the whole explanation.
What do you need before starting the examples?
Before implementing any example, make sure you have an n8n environment ready. You don't need extensive programming experience, but you do need to understand three concepts that recur in every workflow: the trigger that starts the execution, the nodes that process and move the data, and the credentials that securely store access keys for external services. These three are the foundations of every workflow, however large: a single trigger at the start, a chain of nodes in the middle, and credentials that connect the nodes to the outside world securely. Once you grasp their roles, you can read any complex workflow like an understandable sentence rather than a puzzle.
A key point about how data moves: in n8n, it is not a single value that passes but "items" in JSON form from one node to the next, and each node receives the output of the previous one and modifies it, adds to it or branches based on it. That is why the Set node appears so often in the examples: its role is to make sure the data reaching the next node is clean and clearly named, so you are not surprised by missing fields or wrong types in the middle of the flow.
The examples here assume that n8n runs on a fixed domain with an SSL certificate, because Webhook nodes in particular need a public URL to receive requests from external services. Running it on your local machine is enough for experimenting, but real production requires a server that runs without interruption. That is why most users host n8n on a small VPS server that ensures continuous operation and a public address.
| Item | Why you need it | Alternative while experimenting |
|---|---|---|
| A running n8n instance | The environment for building and running workflows | A local instance via Docker |
| A domain + SSL | To receive Webhooks from outside | A temporary tunnel for testing |
| Credentials for the services | Secure access to Slack, Sheets and others | Test keys with limited permissions |
| Understanding Trigger/Node | To build the logic correctly | Review in the basic guide |
The types of nodes you will use in the examples
Nodes in n8n fall into functional categories. Understanding the role of each category makes the examples easier to read, because each example is simply a combination of these building blocks:
| Node type | Function | Examples |
|---|---|---|
| Trigger | Starts the workflow's execution | Webhook, Schedule, RSS Feed Trigger |
| Action | Performs an operation on a service | Slack, Google Sheets, Send Email |
| General request | Talks to any API over HTTP | HTTP Request |
| Transformation | Prepares and reshapes the data | Set, Edit Fields, Code |
| Control | Controls the path of the flow | IF, Switch, Merge, Loop |
| Utility | Supporting operations | Wait, NoOp, Error Trigger |
Types of triggers and when to use each one
Choosing the right trigger is half of a workflow's success. The trigger determines "when" the flow runs, and that is a fundamental decision that affects reliability and cost:
| Trigger | Runs when | Example use |
|---|---|---|
| Webhook | An external HTTP request arrives | A website form sends data instantly |
| Schedule (Cron) | A set, recurring time | A daily report at 8 a.m. |
| RSS Feed Trigger | A new item appears in a feed | Monitoring a blog or a news source |
| App Trigger | An event inside a connected app | A new message, a new row |
| Manual Trigger | Clicked manually for testing | Trying out the flow while building it |
| Error Trigger | Any other workflow fails | An alert when an automation breaks |
Example 1: from a Webhook to a Slack alert
This is the simplest practical example and an excellent introduction to how data flows: n8n receives an external request (a Webhook), prepares its content, then sends it as a formatted message to a Slack channel. A common real-world scenario: when a customer submits a contact form on your site, your support team gets an instant alert without opening email.
The value of this example is that it teaches you the whole central idea in three nodes: an event arrives from outside, the data is transformed, then an action is performed on a service. Every later example is just an extension of this three-part structure: you swap the trigger, multiply the transformation nodes, or replace the final action with another service. That is why it deserves to be truly mastered before you move on.
Goal: an instant notification in Slack when an external event arrives (a form, an order, a system alert). Trigger: a Webhook node that receives a POST request. Nodes in order: Webhook → Set (prepare the fields) → Slack (send a message).
The steps in order
- Create a new workflow and add a Webhook node. Set the method to
POSTand copy the Webhook URL that n8n generates (the production URL, not the test URL, when you go live). - Add a Set node (or Edit Fields) to extract the fields you care about from the incoming request and name them clearly: name, email, message. This step keeps the final message clean instead of passing along the raw JSON.
- Add a Slack node, choose the "Send a Message" action, select the channel, then write the message text using the field values from the Set node.
The message text in the Slack node can use expressions to insert dynamic data, such as:
New request from: {{ $json.name }}
Email: {{ $json.email }}
Message: {{ $json.message }}Points to watch out for
- Always use the production URL for the Webhook after activating the workflow (Active); the test URL works only while you click "Listen for test event."
- If possible, secure the Webhook by checking a signature or a secret key in the header to block forged requests.
- If the structure of the incoming request is not fixed, add an IF node after the Webhook to reject incomplete requests instead of passing corrupt data to Slack.
- Configure the Webhook's own response: it can reply immediately with a 200 code and then continue processing, or wait for the flow to finish and reply with its result. The first option is better when the sender is a service that cannot tolerate a long wait.
In production, it is advisable to add a second Set node before Slack to format the message richly (headings, links, emoji) instead of raw text, since a clear alert is read and acted on faster. You can also route the message to a different channel depending on the request type through a Switch node, so support requests go to one channel and sales requests to another from the same flow.
| Aspect | Detail |
|---|---|
| Trigger | Webhook (POST) |
| Nodes | Webhook → Set → Slack |
| Output | An instant message in a Slack channel |
| Common case | Alerting the support team to a new form submission |
Example 2: scheduled sync with Cron, HTTP and IF
Here we move from reacting to an external event to scheduled execution: a workflow that runs automatically at a set time, fetches data from an external API, checks a condition and acts on the result. A real-world example: monitoring a product's price or a service's status every hour, and sending an email only when a certain threshold is crossed.
Goal: a periodic check of a data source and a conditional action (an email when the condition is met). Trigger: a Schedule (Cron) node at a recurring time. Nodes in order: Schedule → HTTP Request → IF → (Send Email on "true" / NoOp on "false").
The steps in order
- Add a Schedule node and set the interval (for example, every hour, or daily at a specific time). For precise control, use a Cron expression directly.
- Add an HTTP Request node to fetch the data from the API. Set the method to
GET, specify the endpoint URL, and add headers or an access key through Credentials if needed. - Add an IF node to check a value from the response (for example: is the price below a certain limit? Is the status "down"?).
- On the "true" branch, add a Send Email node (or Slack); on the "false" branch, you can leave the branch empty or add a NoOp node.
A typical Cron expression to run the task every hour at minute zero:
0 * * * *Points to watch out for
- Set the interval wisely: running too often consumes server resources and exceeds the external API's rate limits.
- Use Credentials to store API keys instead of writing them directly in the HTTP Request node.
- The IF node is sensitive to data types; make sure you compare a number with a number and text with text, and convert the type in a Set node if needed.
- Document the reason for the schedule in a note inside the flow (for example: "every hour because the source updates its price data hourly"), so whoever maintains it later does not change the timing at random.
An important difference between Schedule here and the Webhook in the first example: the time trigger does not depend on an external party pushing the data; it takes the initiative and pulls it (polling). This makes it simpler to set up and easier to control, but it adds a delay equal to the interval: you won't learn about a change the moment it happens, only at the next check. Choose a short interval for time-sensitive events and a longer one for what can tolerate delay, balancing detection speed against resource use and the source's rate limits.
| Aspect | Detail |
|---|---|
| Trigger | Schedule (Cron) |
| Nodes | Schedule → HTTP Request → IF → Email/NoOp |
| Output | An alert email when the condition is met |
| Common case | Periodically monitoring a price or a service's status |
Running a scheduled flow precisely around the clock assumes your server never sleeps or goes down, so choose an always-on environment rather than a temporary or local solution.
Example 3: from a form (Form/Webhook) to Google Sheets
Recording form submissions in a live spreadsheet is one of the most requested use cases, because it turns n8n into a bridge between your site and a simple database the team can view without complex tools. Every form submission instantly becomes a new row in Google Sheets.
Goal: archive every form submission as a row in Google Sheets without manual work. Trigger: a Webhook node (or n8n Form Trigger) that receives the form data. Nodes in order: Webhook/Form → Set (clean up the fields) → Google Sheets (Append Row).
The steps in order
- Add a trigger: either a Webhook that receives form data from your site, or the n8n Form Trigger, which generates a ready-made form hosted by n8n itself.
- Add a Set node to map the form fields to the spreadsheet columns in the correct order and to clean up the values (remove extra spaces, standardize dates).
- Add a Google Sheets node, choose the "Append Row" action, select the file and the worksheet, and map each column to the appropriate field.
Points to watch out for
- Set up Google Credentials via OAuth2 and grant access to the specific worksheet only, not the whole account.
- Arrange the column names in the spreadsheet's first row to match the field names; this simplifies the mapping and reduces errors.
- To avoid duplicates when a form is resubmitted, you can add a Google Sheets node to read first, then an IF to check the row does not already exist.
- Add a timestamp column that is filled automatically in the Set node with the current time, so you know later when each record arrived without relying on row order.
In practice, this example turns n8n into a middle layer between your site and simple, flexible storage. Its advantage is that the non-technical people on your team read the data directly in a familiar spreadsheet and build charts or filters on top of it without touching a database. And when the volume grows and Google Sheets reaches its limits, you just replace the last node with a real database node while the rest of the flow stays as it is; that is the essence of the flexibility of automation built from building blocks.
| Aspect | Detail |
|---|---|
| Trigger | Webhook / Form Trigger |
| Nodes | Webhook → Set → Google Sheets (Append) |
| Output | A new row for every form submission |
| Common case | Collecting leads or event registrations |
Example 4: monitoring RSS or a product and sending a notification
Automation does not always wait for an event to reach you; it can go and monitor an external source on your behalf. This example monitors an RSS feed (a blog, a news source, or a product page that publishes its updates as a feed) and sends a notification when a new item appears.
Goal: follow a changing source automatically and get alerted to everything new. Trigger: an RSS Feed Trigger node (or Schedule + RSS Read). Nodes in order: RSS Trigger → Set (pick the title and link) → Slack/Telegram (notification).
The steps in order
- Add an RSS Feed Trigger node and enter the feed URL. The node takes care of tracking new items so notifications are not repeated.
- Add a Set node to pick the useful fields: the item's title, the link, the publish date and a short excerpt.
- Add a notification node (Slack, Telegram or Send Email) and compose the message with the title and the link.
Points to watch out for
- Some feeds update slowly; set the check interval to suit the source's pace to avoid excessive checking.
- If the source does not offer RSS, use HTTP Request to fetch the page, then a Code/HTML node to extract the information, comparing it with the previous value to detect a change.
- Store the last item processed (in a variable or a simple database) if you use Schedule instead of the dedicated trigger, to avoid repeated notifications.
| Aspect | Detail |
|---|---|
| Trigger | RSS Feed Trigger / Schedule |
| Nodes | RSS → Set → Slack/Telegram |
| Output | A notification for every new item |
| Common case | Following a competitor or a news source |
Example 5: syncing two apps via an API
Many businesses use more than one tool that don't talk to each other: a CRM on one side, a support tool on another, a spreadsheet as a third. This example builds a bridge that syncs data between two apps via the API, creating a record in the second app whenever a new record appears in the first.
Goal: keep two apps consistent without double manual entry. Trigger: an App Trigger for the source app (or Schedule + HTTP Request for periodic pulling). Nodes in order: Trigger → HTTP Request (read) → Set (map the fields) → HTTP Request (write to the destination).
The steps in order
- Choose the trigger: use the app's dedicated node if one exists (such as "On new record"), or a Schedule node that periodically pulls new records via HTTP Request.
- Add an HTTP Request node to read the new records from the source app (filtered by date or by the ID of the last record).
- Add a Set node to transform the data structure from the source's shape to the destination's shape (field names, type conversions).
- Add an HTTP Request node with the
POSTmethod to create the record in the destination app through its API.
Points to watch out for
- Handle pagination consistently in the read node if there are many records; otherwise you will miss data.
- Store the ID of the last synced record to avoid duplicates in the next cycle (idempotency).
- Watch the rate limits of both apps, and add a Wait node between requests if needed to avoid a temporary ban.
- Decide the direction of the sync clearly: one-way (from source to destination only) or two-way. Two-way sync is more powerful, but it opens the door to conflicts (the same record edited on both sides) and needs a well-thought-out "which version wins" logic.
Syncing between systems is one of the most valuable automations because it eliminates double entry and the human errors and delays that come with it. But it is also the most sensitive: a mistake in field mapping or in the deduplication logic damages your data in two places at once. So start with a one-way sync on a small sample, check the results manually, then widen the scope gradually before running it on all the data.
| Aspect | Detail |
|---|---|
| Trigger | App Trigger / Schedule |
| Nodes | Trigger → HTTP (read) → Set → HTTP (write) |
| Output | A matching record in the destination app |
| Common case | Syncing a CRM with a support tool |
Example 6: periodic summarizing or processing
Some tasks don't just send data; they process and summarize it: totaling the day's numbers, preparing a short report, or cleaning up accumulated data. This example builds a periodic report compiled from a source and sent as a ready-to-read summary.
Goal: produce a periodic (daily/weekly) summary from raw data and send it. Trigger: a Schedule (Cron) node at the end of the day or week. Nodes in order: Schedule → HTTP Request/Database (fetch) → Code or Aggregate (summarize) → Send Email/Slack.
The steps in order
- Add a Schedule node set to the time the report should be produced (for example, every Monday at 9 a.m. for the weekly report).
- Add a data-fetching node: HTTP Request from an API, or a database node (Postgres/MySQL) to query the records.
- Add a Code node or an Aggregate/Summarize node to total the numbers, calculate sums and averages, and compose the summary text.
- Add a Send Email or Slack node to send the final summary in a readable format.
A simplified example of aggregation code inside a Code node:
const total = items.reduce((sum, item) => sum + item.json.amount, 0);
return [{ json: { total, count: items.length } }];Points to watch out for
- Make sure the code handles the "no data" case (an empty array) so the flow does not fail on a day with no activity.
- If the summary is complex text, you can add a language model node, but keep the arithmetic logic in a Code node to ensure accuracy.
- Document the report format in a note inside the workflow so whoever maintains it later understands it.
| Aspect | Detail |
|---|---|
| Trigger | Schedule (Cron) |
| Nodes | Schedule → fetch → Code/Aggregate → Email/Slack |
| Output | A periodic summary report |
| Common case | An automatic weekly sales report |
Example 7: a workflow with error handling and retries
Real production automation handles failure gracefully; it does not collapse at the first error. This example is a "hardened" version of any previous workflow: it adds retries on temporary failures, a path for handling errors, and an alert to the administrator on final failure.
Goal: a reliable flow that withstands temporary faults and reports real failures. Trigger: any trigger (Webhook/Schedule) + a separate Error Trigger for alerts. Nodes in order: Trigger → the operation node (with Retry On Fail) → IF (success?) → success path / fallback path; and a second workflow that starts with Error Trigger → Slack alert.
The steps in order
- In the critical operation node (such as HTTP Request), enable the Retry On Fail option and set the number of attempts and the delay between them, to handle transient network or service faults.
- Set the node's behavior on failure: either "Stop Workflow" for tasks that must not finish incomplete, or "Continue (using error output)" to pass the error to a fallback path.
- Add an IF node after the operation to check that it succeeded and route the flow to the success path or the failure-handling path.
- Create a separate workflow that starts with an Error Trigger node and automatically sends a Slack alert when any other flow fails, with the error details and the workflow's name.
Points to watch out for
- Don't retry too much on permanent errors (such as 401 or 404); retries are useful for temporary errors (such as 429 or a network outage).
- Connect the Error Trigger to an active alert channel (Slack/email) so you learn about a failure as soon as it happens, not days later.
- Use a Wait node between attempts for operations affected by rate limits, because an immediate retry can make the ban worse.
| Aspect | Detail |
|---|---|
| Trigger | Any trigger + Error Trigger |
| Nodes | Trigger → operation (Retry) → IF → success/fallback |
| Output | A reliable flow + an alert on failure |
| Common case | Protecting any critical production automation |
Additional use cases by field
The seven examples are adaptable templates. The following table links each field to a practical automation and the nodes you build it with, so you can start from it directly:
| Field | Automation | Core nodes |
|---|---|---|
| Marketing | Add a new lead to the CRM and send a welcome | Webhook → Set → CRM → Email |
| Support | A new ticket creates a team alert | App Trigger → IF → Slack |
| Commerce | A new order updates inventory and a spreadsheet | Webhook → HTTP → Google Sheets |
| Content | A new post is published on multiple platforms | RSS → Set → several publishing nodes |
| Operations | A scheduled data backup | Schedule → Database → storage |
| Human resources | A leave request is routed for approval | Form → IF → Email → Sheets |
Common mistakes
Many problems in n8n recur among beginners, and knowing them in advance saves hours of diagnosis. The following table brings together the main ones with their practical fix:
| Problem | Cause | Fix |
|---|---|---|
| The Webhook receives nothing | Using the test URL, or the workflow is not activated | Activate the workflow and use the production URL |
| The IF node gives the wrong result | Comparing text with a number, or a type mismatch | Convert the type in Set before comparing |
| Credentials suddenly fail | An expired OAuth token | Re-authenticate the credential and renew the authorization |
| Duplicate data | No idempotency check | Store the ID of the last record and check it |
| Rate limit exceeded (429) | Requests in quick succession | Add a Wait node or widen the Schedule interval |
| The flow stops at a minor error | No error handling | Enable Retry On Fail and add an Error Trigger |
| Slow execution | Processing huge batches all at once | Split the data or use Loop/Batches |
One of the costliest mistakes is running n8n in an unstable environment: a local instance that shuts down with your computer, or a weak server that stumbles under load. Then scheduled workflows fail silently, and you discover later that your reports and syncs stopped days ago.
Best practices (credentials, error handling, performance)
Building a workflow that works once is one thing; building reliable production automation is another. These practices separate the two, and they fall into three areas: security, reliability and performance.
Security and credential management
- Store every key in n8n's Credentials and never type them by hand inside nodes; credentials are encrypted and reused safely.
- Give each credential the least privilege possible: a read-only key if the task only reads.
- Secure Webhook nodes with a secret key or a signature in the header, and enable basic authentication on the n8n interface itself.
Error handling and reliability
- Give every production workflow an Error Trigger that notifies you on failure, so you don't discover faults by chance.
- Enable Retry On Fail on nodes that talk to external services, because temporary faults are common.
- Test the failure path deliberately (enter bad data) to make sure the flow behaves as you planned.
Performance and server stability
- Avoid processing huge batches all at once; use Loop Over Items or split the work to reduce memory use.
- Use an external database (Postgres) for n8n in production instead of the default storage, as it is more robust under load.
- Monitor server resources (RAM and CPU), especially with many concurrent workflows, and scale up the server when needed.
| Area | Practice | Benefit |
|---|---|---|
| Security | Credentials + least privilege | Prevents key leaks |
| Security | Securing the Webhook and the interface | Blocks forged requests |
| Reliability | Error Trigger + Retry | Detecting and handling faults |
| Reliability | Testing the failure path | No surprises in production |
| Performance | Batch processing | Lower memory use |
| Performance | Postgres for production | Robust under load |
All these practices assume one foundation: a server that runs without interruption, with sufficient resources and full access. Self-hosting n8n on an always-on server makes continuous operation, security and performance possible, unlike temporary environments that collapse under load or shut down with your computer.
How do you diagnose a broken workflow?
When an automation stops working, follow an organized diagnostic path instead of guessing. Start with the execution log (Executions) in n8n, which shows every run, its result and exactly which node failed. Open the latest failed execution and inspect the inputs and outputs of each node to pinpoint where the flow broke.
If the failure is in an external node, check the credential (has it expired?) and the service's response (did it return a 4xx or 5xx error?). If the flow does not start at all, the problem is the trigger: a Webhook with the wrong URL, a Schedule that was not enabled, or the workflow itself being inactive. And if execution has stopped entirely across all workflows, the problem is most likely at the server level: running out of memory, the n8n service stopping, or a full disk. In that case, review the server's logs and resources directly.
Conclusion
The examples in this guide cover the backbone of practical automation with n8n: receiving events through a Webhook, scheduled execution with Schedule, conditional checks with IF, talking to APIs with HTTP Request, recording data in Google Sheets, monitoring sources, syncing apps, periodic summaries, and finally hardening all of it with error handling and retries. Each example is an adaptable template: change the last node from Slack to email, or from Sheets to a database, and you have a new automation built on the same logic.
The key is to start with a simple example that works, then add reliability gradually: secure credentials, error handling and respected rate limits. And as the number of workflows grows, server stability becomes the decisive factor. To deepen your understanding of the tool from the ground up, see the comprehensive n8n guide, and to choose the right environment for continuous operation, read about running it on a VPS.
Frequently asked questions
Do I need programming experience to build these examples? You don't need extensive experience. Most of the examples are built with ready-made nodes and the drag-and-connect interface, without writing code. Code is needed only for summarization or complex transformations through a Code node, and even there a few simple lines are enough.
What is the difference between the test Webhook URL and the production URL? The test URL works only while you click "Listen for test event" and stops after capturing a single request; it is for trying things out. The production URL works all the time, provided the workflow is activated (Active). Mixing up the two is the most common cause of "the Webhook isn't receiving anything."
How do I prevent the same data from being processed twice? Store a unique identifier for the last record processed (in a variable or a table), and add an IF node that checks it does not already exist before processing. This principle is called idempotency, and it is essential in sync and periodic monitoring.
Which trigger should I choose, Webhook or Schedule? Use a Webhook when the event comes to you from outside instantly (a form, an order, a system alert), and use Schedule when you want to go and check a source at a set, recurring time. The rule: reacting to an event = Webhook; periodic checking = Schedule.
How do I handle rate limits? Add a Wait node between consecutive requests, widen the interval in Schedule, and enable Retry On Fail with enough delay for 429 errors. Avoid sending large batches all at once to a rate-limited API.
Can n8n connect to a service that has no ready-made node? Yes, through the general HTTP Request node, which talks to any API that supports REST. You set the method, URL, headers and authentication manually, so you can reach practically any service with an API even without a dedicated integration.
Where do I see why a workflow failed? In the Executions section inside n8n, which records every run and its result. Open the failed execution and you will find exactly which node it stopped at, with its inputs, outputs and the error message; this is the right starting point for any diagnosis.
Should I run n8n locally or on a server? Locally for learning and experimenting only. Real production needs a server that runs around the clock with a fixed public address, because scheduled workflows and Webhook nodes require continuous availability. The practical option is hosting n8n on a dedicated VPS.
How do I secure credentials in n8n? Always store them in the built-in (encrypted) Credentials system, and never put them as plain text inside nodes. Give each credential the least privilege the task requires, review permissions regularly, and enable authentication on the n8n interface itself to prevent unauthorized access.
What is the simplest example to start with? The Webhook to Slack example (the first in this guide) is the best place to start: only three nodes, and it shows the flow of data from the trigger to the action with minimal complexity. Once you have mastered it, you will understand the general logic that all the other examples build on.
Sources
Frequently asked questions
Do I need programming experience to build these examples?
You don't need extensive experience. Most of the examples are built with ready-made nodes and the drag-and-connect interface, without writing code. Code is needed only for summarization or complex transformations through a Code node, and even there a few simple lines are enough.
What is the difference between the test Webhook URL and the production URL?
The test URL works only while you click "Listen for test event" and stops after capturing a single request; it is for trying things out. The production URL works all the time, provided the workflow is activated (Active). Mixing up the two is the most common cause of "the Webhook isn't receiving anything."
How do I prevent the same data from being processed twice?
Store a unique identifier for the last record processed (in a variable or a table), and add an IF node that checks it does not already exist before processing. This principle is called idempotency, and it is essential in sync and periodic monitoring.
Which trigger should I choose, Webhook or Schedule?
Use a Webhook when the event comes to you from outside instantly (a form, an order, a system alert), and use Schedule when you want to go and check a source at a set, recurring time. The rule: reacting to an event = Webhook; periodic checking = Schedule.
How do I handle rate limits?
Add a Wait node between consecutive requests, widen the interval in Schedule, and enable Retry On Fail with enough delay for 429 errors. Avoid sending large batches all at once to a rate-limited API.
Can n8n connect to a service that has no ready-made node?
Yes, through the general HTTP Request node, which talks to any API that supports REST. You set the method, URL, headers and authentication manually, so you can reach practically any service with an API even without a dedicated integration.
Where do I see why a workflow failed?
In the Executions section inside n8n, which records every run and its result. Open the failed execution and you will find exactly which node it stopped at, with its inputs, outputs and the error message; this is the right starting point for any diagnosis.
Should I run n8n locally or on a server?
Locally for learning and experimenting only. Real production needs a server that runs around the clock with a fixed public address, because scheduled workflows and Webhook nodes require continuous availability. The practical option is hosting n8n on a dedicated VPS.
How do I secure credentials in n8n?
Always store them in the built-in (encrypted) Credentials system, and never put them as plain text inside nodes. Give each credential the least privilege the task requires, review permissions regularly, and enable authentication on the n8n interface itself to prevent unauthorized access.
What is the simplest example to start with?
The Webhook to Slack example (the first in this guide) is the best place to start: only three nodes, and it shows the flow of data from the trigger to the action with minimal complexity. Once you have mastered it, you will understand the general logic that all the other examples build on.