n8n is a self-hosted pipeline builder that sits outside WordPress and connects your fleet of client sites to the rest of your operating stack. Instead of maintaining one automation setup per site, you build one pipeline and run it across every site by looping over credentials and URLs at runtime. This guide walks through connecting n8n to WordPress via REST API and webhooks, the five operational tasks worth automating first, and how to keep pipelines reliable as your fleet scales.
n8n is a visual pipeline builder, so most common tasks (HTTP requests, loops, conditional routing, Slack and email notifications) require no code. Some advanced use cases benefit from basic JavaScript in n8n’s Code node, but the five fleet operations covered in this guide can be built and maintained by a non-developer agency operator using n8n’s built-in nodes.
For fleet-level operations that run across multiple client sites, n8n is a stronger choice than per-site plugins because it centralizes control in one instance. For single-site tasks that depend on WordPress internals directly, a per-site plugin may still be the right fit. Many agency operators use both: n8n for cross-fleet orchestration, and lightweight per-site plugins to expose the webhook endpoints or REST actions that n8n calls.
A self-hosted n8n instance on a 2-4 vCPU server handles pipelines across dozens of sites without issue. Past roughly one hundred sites with frequent execution schedules, move to n8n’s Queue Mode and allocate dedicated server resources. The bottleneck is typically concurrent execution slots and outbound HTTP rate, not n8n itself.
Use WordPress Application Passwords (built into WordPress core since version 5.6) with a dedicated, least-privilege user on each site. Store each credential in n8n’s encrypted credential store with a consistent naming convention tied to your site list. Never use admin credentials for automation, and rotate Application Passwords on a schedule documented in your team runbook.
WP-Cron fires only when a site receives a visitor request, so scheduled tasks on low-traffic client sites can be delayed or skipped entirely. n8n runs on its own server clock, so tasks fire at the exact time you set regardless of site traffic. For an agency fleet where a nightly maintenance task silently skipping on quiet sites is a real risk, that reliability difference is significant.
1,000 free credits. Just describe what you need.
See It In ActionNew to WPOS? Learn what WPOS is and how agencies use it to build and operate client WordPress sites with AI agents.