Outhook Outbound Webhooks

外掛說明

Outhook Outbound Webhooks sends compact JSON payloads when selected events happen on your site. It works with n8n, Make, Zapier, and any service that accepts HTTP requests.

Configure up to 10 endpoints under Settings > Outbound Webhooks. Each endpoint can have its own events, public post types, signing secret, and delivery mode.

Events:

  • Post published, updated, or trashed.
  • Comment posted or approved.
  • User registered.

Default delivery is non-blocking. Reliable mode waits up to five seconds and schedules one retry with WP-Cron after five minutes when delivery fails. The delivery log keeps the latest 50 results.

Payloads never include comment email addresses, IP addresses, or user email addresses by default. User email can be enabled per endpoint.

Developer filters: outhook_payload, outhook_should_send, and outhook_headers.

Privacy

This plugin sends selected site event data to the HTTPS endpoints configured by an administrator. It does not contact any service by itself and includes no telemetry, tracking, remote code, or upsell.

Post payloads can contain public post content and author display names. Comment payloads contain the comment author name and content, but never the comment email address or IP address. User registration payloads exclude email by default; an administrator may opt in per endpoint. Review the receiving service’s privacy terms and configure data retention appropriately.

The latest 50 delivery results are stored in the WordPress database. Uninstalling the plugin deletes endpoint settings and the delivery log.

安裝方式

  1. Upload the outhook-outbound-webhooks folder to /wp-content/plugins/ or install the ZIP in Plugins > Add New.
  2. Activate Outhook Outbound Webhooks.
  3. Open Settings > Outbound Webhooks.
  4. Add an HTTPS endpoint, select events, and save.
  5. Use Send test event to verify the connection.

常見問題集

How is a request signed?

When a secret is configured, the plugin sends X-Outhook-Signature as sha256= followed by the lowercase HMAC-SHA256 of timestamp + "." + raw_request_body. The timestamp is also sent in X-Outhook-Timestamp.

In an n8n Code node, Make code module, Zapier code step, or similar tool, the verification logic is:

expected = "sha256=" + HMAC_SHA256(secret, timestamp_header + "." + raw_body)
accept only if constant_time_compare(expected, signature_header)

Use the exact raw request body, before parsing JSON. Also reject timestamps outside your acceptable time window to reduce replay risk.

Why does the default log say Queued?

Default requests are non-blocking, so WordPress does not wait for an HTTP response. Enable Reliable mode when you need an HTTP status and one retry.

Does the plugin send old content when activated?

No. It only sends newly occurring selected events.

Can I change a payload or skip a delivery?

Yes. Use outhook_payload to filter payload data, outhook_should_send to skip a matching endpoint, and outhook_headers to change request headers.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Outhook Outbound Webhooks〉的開發相關工作。

參與者

將〈Outhook Outbound Webhooks〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.0

  • Initial release.