How to Configure a Journey Rule
- Open Commerce Automation.
- Choose the journey, such as payment method selection, checkout link, order detail confirmation, cart recovery, payment reminder, order update, payment success email, order update email, or new order email.
- Use the compact card layout to edit one journey at a time. Short cards stay compact and longer cards flow naturally below them; on mobile, cards stack in one column.
- Enable the journey only after the template and timing are ready.
- Set delay/timing and retry behavior. If the journey supports immediate sending, enable Send immediately when delay is 0 when the message should be attempted as soon as the event happens instead of waiting for the next worker cycle.
- Use Add token beside Message Template to insert customer, order, payment, checkout, and bank tokens at the cursor position.
- Choose the approved template for outside-window WhatsApp sends. If Manage Variables appears beside Template, open it and map each WhatsApp template variable to the correct order token, then save the variables before saving the journey.
- For email journeys, also set the email subject. For Checkout Link, set a fallback checkout URL only when the order cannot generate a gateway or hosted checkout URL automatically. Hosted checkout orders use the generated hosted checkout URL first. If an older Catalog Checkout Link URL exists, WAPI can prefill it as the fallback.
- Save the rule.
- Test with one safe order before relying on it for all customers.
Status Scope Fields
Some journeys show status checkboxes only when they are relevant. Payment Reminder uses payment statuses such as unpaid or pending. Delivery Update uses delivery/order statuses such as shipped, delivered, or completed. Reorder Prompt uses the statuses that start the reorder delay.
These checkboxes decide when that journey is eligible. Other journeys do not show them because they are triggered by a specific order event.
If an enabled journey requires a status scope and no status is selected, WAPI asks you to select at least one status or disable that journey.
Run Observability
Use the Recent Runs tab to review what automation tried to do, whether it succeeded, and whether a retry is needed. Date range, journey, status, and rows-per-page filters help narrow the table.
Delete Selected and Clear Runs remove run log history only. They do not delete catalog orders, contacts, conversations, or WhatsApp messages that were already sent.
| Control/status | Meaning |
|---|---|
| Pending | The automation is waiting for its scheduled time or worker execution. |
| Sent/Completed | The customer follow-up was sent or the journey finished. |
| Failed | The run could not complete and should be reviewed. |
| Retry | Attempts the failed run again when the issue has been fixed. |
FAQs & Troubleshooting
Should every order update be automated?
No. Automate predictable updates and keep sensitive or unusual issues for manual agent review.
Troubleshooting Checklist
- If a retry fails again, check template approval, customer phone, service window, and WhatsApp connection.
- If run rows are empty, confirm a matching catalog/order event has happened after the rule was enabled.