A product automation runs steps when someone orders or buys one product, and for subscriptions when a renewal is paid, fails or ends. For example, it sends the buyer a link to their account after payment, or reminds them about an unpaid order. To create a product, see "Products & Services".
Important: the buyer gets access to the courses and materials included in the product automatically when the order is paid. You do not need an automation step to grant it.
Create a Product Automation
Open the automation
Go to Sales → Products & Services, open the product and then its Automation tab.

Choose the trigger
Every product has these triggers:
| Trigger | Fires when |
|---|---|
| Product Order Created | An order with this product is created, before payment. The order may never be paid. |
| Product Purchased | The order is paid in full, or your team marks it completed, and the buyer gets access. With installments, it fires once, after the last payment. |
| Order Paid (Payment Form) | A payment arrives for an order with this product. In Payment type, choose Full, Partial (a balance remains) or both, for example to thank a buyer for each installment. |
The order triggers have the setting Triggers if an admin created the order: Yes reacts only to orders your team created by hand, No only to orders customers placed themselves, Any to both. Leave it empty to react to both.

A product with the Subscription type has five more triggers. None of them needs settings except Subscription Period Check.
| Trigger | Fires when |
|---|---|
| Renewal Payment Succeeded | The next subscription period is paid. |
| Renewal Payment Failed | A renewal charge fails. AXL may retry, so this can fire several times for one period, and it does not mean access has ended. Write the message with that in mind. |
| Subscription Period Check | A set number of days Before End of a period or After Start, for example a renewal reminder 3 days before the end. |
| Canceled by Customer | The customer cancels the renewal themselves. |
| Subscription Ended | Access ends because the subscription was not renewed, including any extra days of access. |

Add the actions
Open the Actions tab, drag the steps you need onto the canvas and connect them to the trigger. Configure each step through its gear icon → Configure Step. For all actions, see "Types of Actions in Automations and Their Settings"; to connect, copy or delete steps, see "Automation Events and Actions" and "Deleting and Copying Steps".

Variables for purchase emails
In a message or email step, click Add Variables next to the text to insert the buyer's and the order's data:
#School.ContactInviteLink#(Personal link to the account) takes the buyer to their account on your Membership Portal. A new buyer first sets a password; a registered one goes straight in or to the sign-in page. Put it in the email after Product Purchased so the buyer can open the course at once.- The Order group inserts the order number, status, contents, amounts and a payment link. The payment link is what an unpaid-order reminder needs.
For all variables, see "Variables in Automations".


Example: remind about an unpaid order
Connect Product Order Created → Delay (for example, 1 hour) → Condition → Send Email:
- In the Condition, add Order Paid and select No. This checks the order from this run at the moment the delay ends.
- Connect Send Email to the condition's matching output, and add the order's payment link to the email. A buyer who has paid by then gets no reminder.
Important:
- Connect the steps before you configure the Condition: Order Paid appears only when a step before it supplies the order.
- Do not use the contact's Product Purchase condition for this check. It looks at the whole purchase history and can match an earlier paid order of the same product.
- For a second reminder, add another Delay and another Order Paid check before its email.

Activate the automation
Open each step that shows Configuration required, fill in its settings and save them. Then turn on the switch in the upper-left corner of the canvas so it reads Active.