Best n8n Tutorials Directory — Automate Workflows and Build AI Agents with Ease

Explore the ultimate directory of n8n tutorials to build, automate, and scale your workflows. Learn step-by-step guides for beginners and advanced users, covering integrations, error handling, and advanced automations.

/n8n-tutorials

How to handle incomplete responses from Cohere in n8n?

Learn how to handle incomplete Cohere responses in n8n by implementing error handling, retries with exponential backoff, response validation, fallback mechanisms, and rate limit monitoring for robust workflows.

Read More
/n8n-tutorials

How to stop Claude from ignoring system instructions in an n8n workflow?

Learn how to make Claude follow system instructions in n8n workflows by structuring prompts, setting temperature, using JSON mode, and validating responses effectively.

Read More
/n8n-tutorials

How to sanitize user input to prevent prompt injection attacks in n8n?

Learn how to sanitize user input in n8n to prevent prompt injection attacks with validation, regex filtering, context-aware sanitization, and security best practices for safe automation workflows.

Read More
/n8n-tutorials

How to fix webhook replies arriving too late for the LLM processing in n8n?

Learn how to fix late webhook replies in n8n for LLM processing by implementing asynchronous workflows, queuing, state management, retries, and error handling for reliable AI integrations.

Read More
/n8n-tutorials

How to fix variable scoping issues with user context in n8n prompts?

Learn how to fix variable scoping issues with user context in n8n prompts by properly accessing workflow data, using correct expressions, handling nested JSON, arrays, and debugging effectively.

Read More
/n8n-tutorials

How to monitor success rates of language model calls in n8n?

Learn how to monitor success rates of language model calls in n8n with error handling, logging, alerts, dashboards, and detailed analysis for optimal performance.

Read More
/n8n-tutorials

How to debug why model responses are not reaching the next node in n8n?

Learn how to debug why model responses in n8n don't reach the next node by checking API setup, authentication, data formatting, error handling, timeouts, and workflow settings for smooth execution.

Read More
/n8n-tutorials

How to fix duplicate conversation threads with Gemini agents in n8n?

Fix duplicate conversation threads with Gemini agents in n8n by disabling auto-response in HTTP nodes and implementing conversation state management for seamless, coherent chat flows.

Read More
/n8n-tutorials

How to fix “Cannot connect to Anthropic” network errors in n8n?

Learn how to fix "Cannot connect to Anthropic" network errors in n8n by checking API keys, network connectivity, firewall settings, node configuration, and more for reliable workflow integration.

Read More
/n8n-tutorials

How to queue OpenAI requests when too many users hit the workflow at once?

Learn how to queue OpenAI API requests effectively using rate limiting and queue systems like Redis, RabbitMQ, or AWS SQS to handle high user traffic and avoid rate limit errors.

Read More
/n8n-tutorials

How to get consistent JSON outputs from a language model in n8n?

Learn how to get consistent JSON outputs from language models in n8n with step-by-step techniques including prompt structuring, function calling, validation, error handling, and caching for reliable workflow automation.

Read More
/n8n-tutorials

How to fix “missing required parameter” errors from OpenAI node in n8n?

Learn how to fix "missing required parameter" errors in n8n's OpenAI node by correctly configuring API credentials, selecting operations, and setting required fields like prompt or messages.

Read More
/n8n-tutorials

How to structure fallback messages if a model fails in n8n?

Learn how to structure fallback messages in n8n using error handling nodes, conditional checks, retries, alternative models, notifications, and logging to ensure workflows run smoothly despite model failures.

Read More
/n8n-tutorials

How to fix n8n webhook not delivering messages to the LLM node?

Learn how to fix n8n webhook issues delivering messages to the LLM node by checking webhook setup, network access, node connections, data formats, credentials, and workflow environment.

Read More
/n8n-tutorials

How to prevent hitting usage quotas with LLM calls in n8n?

