Marketing

Workflows: For Things That Need to "Wait a Few Days" or "Branch Two Ways"

The difference between workflows and automation rules, how to work around the fact that none of the 14 triggers cover placing an order or booking a table, the three most useful actions, and how to confirm a workflow is actually running.

On this page

Your site has two separate automation systems, and figuring out which one to use is the step people get wrong most often:

Rules (Automations)Workflows
What it looks likeOne trigger + a list of actions, straight throughA diagram that can branch and pause and wait
When to use it"Tag them and email them when they buy" — that kind of thingWhen you need to wait a few days, branch two ways, run an A/B test, or wait for the customer to do something before deciding
Where in the adminMarketing → AutomationsMarketing → Workflows

⚠️ The action names are different between the two systems: in rules, adding a tag is add_tag; in workflows, it's assign_tag. Mix them up and you'll get an error.

What can trigger a workflow (14 kinds)

Tagged / untagged / submitted a contact form / talked to AI support / posted in the community / completed a lesson / triggered manually / a new deal was created / a deal changed stage / a deal was won / a deal was lost / a deal has sat untouched for N days / an external system called in / a specific date arrived.

🛑 Notice what's missing: there's no "someone placed an order" and no "someone booked a table." This is the most common mistake — people assume "whatever rules can't do, workflows can," but workflows simply can't be triggered by either of those two events.

To build a time-delayed flow starting from an order or a booking, you have to chain two pieces together:


A rule (purchase / booking made) → adds a tag
    → A workflow (trigger: "tagged," pointing at that tag) → wait a while → send an email

With that chain, things like "ask how the food was two hours after pickup" or "ask for a review three days after purchase" are both doable.

But "remind them the day before their appointment" is not doable — don't promise that to a customer. The only date-based trigger in workflows is "a specific date arrived," and it looks at a date field on the customer's profile. A booking date lives in the booking record instead, and rules don't have an action to copy that date onto the customer's profile either. There's no way around this right now.

What actions it can take (14 kinds)

Send an email / add a tag / remove a tag / call an external endpoint / notify the site owner / wait a while / exit if they have this tag / create a deal / move a deal to a different stage / update a field on a deal / branch / wait for the customer to do something / hand off to the rules engine / A/B split.

Three are worth calling out:

  • Wait for the customer to do something: pause until a specific event happens, and fall back to a default path if it times out. "Send an email, wait 3 days, and send a follow-up if they didn't open it" is built this way.
  • Exit if they have this tag: stops the whole flow right there — nothing after it runs. Put one of these near the start of every flow that sends emails — if someone has already unsubscribed or already bought, don't keep nudging them.
  • Branch: one path if a condition is true, another if it's false, and either path can branch again inside itself.

Do this one thing before you start building

Before building a workflow, have the AI call "what triggers and actions are available for workflows" (describe_workflow_schema) once first — it lists out exactly what the engine currently supports, including what fields each action needs. Writing one from memory is the easiest way to end up with a workflow that won't even save.

The AI writes a workflow as one complete diagram all at once, not node by node the way a person would build it on the canvas. Once it's saved, the admin panel automatically draws the diagram, and the site owner can open it, see it, and edit it too — it's the same thing underneath, viewed from two different interfaces, and either one can make real changes.

How to confirm it's actually running

Check the workflow's run history (list_workflow_runs): it shows how far each run got, where it's currently waiting, and which branch an A/B split took. "Enabled" by itself proves nothing — a flow that's sitting there waiting looks identical, in the list, to one that has never been triggered at all.

⚠️ Don't use list_automation_runs to check on a workflow: that looks at the rules system — a completely different table. The name is deceptively similar, and it does return results (the rules' own run history isn't empty), so a mistake here is easy to miss.

Last updated: October 1, 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