Skip to content

Practical Examples for Automating Your Tasks with n8n

Practical step-by-step n8n workflow examples: from a Webhook to Slack, scheduled sync with HTTP and IF, forms to Google Sheets, alerts, and error handling, with tables of nodes, use cases and best practices.

Automationعمر فتحي29 min read
Illustration of three parallel workflow lanes with triggers, a decision branch and output nodes, representing practical automation examples
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.

ItemWhy you need itAlternative while experimenting
A running n8n instanceThe environment for building and running workflowsA local instance via Docker
A domain + SSLTo receive Webhooks from outsideA temporary tunnel for testing
Credentials for the servicesSecure access to Slack, Sheets and othersTest keys with limited permissions
Understanding Trigger/NodeTo build the logic correctlyReview 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 typeFunctionExamples
TriggerStarts the workflow's executionWebhook, Schedule, RSS Feed Trigger
ActionPerforms an operation on a serviceSlack, Google Sheets, Send Email
General requestTalks to any API over HTTPHTTP Request
TransformationPrepares and reshapes the dataSet, Edit Fields, Code
ControlControls the path of the flowIF, Switch, Merge, Loop
UtilitySupporting operationsWait, 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:

TriggerRuns whenExample use
WebhookAn external HTTP request arrivesA website form sends data instantly
Schedule (Cron)A set, recurring timeA daily report at 8 a.m.
RSS Feed TriggerA new item appears in a feedMonitoring a blog or a news source
App TriggerAn event inside a connected appA new message, a new row
Manual TriggerClicked manually for testingTrying out the flow while building it
Error TriggerAny other workflow failsAn 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).

How does a workflow flow in n8n?WebhookTriggerSetShape the dataSlackGoogle SheetsOne trigger drives a chain of nodes, then a parallel branch
A typical n8n workflow: Webhook trigger > Set node to shape the data > parallel branches to Slack and Google Sheets.

The steps in order

  1. Create a new workflow and add a Webhook node. Set the method to POST and copy the Webhook URL that n8n generates (the production URL, not the test URL, when you go live).
  2. 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.
  3. 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:

Code
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.

AspectDetail
TriggerWebhook (POST)
NodesWebhook → Set → Slack
OutputAn instant message in a Slack channel
Common caseAlerting 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").

Example: a scheduled workflow in n8nScheduleTime trigger (Cron)HTTP RequestFetch dataIFCondition / filterYesNoSend emailIgnoreThe time trigger makes the task run automatically without intervention
A scheduled example: Schedule (Cron) > HTTP Request to fetch data > IF to filter > branch: send an email on a match, otherwise ignore.

The steps in order

  1. 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.
  2. 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.
  3. Add an IF node to check a value from the response (for example: is the price below a certain limit? Is the status "down"?).
  4. 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:

Code
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.

AspectDetail
TriggerSchedule (Cron)
NodesSchedule → HTTP Request → IF → Email/NoOp
OutputAn alert email when the condition is met
Common casePeriodically 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

  1. 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.
  2. 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).
  3. 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.

AspectDetail
TriggerWebhook / Form Trigger
NodesWebhook → Set → Google Sheets (Append)
OutputA new row for every form submission
Common caseCollecting 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

  1. Add an RSS Feed Trigger node and enter the feed URL. The node takes care of tracking new items so notifications are not repeated.
  2. Add a Set node to pick the useful fields: the item's title, the link, the publish date and a short excerpt.
  3. 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.
AspectDetail
TriggerRSS Feed Trigger / Schedule
NodesRSS → Set → Slack/Telegram
OutputA notification for every new item
Common caseFollowing 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

  1. 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.
  2. 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).
  3. Add a Set node to transform the data structure from the source's shape to the destination's shape (field names, type conversions).
  4. Add an HTTP Request node with the POST method 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.

AspectDetail
TriggerApp Trigger / Schedule
NodesTrigger → HTTP (read) → Set → HTTP (write)
OutputA matching record in the destination app
Common caseSyncing 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

  1. 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).
  2. Add a data-fetching node: HTTP Request from an API, or a database node (Postgres/MySQL) to query the records.
  3. Add a Code node or an Aggregate/Summarize node to total the numbers, calculate sums and averages, and compose the summary text.
  4. 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:

Code
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.
AspectDetail
TriggerSchedule (Cron)
NodesSchedule → fetch → Code/Aggregate → Email/Slack
OutputA periodic summary report
Common caseAn 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
AspectDetail
TriggerAny trigger + Error Trigger
NodesTrigger → operation (Retry) → IF → success/fallback
OutputA reliable flow + an alert on failure
Common caseProtecting 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:

FieldAutomationCore nodes
MarketingAdd a new lead to the CRM and send a welcomeWebhook → Set → CRM → Email
SupportA new ticket creates a team alertApp Trigger → IF → Slack
CommerceA new order updates inventory and a spreadsheetWebhook → HTTP → Google Sheets
ContentA new post is published on multiple platformsRSS → Set → several publishing nodes
OperationsA scheduled data backupSchedule → Database → storage
Human resourcesA leave request is routed for approvalForm → 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:

ProblemCauseFix
The Webhook receives nothingUsing the test URL, or the workflow is not activatedActivate the workflow and use the production URL
The IF node gives the wrong resultComparing text with a number, or a type mismatchConvert the type in Set before comparing
Credentials suddenly failAn expired OAuth tokenRe-authenticate the credential and renew the authorization
Duplicate dataNo idempotency checkStore the ID of the last record and check it
Rate limit exceeded (429)Requests in quick successionAdd a Wait node or widen the Schedule interval
The flow stops at a minor errorNo error handlingEnable Retry On Fail and add an Error Trigger
Slow executionProcessing huge batches all at onceSplit 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.
AreaPracticeBenefit
SecurityCredentials + least privilegePrevents key leaks
SecuritySecuring the Webhook and the interfaceBlocks forged requests
ReliabilityError Trigger + RetryDetecting and handling faults
ReliabilityTesting the failure pathNo surprises in production
PerformanceBatch processingLower memory use
PerformancePostgres for productionRobust 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.

Related

Read next