Learn how to prevent hitting usage quotas with LLM calls in n8n by using caching, batching, rate limiting, token optimization, monitoring, and fallback strategies to optimize API usage and maintain workflow efficiency.

Read More
/n8n-tutorials

How to pass conversation history to Anthropic Claude reliably in n8n?

Learn how to reliably pass conversation history to Anthropic Claude in n8n by structuring API requests, managing message arrays, and maintaining context for seamless multi-turn interactions.

Read More
/n8n-tutorials

How to reconnect a failed Anthropic credential in n8n?

Learn how to reconnect a failed Anthropic credential in n8n by deleting the old credential, creating a new one with a valid API key, and updating your workflows for seamless automation.

Read More
/n8n-tutorials

How to stop a language model from hallucinating data in an n8n chatbot?

Learn how to stop hallucinations in an n8n chatbot by using prompt engineering, model tuning, context injection, RAG, fact-checking, and continuous monitoring for accurate AI responses.

Read More
/n8n-tutorials

How to fix “ETIMEDOUT” errors when calling a large language model in n8n?

Learn how to fix ETIMEDOUT errors in n8n when calling large language models by increasing timeouts, adding retries, optimizing requests, and ensuring stable network connections.

Read More
/n8n-tutorials

How to handle escaped JSON from Cohere output in n8n?

Learn how to parse and handle escaped JSON from Cohere API output in n8n using JSON Parse and Function nodes for seamless workflow integration.

Read More
/n8n-tutorials

How to send follow-up questions to Gemini with correct thread history in n8n?

Learn how to send follow-up questions to Gemini in n8n by creating a workflow that maintains conversation context and thread history using HTTP Request and Function nodes.

Read More
/n8n-tutorials

How to stop n8n from cutting off long language model responses?

Learn how to prevent n8n from cutting off long language model responses by adjusting timeouts, increasing buffer sizes, using chunking, streaming, webhooks, and optimizing workflow settings.

Read More
/n8n-tutorials

How to fix workflow crashes on large responses from Gemini in n8n?

Learn how to fix workflow crashes in n8n caused by large Gemini AI responses with error handling, timeout settings, pagination, streaming, and optimized prompts for stable processing.

Read More
/n8n-tutorials

How to retry failed Claude calls automatically in n8n?

Learn how to automatically retry failed Claude API calls in n8n using error workflows, loops, and exponential backoff for reliable and efficient automation.

Read More
/n8n-tutorials

How to handle n8n timeout errors on long completions from Mistral?

Learn how to handle n8n timeout errors on long Mistral AI completions with timeout settings, webhooks, chunking, polling, error handling, and workflow patterns.

Read More
/n8n-tutorials

How to stop repeated answers from a language model in n8n workflows?

Learn how to stop repeated answers from language models in n8n workflows by adjusting parameters, using memory nodes, filtering responses, and implementing retry logic for diverse outputs.

Read More
/n8n-tutorials

How to fix random language model failures in n8n when triggered by webhook?

Learn how to fix random language model failures in n8n triggered by webhooks with error handling, retries, input validation, and proper webhook configuration for stable automation.

Read More
/n8n-tutorials

How to send user metadata along with prompts to Gemini from n8n?

Learn how to send user metadata with prompts to Gemini from n8n by setting up an HTTP request node, configuring authentication, dynamic payloads, error handling, and security best practices.

Read More
/n8n-tutorials

How to handle concurrency issues with parallel LLM calls in n8n?

Learn how to handle concurrency issues with parallel LLM calls in n8n using rate limiting, error handling, batching, and asynchronous workflows to optimize performance and reliability.

Read More
/n8n-tutorials

How to persist user session data for an AI agent across executions in n8n?

Learn how to persist user session data for AI agents in n8n across executions using databases, file storage, or workflow variables to maintain conversation context, preferences, and history securely.

Read More
/n8n-tutorials

