Skip to main content

Workflows

Workflows let you automate tasks in your store just by telling the Agent what you want. In this article, you'll learn how to install Workflows, build them with simple prompts, connect outside tools,…

Andrija Krstic
Updated by Andrija Krstic

Workflows let you automate tasks in your store just by telling the Agent what you want. In this article, you'll learn how to install Workflows, build them with simple prompts, connect outside tools, what they cost, and how to test and troubleshoot them.


What are Workflows?

Workflows let you automate parts of your business by simply telling the Agent what you want to happen. You describe the use case in plain language, and the Agent builds the Workflow for you inside the Agentic Builder.

Most Workflows are trigger-based. They start on their own when something happens in your shop, like a new order, a failed payment or low stock, or when another service sends them a notification. You can also set a Workflow to run on a schedule, such as every morning or once a week.

For example: "When a customer's order ships, send them an email with their tracking link."

Once a Workflow is live, it runs on its own every time the event you described happens.


Before you start: install the Workflows plugin

Workflows are available on all plans. To turn them on:

  1. Open the Agentic Builder.
  2. Go to Plugins.
  3. Find Workflows and click Install.

You only need to install it once. After that, Workflows are available in every project on your account, and the Agent can use them in any of them. Once installed, the plugin stays on your account.


Creating a Workflow

Just tell the Agent what you want, the same way you'd explain it to a colleague. There's no special syntax.

A simple way to frame it: When [something happens], if [optional condition], do [action].

The more specific you are, the better the result. Mention what should start the Workflow, any conditions (for example, only for a specific product), what exactly should happen, and any timing or delay you need.

Example prompts:

  • "When an order is shipped, send the customer an email with their tracking link."
  • "When someone subscribes to the Coffee Box, add them to my VIP list in Klaviyo."
  • "When a new order is paid, send it to my 3PL for fulfillment."
  • "When a customer subscribes to the Annual plan, add a 10% coupon to their account."

The Agent builds the Workflow and walks you through anything else it needs from you.


What you can build

One of the most common uses is sending custom emails on key events, like a completed checkout or a shipped order, with your own layout and content.

Workflows also connect your store to outside tools. You can add customers to a list in Mailchimp, Klaviyo or a similar tool when something happens, and remove them when something else does. If you work with a 3PL, a Workflow can send your orders straight to them for processing and shipping.

Some Workflows run fully inside Subbly with no outside setup at all. For example, you can add a coupon to a customer's account when they subscribe to a specific product.


Workflow emails and native Emails

WARNING: Workflow emails don't replace Subbly's native Emails (the templated emails). If you set up a Workflow email for the same event as a native Email, your customers will get both.

To avoid duplicates, turn off the matching native Email before your Workflow goes live.

TIP: With a Workflow, you can ask the Agent to draft the email as a smart document Artifact. You can review and adjust the layout and content there, which wasn't possible with the templated Emails. The preview shows exactly how the email will look on desktop and mobile.


Connecting external tools

When your Workflow needs an outside service (like Klaviyo, Mailchimp or your 3PL), the Agent guides you through the setup step by step.

Along the way, it will ask for details such as API keys, list IDs or authentication secrets. These are stored securely as Secrets in the Builder, so you only provide them once.

WARNING: The external service may have its own limits, such as rate limits, required fields or plan restrictions. These are set by that service, not Subbly, so check them if something doesn't work as expected.


Pricing

Each Workflow action costs $0.05 and one run can include several actions. For example, a Workflow that tags a customer and sends them an email performs 2 actions, so each run costs $0.10. It's deducted from your AI usage balance, which is included in your monthly plan.

To keep your business running smoothly, Workflows don't stop if your balance runs out. Your balance will simply show as negative until you top up. To control your usage, you can turn off or remove Workflows you don't need.


Testing and reviewing runs

You'll find all your Workflows under Workflows in the left sidebar of the Agentic Builder.

The top of the page gives you a quick look at the past week: how many runs you had, the failure rate, the number of actions performed and the credits spent. Below that is a list of all your Workflows, with each one's trigger, its last run and its recent run history. Use the toggle on the right to turn any Workflow on or off.

Click a Workflow to open it. The Overview tab shows how it works step by step, along with its recent runs and the connections it uses. The Runs tab lists all its runs so you can check the details of each one.

From here, click Run a test to try the Workflow out, or Edit with the agent to change it. The On toggle turns it on or off. Manual test runs are charged like any other run, at $0.05 per action.

When you no longer need a Workflow, click Archive to remove it from your list. You can also ask the Agent to turn off or archive a Workflow for you.


Troubleshooting

If a Workflow doesn't behave as expected, just ask the Agent to look into it. It checks the error log for that Workflow, explains what went wrong and guides you through the fix.

Example prompts:

  • "Check why my shipping email Workflow failed."
  • "Review the error log for my Klaviyo Workflow."
  • "Why wasn't this order sent to my 3PL?"

Failed runs aren't retried automatically, since most Workflows wait for their trigger to happen again. Once the issue is fixed, you can ask the Agent in the chat to rerun the Workflow.

How did we do?

Changing the mobile layout vs. desktop layout