Get startedGet started for free

Building a Complete Automated Workflow

1. Building a Complete Automated Workflow

We've classified data, routed on LLM outputs, and drafted personalized responses — but each time, we focused on one piece. Now let's zoom out and build a complete workflow, from trigger to output, using everything you've learned.

2. The brief: Acme's customer onboarding

Here's the brief. When a new customer signs up, they fill out a form with their name, company, and role. Acme's sales team wants the workflow to figure out the customer's tier — enterprise, mid-market, or startup — and send a welcome message that matches. Why does this tiering matter? An enterprise customer will often expect a dedicated account manager, but a startup may be looking for a quick-start guide, not necessarily a formal onboarding call. Right now, a sales rep reads every submission and writes each welcome email by hand. That's the task we're automating.

3. Should this be automated?

Before we build, one question worth asking: should this even be automated? Automation works when a task is repetitive, follows a consistent pattern, and starts with a reliable trigger. Acme's onboarding checks all three — every signup follows the same steps, the tiers map cleanly to three different welcomes, and the form submission is a natural trigger. If any of those answers were no, a manual process might be smarter. Automate the predictable and augment the rest.

4. Design from the outcome

Here's a habit that makes design easier: start from the outcome and work backwards. What do we want at the end? A tailored welcome email.

5. Design from the outcome

What does the personalization Agent need to write it?

6. Design from the outcome

The customer's name, company, and tier, and instructions on how to generate messages that will differ depending on the tier. How do we get the tier?

7. Design from the outcome

A classification Agent reads the company name and role — a Fortune 500 VP is enterprise, a five-person startup founder is startup. What does that Agent need?

8. Design from the outcome

Prepared data from the form — company and role combined into one condensed field. And what kicks it all off?

9. Design from the outcome

The form submission itself. Outcome to trigger — that's the design.

10. Best practices

Before you begin building, here are three habits that'll save you time as your workflows grow. First, name your nodes to describe what they do. "Classify Customer Tier" tells you more than "AI Agent." When you come back to a workflow in three months, names are all you'll see on the canvas. Second, test incrementally — run your workflow after each new node, not just at the end. If something breaks, you'll know exactly which node caused it. And third, keep your prompts readable. The instruction should make sense to someone who's never run the workflow.

11. Let's practice!

Time to put everything you've learned together into one, intelligent workflow!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.