Triggers
Automations in PredictCart are event-driven. Each automation has a trigger that defines when it should run.
Available Triggers
Cart Total
Fires when the cart total reaches or exceeds a configured threshold. Evaluated on every cart update.
Parameters:
cart_total— minimum cart total to trigger
Product in Cart
Fires when specific products are present in the cart. Evaluated on every cart update.
Parameters:
products— comma-separated list of product IDs
Order Created
Fires when a new order is placed (via checkout). Can be filtered by order status.
Parameters:
order_status— specific status orany
Scheduled
Fires at a specific date and time. Uses Action Scheduler (preferred) or WP-Cron as fallback.
Parameters:
- Date and time specified when scheduling
Manual
Fires only when triggered manually from the admin Automations page or via AJAX.