Linux 软件免费装
Banner图

DirectRelay – n8n WordPress Plugin: Workflow Automation, REST API, Webhooks & AI Agents

开发者 n4nion
更新时间 2026年10月3日 04:53
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPL-2.0+
版权网址: 版权信息

标签

rest api webhooks workflow automation ai agent n8n

下载

5.1.27 5.1.26 5.1.29 5.1.30 5.1.31 5.1.32 5.1.33 5.1.28 5.1.34

详情介绍:

Project home page: https://directrelay.wikiofautomation.com The n8n WordPress Integration That Works Both Ways You built your content workflows in n8n. Now you need WordPress to listen. DirectRelay is the free n8n plugin that turns any WordPress site into a first-class automation target: a complete REST API for your n8n workflows, real-time signed webhooks from WordPress to n8n, and native SEO integrations with Rank Math and Yoast. Publish, update, tag, optimize, and react to content changes — automatically, securely, and without writing a single line of PHP. Whether you run an AI content pipeline, a headless WordPress setup, a multi-channel publishing stack, or a simple "post to social when I publish" workflow, DirectRelay is the WordPress automation plugin for n8n workflow automation — data flows from n8n to WordPress, and WordPress events stream to n8n in real time. Why DirectRelay Is the Most Complete n8n Plugin for WordPress 🔌 A Complete WordPress REST API for Your n8n Workflows Every content operation your automation needs, exposed through a clean, versioned REST API under /wp-json/directrelay/v1: 🔔 Real-Time Signed WordPress Webhooks → n8n The moment something happens on your site, a signed WordPress webhook tells n8n. Point any n8n Webhook trigger node at it: 🤖 Built for AI Agents Handing an LLM the keys to your site should not mean handing it everything. Each AI agent gets a scoped, auditable key instead of full admin credentials — safe AI agents for WordPress, without the risk. 🔍 Read Rank Math & Yoast SEO from n8n The only free automation bridge that reads SEO metadata natively: ⚡ IndexNow Instant Indexing Opt-in IndexNow auto-ping: the moment a post goes live, its URL is submitted to the IndexNow aggregator (Bing, Yandex, Seznam, Naver) for near-instant crawling. The verification key is published automatically at yoursite.com/indexnow-key.txt. 🛡️ Production-Grade Security Get Started in 3 Minutes
  1. Install DirectRelay and open the DirectRelay dashboard.
  2. Generate an API key — pick a scope preset or build your own.
  3. Paste the key into your n8n HTTP Request node (or import the OpenAPI spec) and your first automation is live.
Who Is DirectRelay For? DirectRelay is free software licensed under the GPL. Use it, study it, modify it, redistribute it.

安装:

  1. Upload the plugin files to /wp-content/plugins/, or install through the WordPress Plugins screen.
  2. Activate the plugin.
  3. Open DirectRelay from the admin menu and run the built-in compatibility check.
  4. Create your first API key (DirectRelay → API Keys) and connect it from n8n using either the X-API-Key header or a Bearer token.
  5. Optional: register an outgoing webhook under DirectRelay → Webhooks to trigger n8n workflows from WordPress events.

屏幕截图:

  • API Keys screen — scoped keys with scope chips, agent personas, expiry, and IP allowlists.
  • Webhooks screen — real-time WordPress webhooks to n8n: events, targets, HMAC secrets, test-fire, and per-attempt delivery log.
  • Activity Log with HTTP-status filters, request durations, and key attribution.
  • Compatibility Checker scoring permalinks, REST API, SSL, and SEO plugin detection.
  • n8n workflow templates — copy-paste n8n workflow JSON for your first WordPress automation.

常见问题:

Does this require n8n?

No. DirectRelay exposes a standard WordPress REST API that any HTTP client can use — n8n, Make, custom scripts, AI agents, Postman, or your own code. The n8n-specific touches (OpenAPI schema, workflow presets, webhook payloads shaped for n8n) simply make n8n the smoothest experience.

Can n8n post to WordPress automatically?

Yes — that is the core use case. n8n can create, update, schedule, and publish WordPress posts and pages, upload media to the media library, and manage categories and tags through the REST API. AI agents can be scoped to drafts-only so generated content waits for human approval.

Does DirectRelay work with Make, Zapier, or Pabbly Connect?

Yes. The REST API and the signed outgoing webhooks are plain HTTP, so any automation platform can use them — Make, Zapier, Pabbly Connect, custom scripts, and AI agents included. Workflow presets and the OpenAPI spec are n8n-first, but nothing locks you to n8n.

Is this safe to run on a production site?

Yes. Keys are bcrypt-hashed and scoped, every route is permission-gated and rate-limited, failed authentications trigger escalating IP blocks, media sideloads are SSRF-validated on every redirect hop, and the plugin contains no SEO write path, no trial mode, and no license checks. A built-in compatibility checker verifies permalinks, REST access, and SSL from the dashboard.

Does it work with Rank Math AND Yoast SEO?

Yes — the free plugin reads SEO metadata from both, auto-detecting which plugin is active and returning one unified format. Writing SEO metadata is available through the separate DirectRelay Pro add-on.

Does it work with WooCommerce and Custom Post Types?

Yes. Products, orders, and any public custom post type work through the same REST surface, and the discovery endpoints let your n8n workflows enumerate post types and custom fields dynamically.

Can I use this on a multisite network?

The free build supports one site per install and cannot be network-activated on multisite. Multi-site and multi-domain management is available in the separate DirectRelay Pro add-on.

What happens to my keys if I uninstall the plugin?

Uninstalling removes all DirectRelay tables, options, and diagnostic logs. Revoke your keys before uninstalling if any n8n workflows are still calling them — revoked keys immediately stop working.

How do I rotate an API key without downtime?

Open DirectRelay → API Keys, click Rotate on the key. A new secret is generated instantly while the key keeps its ID, scopes, and settings; update the key in n8n whenever you like. The old value stops working the moment you rotate.

Does it support the Block Editor (Gutenberg)?

Yes. Posts created through the API are standard WordPress posts — they open, edit, and publish normally in the Block Editor, and Gutenberg publishes fire the same webhooks as classic publishing.

Is there a limit on the number of API keys or webhooks?

Yes — one clear limit: the free version supports one active API key and one webhook per site. Revoking a key frees its slot; deleting a webhook frees its slot. There are no request quotas, no monthly caps, and the DirectRelay Pro add-on removes the key and webhook limits entirely.

Where can I get support?

Post in the WordPress.org support forum, or email help@directrelay.wikiofautomation.com with your WordPress version, plugin version, and a description of the issue.

更新日志:

All notable changes are documented here. DirectRelay follows semantic versioning for its REST API: the endpoint contract under directrelay/v1 stays backward compatible within major version 5. DirectRelay is the n8n WordPress plugin for workflow automation — a complete WordPress REST API, signed WordPress webhooks, and scoped AI-agent access. 5.1.34 Release date: October 3, 2026 5.1.33 Release date: September 22, 2026 5.1.32 Release date: September 22, 2026 5.1.31 5.1.30 5.1.29 5.1.28 5.1.27 5.1.26 5.1.25 5.1.24 5.1.23 5.1.22 5.1.21 5.1.20 5.1.19 5.1.18 5.1.0 – 5.1.17