manifest / integrations / wp-webhook-notifier
WP Webhook Notifier
WordPress plugin that POSTs a structured JSON webhook the moment a post or page is published — connects WordPress to n8n, Zapier, or Make with no middleware
by Yoshiro Moriyama · github.com/moriyama-dev/wp-webhook-notifier · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/moriyama-dev/wp-webhook-notifier/archive/refs/heads/main.zipReadme
WP Webhook Notifier
A lightweight WordPress plugin that sends a JSON webhook notification to a configured URL whenever a post or page is published.
Features
- Fires instantly when content transitions to published status
- Sends a structured JSON payload via HTTP POST
- Admin settings page built with the WordPress Settings API
- Configurable post type filtering (posts, pages, custom post types)
- Compatible with Zapier, Make (Integromat), n8n, or any custom HTTP endpoint
- Secure: sanitises all inputs, escapes all outputs, capability-checks admin access
Installation
- Download or clone this repository into your
/wp-content/plugins/directory - Activate the plugin via Plugins › Installed Plugins
- Go to Settings › Webhook Notifier and enter your endpoint URL
Configuration
| Setting | Description |
|---|---|
| Webhook URL | The endpoint that receives the POST request |
| Trigger on Post Types | Choose which post types fire the webhook |
Example Payload
{
"event": "post_published",
"post_id": 42,
"post_type": "post",
"title": "Hello World",
"url": "https://example.com/hello-world/",
"excerpt": "A short summary of the post.",
"author": "Yoshiro Moriyama",
"published": "2026-06-13T13:00:00+00:00",
"categories": ["News"],
"tags": ["wordpress", "webhook"],
"site_name": "My WordPress Site",
"site_url": "https://example.com"
}
Technical Details
- PHP: OOP, namespaced classes, no global variables
- Hooks used:
transition_post_status,admin_menu,admin_init - WordPress APIs: Settings API,
wp_remote_post(), options API - Follows WordPress Coding Standards
Development
This plugin was developed with Claude Code (Anthropic) as part of an AI-assisted development workflow — demonstrating how modern WordPress plugin architecture (hooks, Settings API, HTTP integration) can be built efficiently with AI tooling.
License
MIT © Yoshiro Moriyama