How to protect sensitive user data in prompts passed through n8n?

Learn how to protect sensitive user data in n8n prompts with encryption, environment variables, access controls, secure logging, and network security best practices.

Read More
/n8n-tutorials

How to debug why my OpenAI response is empty in n8n?

Learn how to troubleshoot empty OpenAI responses in n8n by checking API keys, node settings, input data, logs, rate limits, and network configurations step-by-step.

Read More
/n8n-tutorials

How to prevent duplicate LLM calls in the same n8n workflow?

Learn how to prevent duplicate LLM calls in n8n workflows by implementing caching with Function nodes, workflow data, or external databases to save time and reduce API costs.

Read More
/n8n-tutorials

How to handle user input with code snippets when sending to Mistral in n8n?

Learn how to handle user input with code snippets in n8n for Mistral AI by properly formatting, escaping, and structuring prompts to get accurate code analysis and feedback.

Read More
/n8n-tutorials

How to fix broken markdown formatting in Claude messages from n8n?

Learn how to fix broken markdown formatting in Claude messages from n8n by properly escaping or converting markdown syntax before sending messages.

Read More
/n8n-tutorials

How to handle multi-language inputs correctly in Claude workflows with n8n?

Learn how to handle multi-language inputs in Claude workflows with n8n by ensuring UTF-8 encoding, detecting languages, preprocessing text, and configuring Claude for accurate multilingual processing.

Read More
/n8n-tutorials

How to fix a language model refusing to answer with system prompts in n8n?

Learn how to fix language models refusing to answer in n8n by adjusting system prompts, breaking tasks into steps, and using parameters to get accurate responses.

Read More
/n8n-tutorials

How to handle “401 unauthorized” from OpenAI after rotating keys in n8n?

Learn how to fix the 401 Unauthorized error in n8n after rotating OpenAI API keys by updating your credentials and following best practices for seamless workflow authentication.

Read More
/n8n-tutorials

How to test responses from OpenAI in n8n without re-running the whole workflow?

Learn how to test OpenAI responses in n8n using Execution Preview to modify and preview node outputs without re-running the full workflow, saving time and API credits.

Read More
/n8n-tutorials

How to handle multi-turn conversations failing with Cohere in n8n?

Learn how to handle multi-turn conversation failures with Cohere in n8n by managing context, session state, token limits, error handling, and proper API configuration for smooth chatbot workflows.

Read More
/n8n-tutorials

How to fix broken variable interpolation in system prompts in n8n?

Learn how to fix broken variable interpolation in n8n system prompts by updating JSON schema, correcting syntax, handling escaping, and using expression editor for debugging.

Read More
/n8n-tutorials

How to handle “context length exceeded” errors in n8n AI workflows?

Learn how to fix "context length exceeded" errors in n8n AI workflows by using text chunking, summarization, recursive processing, and token management to handle large inputs efficiently.

Read More
/n8n-tutorials

How to validate user inputs before sending to Claude to avoid errors in n8n?

Learn how to validate user inputs in n8n before sending to Claude AI to prevent errors, optimize token usage, ensure content appropriateness, and improve workflow reliability with step-by-step validation and error handling.

Read More
/n8n-tutorials

How to resolve 429 rate limit errors when sending prompts to Claude from n8n?

Learn how to resolve 429 rate limit errors when sending prompts to Claude from n8n by implementing retries, delays, batching, monitoring, and optimizing API usage for smooth workflows.

Read More
/n8n-tutorials

How to store conversation state between webhook triggers for AI agents in n8n?

Learn how to store conversation state between webhook triggers for AI agents in n8n using databases, workflow variables, or JSON files to maintain context and enable coherent multi-turn interactions.

Read More
/n8n-tutorials

How to fix “JSON parse error” after malformed model output in n8n?

Learn how to fix the "JSON parse error" in n8n caused by malformed AI model output by adding a Function node to detect, repair, and validate JSON for smooth workflow execution.

