WP Manifestindependent plugin directory
manifest / ai / ai-workflow-automation-plugin-for-wordpress

AI Workflow Automation for WordPress

A modern React-based WordPress plugin built by Shahbaz Elahi to demonstrate advanced WordPress plugin development, AI-powered workflows, automation logic, and modern admin UI development using React.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/shahbax/ai-workflow-automation-plugin-for-wordpress/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A React-based WordPress plugin built by Shahbaz Elahi to demonstrate modern WordPress plugin development, AI workflow automation, REST API architecture, and a clean React-powered admin dashboard.

What This Plugin Does

This plugin lets WordPress admins create simple AI-powered automation workflows.

Example workflows:

  • New blog post published → generate AI summary → save to post meta
  • New WooCommerce order → send admin notification
  • New user registered → generate internal AI note
  • Manual trigger → generate lead summary
  • Workflow event → send webhook to external automation tools

Features

  • React-based WordPress admin dashboard
  • AI workflow builder
  • WordPress REST API routes
  • AI assistant preview panel
  • OpenAI-compatible API settings
  • Activity logs
  • Manual workflow runner
  • WordPress post-published trigger
  • WordPress user-registration trigger
  • WooCommerce new-order trigger
  • Webhook action support
  • Secure nonce and capability checks
  • Sanitized input and escaped output
  • Portfolio-ready repository structure

Installation

  1. Download the ZIP file.
  2. In WordPress admin, go to Plugins > Add New > Upload Plugin.
  3. Upload the ZIP.
  4. Activate the plugin.
  5. Open AI Workflows from the WordPress admin menu.

AI API Setup

Go to AI Workflows > Settings and add:

  • API key
  • Model name
  • OpenAI-compatible endpoint

Default endpoint:

https://api.openai.com/v1/chat/completions

The plugin also includes a demo AI preview mode that works without an API key.

Development

Install dependencies:

npm install

Run development build:

npm run start

Run production build:

npm run build

This repository includes a ready-to-run assets/js/admin.js file, so the plugin can be installed immediately without building.

Repository Structure

ai-workflow-automation-for-wordpress/
├── assets/
│   ├── css/admin.css
│   └── js/admin.js
├── includes/
│   ├── class-aiwa-activator.php
│   ├── class-aiwa-admin.php
│   ├── class-aiwa-ai-service.php
│   ├── class-aiwa-logger.php
│   ├── class-aiwa-rest-api.php
│   ├── class-aiwa-settings.php
│   └── class-aiwa-workflows.php
├── src/
├── ai-workflow-automation.php
├── uninstall.php
├── package.json
└── README.md

Security Notes

The plugin uses:

  • manage_options capability checks
  • REST nonce verification through wp.apiFetch
  • Sanitized request data
  • Prepared database queries
  • Escaped URLs
  • Safe option storage

Author

Shahbaz Elahi
Full-Stack WordPress Developer | WooCommerce Developer | Shopify Developer | AI Automation Specialist

GitHub: [@shahbaz]([https://github.com/shahbax]

License

GPL-2.0-or-later