Skip to main content
Use this page when you want an automation to start from a Commerce order event.

Overview

The current Commerce trigger family supports these trigger options:
  • Order created
  • Order fulfilled
  • Order paid
  • Order refunded
  • Order cancelled

Before you start

  • Open Automation.
  • Click Create new scenario.
  • Make sure your Commerce flow is ready for the order event you want to track.

Steps

  1. Click Trigger.
  2. Choose Commerce.
  3. Select one trigger option:
    • Order created
    • Order fulfilled
    • Order paid
    • Order refunded
    • Order cancelled
  4. Save the trigger.
  5. Add the next step, such as Communication channel, Time delay, or Conditions.
  6. Click Save automation.

What happens next

After the scenario is saved, you can return to the Automation list and open See analytics for supported reporting. If the order uses Doku or Xendit, you can insert the payment link directly into the message your automation sends, instead of copying it from the order by hand. In the variable list these appear as Doku Payment Url and Xendit Payment Url. Pair them with the Order created trigger to send a payment link as soon as an order exists. The link is only generated for orders that use a connected gateway. Orders on a custom payment method have no payment link, so the variable resolves to nothing.