Read More
/n8n-tutorials

How to fix “Cannot read property choices of undefined” in OpenAI node?

Learn how to fix the "Cannot read property choices of undefined" error in OpenAI Node.js by checking API keys, handling errors, validating responses, and using the correct SDK version.

Read More
/n8n-tutorials

How to fix “invalid API key” error from OpenAI in n8n?

Learn how to fix the "invalid API key" error from OpenAI in n8n by verifying your API key, correctly configuring credentials, and troubleshooting common issues for seamless integration.

Read More
/n8n-tutorials

How to fix “unexpected token” error when parsing JSON from Claude in n8n?

Fix “unexpected token” JSON errors from Claude in n8n by cleaning, extracting, and properly formatting JSON responses using code nodes, regex, and improved prompts.

Read More
/n8n-tutorials

How to avoid exceeding token limits when chaining LLM calls in n8n?

Learn how to avoid exceeding token limits when chaining LLM calls in n8n with strategies like text chunking, summarization, efficient prompts, and data filtering for optimized workflows.

Read More
/n8n-tutorials

How to back up n8n workflows?

Learn how to back up n8n workflows using UI exports, CLI commands, database backups, and automated scripts to securely save and restore your automation data.

Read More
/n8n-tutorials

How to use n8n with self-hosted databases?

Learn how to integrate n8n with self-hosted databases like MySQL, PostgreSQL, MongoDB, and more. Set up connections, create workflows, ensure security, and optimize performance for powerful automation.

Read More
/n8n-tutorials

How to send email notifications in n8n?

Learn how to send email notifications in n8n using the Send Email node. Set up SMTP, create workflows, add dynamic content, attachments, and handle errors for automated alerts.

Read More
/n8n-tutorials

How to change the base URL in n8n?

Learn how to change the base URL in n8n by configuring environment variables, .env files, Docker settings, or command-line options for secure and proper access.

Read More
/n8n-tutorials

How to import workflows into n8n?

Learn how to easily import workflows into n8n using file, URL, n8n.cloud, or n8n.io templates. Follow step-by-step instructions to import, configure, and activate workflows.

Read More
/n8n-tutorials

How to troubleshoot n8n errors?

Learn how to troubleshoot n8n errors with a step-by-step guide covering log analysis, connection checks, workflow validation, authentication fixes, resource management, and updates for reliable automation.

Read More
/n8n-tutorials

How to disable workflow execution in n8n?

Learn how to disable workflow execution in n8n using UI toggles, API calls, trigger settings, environment variables, scheduling, and more for flexible control.

Read More
/n8n-tutorials

How to view execution history in n8n?

Learn how to view and manage execution history in n8n, including accessing the Executions tab, filtering runs, viewing details, re-executing workflows, and setting retention policies.

Read More
/n8n-tutorials

How to use expressions in n8n?

Learn how to use expressions in n8n to dynamically access, manipulate, and transform data in workflows with step-by-step examples and best practices.

Read More
/n8n-tutorials

How to use splitInBatches node in n8n?

Learn how to use the Split In Batches node in n8n to break large datasets into manageable batches for efficient processing, API rate limit handling, and optimized workflows.

Read More
/n8n-tutorials

How to restart n8n after configuration changes?

Learn how to properly restart n8n after configuration changes using systemd, PM2, Docker, or direct process management to ensure smooth operation and minimal downtime.

Read More
/n8n-tutorials

How to use IF node in n8n?

Learn how to use the IF node in n8n to create conditional workflows by setting and combining conditions, handling data types, using JavaScript, and managing complex decision paths effectively.

Read More
/n8n-tutorials

How to limit workflow triggers in n8n?

Learn how to limit workflow triggers in n8n using methods like the Limit node, conditional execution, webhook filters, cron schedules, and more to control resource usage and prevent excessive runs.

Read More
/n8n-tutorials

