=== PhoenixForge Workflow Engine ===
Contributors: ryanpurvisphoenixforge
Tags: automation, workflow, triggers, actions, scheduling
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Visual drag-and-drop automation builder with triggers, conditions, and actions for WordPress workflows.

== Description ==

PhoenixForge Workflow Engine lets you build powerful automations without code. Visual drag-and-drop workflow builder with triggers, conditions, and actions that connect your WordPress site's events to automatic responses.

**The problem:** You do the same manual tasks repeatedly — send an email when a post is published, update a field when a form is submitted, notify a team member when a comment needs review. You could use Zapier, but that costs money and sends your data to a third party.

**The solution:** PhoenixForge Workflow Engine keeps your automations inside WordPress. Build workflows visually: pick a trigger (something happens), add conditions (only if criteria match), then define actions (do something). No external services. No per-task pricing.

= Free Features =

* Visual drag-and-drop workflow builder
* WordPress core triggers (post published, user registered, comment added)
* Conditional logic with AND/OR rules
* Actions: send email, update post, create user, webhook
* Workflow execution log with status tracking
* Enable/disable workflows without deleting them

= Pro Features =

* Triggers for WooCommerce, forms, and custom post types
* Advanced actions: create PDF, sync to CRM, modify database
* Scheduled and recurring workflow triggers
* Cross-plugin triggers from all PhoenixForge plugins
* Workflow templates library
* Priority support

= Part of the PhoenixForge Suite =

PhoenixForge Workflow Engine is the automation backbone of the PhoenixForge suite. Connect triggers from PhoenixForge Security Monitor, PhoenixForge Uptime Monitor, PhoenixForge Performance Monitor, and any other PhoenixForge plugin to create sophisticated automated responses.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/wp-workflow-engine/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Navigate to Workflow Engine in the admin menu
4. Click "New Workflow" to open the visual builder
5. Add a trigger, set conditions, define actions, and activate

== Frequently Asked Questions ==

= Do I need coding knowledge? =
No. The visual builder uses drag-and-drop. Select triggers, conditions, and actions from dropdown menus.

= How many workflows can I create? =
There is no limit on the number of workflows in either the free or Pro version.

= Can I connect to external services? =
Yes, the webhook action lets you send data to any external API. Pro adds dedicated integrations for popular services.

= Is there a Pro version? =
Yes, Pro adds WooCommerce triggers, advanced actions, scheduling, cross-plugin triggers, and templates. Visit phoenixforge.io for details.

= Does it replace Zapier? =
For WordPress-specific automations, yes. PhoenixForge Workflow Engine handles triggers and actions within your WordPress ecosystem without per-task costs or external data sharing.

== Screenshots ==

1. Visual drag-and-drop workflow builder canvas with connected trigger, condition, and action nodes
2. Trigger configuration panel with WordPress core event selection options
3. Conditional logic editor with AND/OR rule builder and field comparisons
4. Action library showing available actions (send email, update post, webhook, create user)
5. Workflow execution log with run status, timestamps, and step-by-step results

== Third-Party Services ==

This plugin connects to external services under certain conditions:

= PhoenixForge License Server =
When you activate a Pro license key, the plugin validates it with the PhoenixForge license server.
* Service URL: https://phoenixforge-licenses.phoenixforge.workers.dev
* Privacy Policy: https://phoenixforge.io/privacy
* Terms of Service: https://phoenixforge.io/terms
* Data sent: License key, site URL
* When: On license activation, deactivation, and daily revalidation

= PhoenixForge Update Server =
The plugin checks for new versions from the PhoenixForge update server. This is disabled in WordPress.org distributed builds.
* Service URL: https://phoenixforge-updates.phoenixforge.workers.dev
* Privacy Policy: https://phoenixforge.io/privacy
* Terms of Service: https://phoenixforge.io/terms
* Data sent: Plugin slug and current version
* When: During WordPress update checks (approximately every 12 hours)

= Outbound Webhooks (Pro Feature) =
Pro users can optionally configure webhook URLs to send event data to services like Zapier, Make, or n8n.
* Only active when explicitly configured by the site administrator
* Data sent: Event type, site URL, and event-specific data
* Destination URL is entirely user-controlled

== Changelog ==

= 2.0.0 =
* Initial public release
* Visual workflow builder
* WordPress core triggers
* Conditional logic
* Email, webhook, and post actions
* Execution logging

== Upgrade Notice ==

= 2.0.0 =
Initial release.
