Description
EI-OS AI Visibility notifies an automation endpoint of your choice (for example an n8n webhook) whenever a post or page changes publication state. Each request is signed with HMAC-SHA256 using a secret generated on your site, includes a timestamp and an atomically claimed one-time nonce, and carries a stable event ID so the receiver can deduplicate. Replay markers are stored as non-autoloaded WordPress options and scheduled for cleanup after 15 minutes; WP-Cron must run for cleanup to execute.
The plugin does nothing until you enable it, enter an HTTPS webhook URL and save. It sends no data to OptimusAi or to any other server unless you enter that server’s URL yourself.
Events
post.published,post.updated,post.unpublishedfor posts and pages.- Failed deliveries are retried up to three times through WP-Cron (permanent 4xx errors are not retried).
- A signed ping endpoint lets your receiver check connectivity.
Data sent (per event): event, event_id, site_id, origin (site address), post_id, post_type, status, modified_gmt, permalink and occurred_at (UTC event occurrence time). The event includes a permalink, which may reveal the URL of the published or formerly published content. No visitor data, comments, user accounts or post content are sent. The plugin stores up to 20 local delivery-result rows, including event ID, event type, post ID, attempt count, result and UTC log time.
Requirements for the receiver: it must verify the signature described in the FAQ. The plugin works with any receiver that implements it. The endpoint is selected and configured by the site administrator; this plugin does not choose or operate a receiver. The selected receiver may process or retain the data under its own terms and privacy policy.
External services
This plugin can send event data to one external endpoint only when the site administrator enables delivery and configures an HTTPS webhook URL under Settings > EI-OS AI Visibility. The endpoint is selected by the administrator; this plugin package does not select or operate a receiver. Before enabling delivery, the administrator must identify the receiver, review its terms and privacy policy, and confirm that sending the documented post metadata is appropriate. The plugin author cannot supply a single service-specific terms or privacy URL for an administrator-selected endpoint.
- What is sent and when: the fields listed under “Data sent”, when a post or page is published, updated or unpublished, and on retries after a failed delivery. The signed
/wp-json/eios/v1/pingendpoint also receives the request body and authentication headers sent by the configured receiver. - Local retention: settings, including the administrator-generated shared secret, are stored in the WordPress options table. At most 20 delivery-result rows are retained; replay-protection markers are scheduled for cleanup after 15 minutes and may remain until WP-Cron runs. Uninstall removes settings, delivery logs, replay-marker options and all scheduled retry and cleanup events. Deactivation clears scheduled retries.
Installation
- Upload the plugin folder to
/wp-content/plugins/, or install it from the Plugins screen. - Activate it.
- Open Settings > EI-OS AI Visibility, set a stable Site ID, enter your HTTPS webhook URL and tick “Send events”.
- Save, then copy the new secret shown once into your receiver.
FAQ
How is a request signed?
Headers: X-EIOS-Site, X-EIOS-Timestamp, X-EIOS-Nonce, X-EIOS-Signature (v1=<hex>). The signature is HMAC-SHA256, with your secret, over the string v1\n{timestamp}\n{nonce}\n{site_id}\n{sha256(body)}. Reject requests whose timestamp differs by more than 300 seconds or whose nonce was already seen.
Does it work on WordPress Multisite?
Not tested yet. Install and configure it per site with a unique Site ID.
Is any data sent without my configuration?
No. Without a webhook URL, secret and the “Send events” option, nothing is sent.
Changelog
0.1.7
- Uninstall and deactivation now remove every scheduled retry and replay-cleanup event, including events that carry arguments.
- Readme: replaced a rarely used tag and added a Screenshots section.
0.1.6
- Remove the Plugin URI header so it no longer duplicates the Author URI.
0.1.5
- Prefix uninstall cleanup variables and document the narrowly scoped database cleanup.
0.1.4
- Make replay nonce claims atomic and isolate plugin identifiers from EI-OS Connector.
- Correct the privacy disclosure to match the exact event payload and local retention.
0.1.3
- Adopted the official EI-OS AI Visibility name, package path and stable eios/v1 REST namespace.
- Retained administrator-configured signed event delivery and safe outbound HTTP handling.
0.1.2
- Expanded the generated privacy policy text to describe all event fields, retries and the administrator-selected receiver.
- Use WordPress safe HTTP API for outbound webhook requests.
0.1.1
- First release: signed publish events, retries, signed ping endpoint.