How to test a webhook in n8n?

Learn how to test a webhook in n8n by creating and configuring a workflow, activating the webhook, and verifying it with tools like cURL or Postman for seamless integration and troubleshooting.

Read More
/n8n-tutorials

How to set timeout for workflows in n8n?

Learn how to set and manage workflow timeouts in n8n to prevent infinite runs, handle API call limits, and implement custom timeout logic with error handling and notifications.

Read More
/n8n-tutorials

How to restore deleted workflows in n8n?

Learn how to restore deleted workflows in n8n by updating the 'deletedAt' field in the database or using the n8n REST API. Step-by-step guide included.

Read More
/n8n-tutorials

How to debug workflows in n8n?

Learn how to debug n8n workflows using built-in tools like the debugger, execution data viewer, breakpoints, Function nodes, logs, and error handling to efficiently identify and fix issues.

Read More
/n8n-tutorials

How to set concurrency limits in n8n?

Learn how to set concurrency limits in n8n to control simultaneous workflow executions, optimize resource use, and ensure system stability with step-by-step configuration guidance.

Read More
/n8n-tutorials

How to store workflow data in n8n?

Learn how to store workflow data in n8n using variables, Set/Get nodes, binary storage, databases, Redis caching, and best practices for secure, persistent, and organized automation data management.

Read More
/n8n-tutorials

How to use the Code node in n8n?

Learn how to use the Code node in n8n to run custom JavaScript for data transformation, API calls, error handling, and advanced workflow logic.

Read More
/n8n-tutorials

How to handle large JSON in n8n?

Learn how to efficiently handle large JSON in n8n with techniques like splitting, pagination, batch processing, external storage, streaming, and error handling to optimize performance and avoid memory issues.

Read More
/n8n-tutorials

How to disable telemetry in n8n?

Learn how to disable telemetry in n8n by editing the n8n.yml file, using environment variables, or the UI to stop usage data collection while maintaining full functionality.

Read More
/n8n-tutorials

How to retry failed workflows in n8n?

Learn how to retry failed workflows in n8n manually or automatically, set up retry attempts, implement custom retry logic, and monitor execution status for reliable automation.

Read More
/n8n-tutorials

How to connect n8n to MySQL?

Learn how to connect n8n to MySQL by setting up the MySQL node, configuring credentials, testing the connection, and performing database operations within your workflows.

Read More
/n8n-tutorials

How to update nodes in n8n?

Learn how to update nodes in n8n with step-by-step methods for desktop, npm, Docker, and cloud installations. Backup workflows and handle updates safely.

Read More
/n8n-tutorials

How to run n8n as a background service?

Learn how to run n8n as a background service using systemd, PM2, Docker, or Windows Services for continuous, automatic workflow automation management.

Read More
/n8n-tutorials

How to migrate n8n to a new server?

Learn how to migrate n8n to a new server with step-by-step instructions for backing up data, installing n8n, restoring workflows, and configuring environment variables to ensure a smooth transition.

Read More
/n8n-tutorials

How to reset admin credentials in n8n?

Learn how to reset admin credentials in n8n using CLI, database modification, environment variables, or Docker to regain access quickly and securely.

Read More
/n8n-tutorials

How to enable logging in n8n?

Learn how to enable and configure logging in n8n, including setting log levels, output options, log rotation, and troubleshooting for both Docker and non-Docker setups.

Read More
/n8n-tutorials

How to use data pinning in n8n?

Learn how to use data pinning in n8n to save and access persistent workflow data like configs, credentials, and reference info across runs without external storage.

Read More
/n8n-tutorials

How to connect n8n to PostgreSQL?

Learn how to connect n8n to PostgreSQL by setting up credentials, configuring nodes, running queries, and automating database workflows for seamless data integration and management.

Read More
/n8n-tutorials

How to enable queue mode in n8n?

