AXL Knowledge Base

Product Automation

~4 min read Section: Automations

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.

Products & Services list with the Leadership Membership and Leadership Certificate products.

Choose the trigger

Every product has these triggers:

TriggerFires when
Product Order CreatedAn order with this product is created, before payment. The order may never be paid.
Product PurchasedThe 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.

Leadership Certificate product automation: Product Purchased and Product Order Created events, with Product Order Created settings for admin-created orders.

A product with the Subscription type has five more triggers. None of them needs settings except Subscription Period Check.

TriggerFires when
Renewal Payment SucceededThe next subscription period is paid.
Renewal Payment FailedA 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 CheckA set number of days Before End of a period or After Start, for example a renewal reminder 3 days before the end.
Canceled by CustomerThe customer cancels the renewal themselves.
Subscription EndedAccess ends because the subscription was not renewed, including any extra days of access.
Subscription product Events palette: Product Order Created, Product Purchased, Renewal Payment Failed and Succeeded, Subscription Ended and Subscription Period Check.

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".

Leadership Certificate product automation: Product Purchased linked to Send Email, and Product Order Created linked to Delay, Condition and Send Email.

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".

Add Variables panel listing contact and account variables, including #School.ContactInviteLink# (personal link to the account).
Add Variables panel showing the Order group: order ID, number, status, dates, amounts and payment link.

Example: remind about an unpaid order

Connect Product Order Created → Delay (for example, 1 hour) → Condition → Send Email:

  1. In the Condition, add Order Paid and select No. This checks the order from this run at the moment the delay ends.
  2. 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.
Product Order Created linked to a one-hour Delay, a Condition and Send Email; the last two still need setup.

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.