Skip to content

GhDj/wp-webhook-automator

Hookly - Webhook Automator

CI WordPress Plugin Version WordPress Plugin Downloads WordPress Plugin Rating License

Connect WordPress events to external services via webhooks. A lightweight, developer-friendly automation tool — like Zapier, but self-hosted and free.

Features

  • 13+ Event Triggers — Posts, users, comments, and more
  • Flexible Payloads — JSON or form-encoded with 50+ merge tags
  • Conditional Logic — Filter by post type, user role, status
  • Delivery Logging — Track success/failure with detailed logs
  • Auto-Retry — Configurable retry for failed webhooks
  • Secure — HMAC signatures for payload verification
  • Developer Friendly — REST API, custom hooks, extensible triggers

Quick Start

Installation

  1. Download from WordPress.org or search "Hookly" in your WordPress admin
  2. Activate the plugin
  3. Go to Webhooks → Add New
  4. Select a trigger, enter your endpoint URL, customize the payload
  5. Save and test!

Example: Post to Slack on New Post

  1. Create a Slack Incoming Webhook
  2. Add new webhook in WordPress:
    • Trigger: Post Published
    • URL: Your Slack webhook URL
    • Payload:
    {
      "text": "New post published: {{post.title}}",
      "blocks": [
        {
          "type": "section",
          "text": {
            "type": "mrkdwn",
            "text": "*<{{post.url}}|{{post.title}}>*\n{{post.excerpt}}"
          }
        }
      ]
    }

Available Triggers

Posts

  • Post Published
  • Post Updated
  • Post Deleted
  • Post Trashed

Users

  • User Registered
  • User Updated
  • User Deleted
  • User Login
  • User Logout

Comments

  • Comment Created
  • Comment Approved
  • Comment Marked as Spam
  • Comment Reply

Documentation

Requirements

  • WordPress 6.0+
  • PHP 8.0+

Contributing

Contributions are welcome! Please read our Contributing Guide and Code of Conduct.

# Clone the repo
git clone https://github.com/GhDj/wp-webhook-automator.git

# Install dependencies
composer install

# Run tests
composer test

# Check coding standards
composer phpcs

Changelog

See CHANGELOG.md for a list of changes.

Pro Version

Need more power? Hookly Pro includes:

  • Unlimited webhooks (free: 3)
  • 90-day log retention (free: 7 days)
  • Advanced conditional logic
  • Incoming webhooks
  • Scheduled triggers
  • WooCommerce triggers
  • Priority support

License

GPL v2 or later. See LICENSE for details.

Credits

Built by Ghabri Jalel


If this plugin helps you, please leave a review

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors