WooCommerce Trigger Plugin for Dify
A webhook-based trigger plugin that connects WooCommerce stores with Dify workflows.
Overview
This plugin provisions WooCommerce webhooks (v3 API) and validates each delivery with HMAC SHA-256 signatures. It currently covers store operations such as orders, products, coupons, and customers so you can launch automations the moment commerce events happen.
Use Cases
1. Intelligent Order Follow-up
- Trigger:
- Workflow:
- Parse line items and payment totals
- Run fulfilment or fraud checks with LLMs
- Notify internal channels or generate branded responses automatically
2. Catalog Quality Guardrails
- Trigger:
- Workflow:
- Compare fields (title, description, price) against brand tone and policies
- Let an LLM rewrite problematic copy or raise a review task in Dify
3. Customer Lifecycle Automation
- Trigger:
- Workflow:
- Summarize profile and lifetime value
- Kick off onboarding or VIP nurturing flows
Supported Events
Configuration
Prerequisites
- WooCommerce store with REST API enabled
- Consumer Key & Consumer Secret generated under WooCommerce → Settings → Advanced → REST API
- Ability to manage webhooks (Store manager or Admin role)
Setup Steps
-
Create API credentials
- Go to WooCommerce → Settings → Advanced → REST API
- Click Add key, select a user with permission
- Copy the Consumer Key and Consumer Secret into the credential form
-
Install the plugin in Dify
- Upload this plugin under Plugins → Triggers
- Provide your store URL (e.g., )
- (Optional) Toggle Include credentials in query when your host strips the header
-
Create a subscription
- Pick one or more webhook events from the checkbox list
- (Optional) Provide your own signing secret; otherwise Dify generates one automatically
- Save the subscription. Dify will create individual WooCommerce webhooks pointing to the generated endpoint and keep the secret for signature validation.