Automate a repeatable process
When the steps are known ahead of time, a workflow is a better fit than an agent. You describe the process and sample input in plain language; Phenoml compiles it into typed steps.
Graph steps
Steps include searches, creates, decision nodes, and sub-workflows. Runtime placeholders pass data between steps.
Preview runs
Set preview: true to dry-run creates and inspect the
plan before anything touches real data.
const run = await client.workflows.execute(
"7a8b9c0d-1234-5678-abcd-ef9876543210",
{
input_data: {
patient_first_name: "Mary",
patient_last_name: "Johnson",
diagnosis_code: "M79.3",
},
preview: true,
},
);
See the Workflow reference.