=== M2Z Flow — Integration for n8n ===
Contributors: mrazari
Tags: n8n, webhook, automation, woocommerce, integration
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Secure, asynchronous WordPress and WooCommerce webhooks for n8n with HMAC signatures, retries, logs, and privacy-first payload controls.

== Description ==

M2Z Flow sends selected WordPress and WooCommerce events to webhook endpoints you configure. No external request is made merely by installing or activating the plugin.

Features:

* Multiple independently configured webhook endpoints.
* Eight event contracts: post.published, post.updated, category.created, category.updated, user.registered, comment.created, order.created, and order.status_changed.
* Background delivery through the bundled Action Scheduler.
* HMAC-SHA256 signing, bounded retries, delivery history, and test events.
* Optional personal fields are disabled by default and controlled per endpoint.

External service disclosure: M2Z Flow sends the event data you explicitly select to the webhook URL you provide. That destination may be an n8n instance or another compatible HTTPS endpoint. The destination operator's terms and privacy policy apply. M2Z Flow itself has no telemetry, cloud service, license server, or automatic external communication.

== Installation ==

1. Upload and activate M2Z Flow.
2. Open M2Z Flow > Webhooks and add an HTTPS n8n webhook URL.
3. Enter a shared secret, select events and optional fields, then save.
4. Send a test event and verify its HMAC signature in n8n.
5. Enable the endpoint to begin real delivery.

== Frequently Asked Questions ==

= Can delivery occur more than once? =

Yes. Delivery is at-least-once. Store event_id in your workflow and make processing idempotent.

= Is personal data sent by default? =

Email, phone, address, and other optional personal fields are excluded unless an administrator explicitly selects them for an endpoint.

= What happens on uninstall? =

Data is preserved by default. Enable permanent deletion in M2Z Flow > Settings before uninstalling to remove all plugin tables and options.

== Changelog ==

= 1.0.0 =
* Initial release with eight event contracts, multiple webhooks, asynchronous HMAC-signed delivery, retries, delivery logs, immediate test events, stalled-queue recovery, privacy controls, accessible configuration tabs, payload previews, and site-timezone display.
