WooCommerce Create Coupon Documentation
Overview
The WooCommerce Create Coupon node is part of the WooCommerce integration in the Vantage workflow engine. Create a new discount coupon in WooCommerce.
This node uses the WooCommerce API through Vantage's managed credential system — no manual token handling required.
Settings
Code
- Input Type: String
Discount Type
- Input Type: String (percent, fixed_cart, fixed_product)
- Default Value:
"percent"
How It Works
- Receives input data from upstream nodes through configured input ports.
- Authenticates with WooCommerce using your connected credentials.
- Executes the API operation with the provided configuration and input data.
- Returns the result through the output port for downstream processing.
Error handling is built in — if the API call fails, the node throws a descriptive error with the failure reason.
Input and Output
- Input: Accepts data in object or array format from upstream nodes.
- Output: Returns the WooCommerce API response as structured data.
Use Cases
Workflow Automation
Integrate WooCommerce operations into multi-step workflows combining data from multiple sources, transformations, and conditional logic.
Scheduled Operations
Pair with the Schedule Trigger node to run WooCommerce operations on a recurring basis.
Event-Driven Pipelines
Combine with other trigger nodes to react to events and automatically execute WooCommerce actions.