Automation

Automation Rules: When They're Active, and How to Turn Them On or Off

Creating a rule in the admin panel defaults to "enable now" checked; AI-created rules default to off; wiring up a product enables it right away — how to toggle it, preview it first, and what happens when you disable one.

On this page

Automation rules send emails, grant course access — and once that's done, you can't take it back. So whether a rule is actually running matters a lot. This article covers: whether a rule is active by default depending on how it was created, where to turn it on and off, what happens after you turn one off, and how to try it out before it goes live.

Where to find it

  • Admin → Marketing → Automations. The first tab is the "Automations" list (next to it: "Workflows", "Proactive outreach rules", "Map view").
  • The "Enabled" column in the list is a toggle: green = running, gray = not running.
  • Same location on mobile.

Is it enabled when you create it? Depends how you built it

How it was createdState after creationNotes
Admin panel, "+ New rule / Create"Depends on whether you checked "Enable this rule now" — this box is checked by defaultIf you want to test before going live, uncheck it before saving
Admin panel, "📋 Template library" → "✨ Enable this template"EnabledThe button name says it: clones a copy and enables it, then takes you to the "Enabled" tab
AI calls upsert_automation to create one, without explicitly asking to enable itNot enabled, won't triggerThe AI gets back "Rule created, but not yet enabled — it won't trigger." To make it run, it has to call enable_automation separately
AI calls apply_automation_template to wire up a product with "grant on purchase / revoke on refund" in one stepEnabledAn intentional exception — see below

Why AI-created rules default to off

AI can create many rules in one go, and a site owner won't necessarily review each one. Rules act on real customers, so AI-created rules don't run by default — turning one on is a separate, deliberate step. It never gets bundled silently into something like renaming a rule or changing its priority.

One exception: wiring up a product

apply_automation_template builds two rules for a product in one step: "(Product) · Grant on purchase" (adds a purchased tag, grants access, and optionally adds them to a community and sends a welcome email) and "(Product) · Revoke on refund" (removes the tag, revokes access, removes them from the community).

Both come out enabled as soon as they're created. That's because the whole point of this action is "wire this product up" — if it came out disabled, a customer could pay and get nothing, with no error at all, which is worse than it quietly working. If you don't want it running, just disable it.

Editing an existing rule doesn't change its enabled state

Renaming it, changing its actions, adjusting its priority — a rule that was enabled stays enabled, and one that was off stays off. Same when AI edits it: just pass the fields you want changed, and anything you don't pass stays as it was.

How to enable / disable (admin panel)

  • Go to Admin → Marketing → Automations.
  • Find the rule and click the toggle in the "Enabled" column. Green means it's on, gray means it's off.
  • You can also click "Edit" and check or uncheck "Enable this rule now" in the dialog, then save.

Try it before going live (admin panel)

Click "🧪 Test" on the rule's row to open the "Test rule" dialog. You can fill in a sample email, amount, and country, then:

  • Click "🧪 Preview (nothing is written)": lists everything this rule would do, without writing any data.
  • Click "▶️ Test run (writes data, tagged [TEST])": actually runs through the engine, but every action runs in test mode — email subjects get a [TEST] prefix, no real tags get applied, no real webhooks fire.

Preview first, and only enable once it looks right — don't test on real customers.

What happens after you disable a rule

  • The rule stops triggering.
  • Delayed actions that were already queued still run (for example, "send an email 3 days after purchase" — if that email was already queued before you disabled the rule, it still goes out).
  • The rule and its run history are kept, not deleted, so you can re-enable it anytime.
  • Click "📜 History" on that row to see past versions and roll back.

Conditions can use "or"

A rule's conditions can be grouped: within a group it's "and", between groups it's "or".

For example: "product is the Foundations course and country is CN" or "product is the Advanced course" — previously you'd need two rules to cover that; now one rule does it.

In the admin edit dialog, conditions are a block of JSON, and grouped logic is easy to get wrong — it's worth having AI write it, then having it preview the result. The preview reads the condition back as a plain-English sentence, something like "Matches any of the following groups: 1. Product is … and Country is … 2. Product is …". Boolean logic is the easiest thing to get backwards, and reading it out loud is how you catch an "and" that should have been an "or".

Let AI do it

  • "Enable this rule" → it calls enable_automation (passing the rule id). Once enabled, it starts acting on real customers, so it's worth having it preview first to confirm which rule it means.
  • "Turn this rule off" → it calls disable_automation.
  • "Which rules are disabled?" / "Which ones run on purchase?" / "Which ones send email?" → it calls list_automations, filterable by enabled state, trigger event, or action type.
  • "Preview this rule assuming the customer is this email" → it calls preview_automation: a read-only simulation against a sample customer, reporting whether the conditions pass and what actions would run (including branches and delays), without sending any real email or applying any real tag.
  • When creating or editing a rule, have it preview the result of upsert_automation: the response includes conditionsText (the plain-English reading of the condition) and activation (whether the rule comes out enabled or disabled).

list_automations, upsert_automation, and enable_automation are in the AI's default tool list; disable_automation, preview_automation, and apply_automation_template are in the "Automations" group — if the AI says it can't find a tool, have it call list_tool_groups, then run it with run_tool.

Watch out for / FAQ

  • Q: The rule is set up, but nothing happened when a customer bought something? A: Check whether the rule is enabled (is the toggle in the list green?). AI-created rules are off by default.
  • Q: I created a rule in the admin panel and it started running before I'd tested it? A: "Enable this rule now" is checked by default in the new-rule dialog. Going forward, uncheck it before saving if you want to test first; for now, you can just disable it with the toggle.
  • Q: Creating a rule says "Your current plan allows up to N automation rules"? A: You've hit your plan's limit. "Automations" and "Workflows" each have their own separate limit — they don't count toward the same total. See "Plan Limits: What's a Hard Cap, and What to Do When You Hit One".
  • Q: It won't let me create a rule with the same name? A: When AI tries to create a rule and one with that name already exists, it's rejected and told the existing rule's id. To edit that one, pass its id; to create a new one, pick a different name.

Related articles

  • "What Can Trigger an Automation" (automation-triggers)
  • "Plan Limits: What's a Hard Cap, and What to Do When You Hit One" (plan-limits)
  • "Email Sequences: who gets enrolled, how many steps, how to check" (email-sequences)
Last updated: October 7, 2026
Still stuck? Just ask

Write your question — we look in the docs first, and hand it to AI support if the answer is not there.

If you have connected an AI, you can ask it directly — it reads these same docs, and it can make the change for you.Or email us at support@dlxai.ai.
We use essential cookies; "Accept" also records device traits to prevent abuse. Cookie Policy