Learn how to enable queue mode in n8n by configuring environment variables or config files to improve workflow reliability, handle larger workloads, and prevent data loss.

Read More
/n8n-tutorials

How to set up HTTPS for n8n?

Learn how to set up HTTPS for n8n with SSL certificates, reverse proxies, Docker, Let's Encrypt, and Cloudflare to secure your workflows and data.

Read More
/n8n-tutorials

How to manage workflow executions in n8n?

Learn how to manage workflow executions in n8n with this comprehensive guide covering monitoring, error handling, debugging, optimization, and notifications for reliable automation.

Read More
/n8n-tutorials

How to secure webhooks in n8n?

Learn how to secure n8n webhooks with authentication, IP restrictions, HTTPS, signature verification, credential rotation, and monitoring to protect your workflows from unauthorized access and threats.

Read More
/n8n-tutorials

How to export workflows from n8n?

Learn how to export workflows from n8n using the web interface, CLI, or REST API for backup, sharing, and migration. Step-by-step guide included.

Read More
/n8n-tutorials

How to use static data in n8n?

Learn how to use static data in n8n to store and reuse constants, configurations, and predefined values across workflows using Set, JSON, environment variables, and more.

Read More
/n8n-tutorials

How to add custom credentials in n8n?

Learn how to add custom credentials in n8n by creating, testing, and implementing API Key or OAuth2 authentication modules to connect services beyond native support.

Read More
/n8n-tutorials

How to run multiple workflows in sequence in n8n?

Learn how to run multiple workflows in sequence in n8n using the Execute Workflow node to create modular, data-passing automation sequences with error handling and dynamic control.

Read More
/n8n-tutorials

How to secure n8n with basic auth?

Learn how to secure your n8n instance with Basic Authentication by setting environment variables for username and password, including Docker, npm, and production setups.

Read More
/n8n-tutorials

How to secure n8n with OAuth?

Learn how to secure n8n with OAuth by configuring authentication providers, setting up environment variables, SSL, and best security practices for safe user login and service access.

Read More
/n8n-tutorials

How to create a webhook in n8n?

Learn how to create and configure a webhook in n8n to receive external data, trigger workflows, secure endpoints, and process data efficiently for automation.

Read More
/n8n-tutorials

How to set environment variables in n8n?

Learn how to set and manage environment variables in n8n using the UI, .env files, command line, or Docker to securely store sensitive data and customize workflows.

Read More
/n8n-tutorials

How to run n8n workflows manually?

Learn how to run n8n workflows manually using the Execute Workflow button, webhooks, API, CLI, and scheduling for testing or on-demand execution.

Read More
/n8n-tutorials

How to schedule workflows in n8n?

Learn how to schedule workflows in n8n using Scheduler and Cron nodes or workflow settings to automate tasks at specific times with ease and flexibility.

Read More
/n8n-tutorials

How to update n8n to the latest version?

Learn how to update n8n to the latest version with step-by-step instructions for Docker, npm, Debian/Ubuntu, Kubernetes, and more. Backup, update, verify, and troubleshoot easily.

Read More
/n8n-tutorials

How to install n8n on macOS?

Learn how to install n8n on macOS with step-by-step instructions, including Node.js setup, running n8n, Docker option, configuration, and troubleshooting tips.

Read More
/n8n-tutorials

How to install n8n on Windows?

Learn how to install n8n on Windows using npm, Docker, or the executable installer. Follow step-by-step instructions to set up, start, and configure n8n for workflow automation.

Read More
/n8n-tutorials

How to install n8n on Docker?

Learn how to install n8n on Docker with step-by-step instructions for Docker run, Docker Compose, PostgreSQL setup, reverse proxy, security, updates, and advanced configurations.

Read More
/n8n-tutorials

How to fix n8n workflow not executing?

Learn how to fix n8n workflow not executing by troubleshooting triggers, node configurations, credentials, server status, and network issues step-by-step for smooth automation.

Read More
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022