Short answer: You can create coupon in WooCommerce by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the WooCommerce Create Coupon action to a workflow, map its 10 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Coupon Code code | string | Required | Coupon Code. Example: SAVE20 |
Discount Type discount_type | options | Required | Discount Type. Options: Percentage, Fixed cart discount, Fixed product discount |
Amount amount | string | Required | Discount amount (percentage or fixed) |
Description description | string | Optional | Description. Example: Summer sale 20% off |
Expiry Date date_expires | string | Optional | ISO 8601 date when coupon expires |
Usage Limit usage_limit | string | Optional | Total number of times the coupon can be used |
Limit Per User usage_limit_per_user | string | Optional | Times a single customer can use this coupon |
Minimum Order Amount minimum_amount | string | Optional | Minimum Order Amount. Example: 50.00 |
Free Shipping free_shipping | options | Optional | Free Shipping. Options: No, Yes |
Individual Use Only individual_use | options | Optional | Cannot be combined with other coupons |
{"code": "e.g. SAVE20","discount_type": "{{trigger.discount_type}}","amount": "e.g. 20","description": "e.g. Summer sale 20% off","date_expires": "e.g. 2025-12-31T23:59:59"}
{"id": 101,"code": "SAVE20","amount": "20.00","usage_count": 0,"usage_limit": 100,"date_expires": "2025-12-31T23:59:59","discount_type": "percent","free_shipping": false}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.