Product Design & BuildingEngineering & Architecture

Designing a Workflow Platform

I led the product vision, design, and implementation of a workflow platform. The platform coordinates human tasks, automated activities, AI agents, and business decisions.

I defined how users would build and manage workflows, including the interactions and capabilities they needed. I also helped shape the underlying architecture, from workflow execution and data exchange to tracking and auditing running instances.

The platform was developed in close collaboration with the engineering team, from defining the workflow model and frontend/backend contracts through implementation and release.

The Workflow Builder demonstration: a Loan Approval workflow on the canvas, from Start through Loan Request, Loan Approval and an Approve? decision to approval and rejection notifications, with the Loan Request configuration open.

The Challenge

Building a workflow is one part of the puzzle. The platform also needs to manage running instances, coordinate human and automated tasks, exchange data between them, and track execution from start to finish.

Interactive demos

Both are working prototypes I built for this portfolio, with fictional data. Try them here, or expand one for more room.

These demonstrations are made for tablet and desktop screens. On a phone, use Expand to open one in the whole window.

Workflow Builder

Design and configure workflows with human tasks, automated activities, AI agents, messages, and business decisions.

Workflow Builder

Loan Approval

Draft v1.0

Portfolio demonstration · Fictional data

Instance & Audit Trail

Follow a running workflow, identify completed and active steps, and inspect the execution history and audit details.

Workflow Instance

Loan Approval

Published v1.0
Instance
LA-10482
Status
Running
Started
Nov 17, 2026, 9:12 AM
Example instance
Simulated permissions
  • Completed
  • In progress
  • Overdue
  • Failed
  • Not reached
  • Branch not taken

Portfolio demonstration · Simulated execution data

Product Design & Architecture

Behind the builder and the instance view is a model of how workflows are defined, run, and recorded. These are the parts of it that shaped the product most.

Workflow Lifecycle

From design to publication, execution, and audit, with each running instance tied to the version it started under.

Design, publish, run and audit in sequence. Revisions loop back to design and are published as a new version. DesignPublishRunAuditv1v2Revise → next version
Explore Workflow LifecycleShow less

A workflow is designed in the builder as a draft. Publishing it freezes that definition as a numbered version, and from then on new instances run that version.

  • Versions evolve. Editing a published workflow produces a new draft, and publishing it creates the next version.
  • Instances stay put. A running instance keeps the definition and version it started under, even after a newer version is published. Changes apply to instances started afterwards.
  • Every step is recorded. As an instance runs, each step it executes becomes an event: who worked on it, when it started and finished, what data was submitted, and which branch a decision took.
  • The record explains the outcome. The execution history and audit details are built from those events, so anyone reviewing an instance can see how it reached its result.

Data Exchange

Information collected or produced in one step is available to the steps that follow.

Form submissions and activity results write to workflow variables. Decisions, messages and automation or AI inputs read from them. FormsubmissionActivityresultsVariablesDecisionconditionMessage${[var-name]}Automation · AIinput mapping
Explore Data ExchangeShow less

Each workflow defines its variables: the information it works with, such as a loan amount or an applicant's email address. Steps read and write those variables as the instance runs.

  • Human Task submissions. A task's form fields can write their submitted values to workflow variables, so a reviewer's answer becomes data the rest of the workflow can use.
  • Between activities. Values produced by one activity are passed on through variables to the activities and decisions that come after it.
  • Variable references. Configuration fields can refer to a variable directly, written as${[var-name]}. A message to ${[requester_email]}, for example, is addressed to whoever submitted the request.
  • Structured input mappings. Automation and AI Agent nodes take defined inputs, and their configuration maps workflow data to each one.

Human Tasks & Automation Lifecycle

People and automated activities run differently, so the platform tracks them differently.

A Human Task is in progress, may become overdue, and is completed when its form is submitted. An automation or AI Agent is triggered, then completes or fails; a failure can retry or follow a failure route. HumanTaskIn progressOverdue?Completedform submittedAutomationAI AgentTriggeredCompletedFailedRetry orfailure route
Explore Human Tasks & Automation LifecycleShow less

Human Tasks

  • Are assigned to a person or a group, and can have a deadline.
  • Are in progress as soon as the workflow reaches them.
  • Can be flagged overdue while they're still incomplete.
  • Are completed when their form is submitted.

Automation and AI Agents

  • Run as soon as the workflow reaches them.
  • Either complete successfully or fail.
  • Can retry, and can follow a configured failure route.

A submitted approval, such as Yes or No, is business data. It doesn't decide whether the task succeeded: the task is complete either way. The value is what a later decision uses to route the workflow.

Desktop Automation Integration

Automation that runs on desktops or virtual machines takes part in the same workflow execution and tracking as every other step.

The workflow platform starts an automation with its inputs on a desktop or virtual machine runtime, and receives its status and results. Runtime assignment and scheduling was designed but not implemented. Workflowplatformruns · tracks · auditsstart, with inputsstatus and resultsDesktop or VMruntimeruns the automationRuntime assignmentdesigned, not implemented
Explore Desktop Automation IntegrationShow less

Some business work can only be automated on a desktop, particularly in legacy applications or systems without an API. The platform brings that automation into the workflow so it can be started, monitored, and recorded like any other step.

For banking and securities customers, security restrictions can limit the use of persistent connections such as WebSockets. The integration uses a trigger and polling mechanism to support these environments.

  • When a workflow reaches an automation step, an execution request is created with the necessary inputs.
  • A local scheduler polls for available requests and coordinates execution on a desktop or virtual machine runtime.
  • Execution status and results are returned to the workflow platform for continued processing and auditing.

Additional design work

I also designed and documented a mechanism for restricting which desktop or virtual machine runtimes could execute particular automations. This was covered in a PRD and technical design but had not been implemented when I left.

My Contribution

I led the product vision, UX, and technical design of the workflow platform. On the product side, this meant defining how people build and manage workflows, and the capabilities and interactions needed to support their work. The technical design covered workflow execution, data exchange, and the tracking and auditing of running instances.

I worked closely with the engineering team. This included defining the workflow engine, its underlying model, the frontend/backend contracts, and collaborating through implementation and release.

The interactive demonstrations on this page are my own reconstructions for this portfolio, using fictional data. They do not use the original product's code or reproduce its design exactly.

Three layers of the work: Product and UX, Product Architecture, and Implementation with engineering. Product & UXVision, experience, workflowsProduct ArchitectureWorkflow model, execution, dataImplementationWith engineering, through release