const workflow = await api.workflows.create({
name: "Digest",
trigger: { type: "manual" },
steps: [ … ],
});
await workflow.run({ input: { since: "2026-10-01" } });workflow = api.workflows.create({
"name": "Digest",
"trigger": {"type": "manual"},
"steps": steps,
})
workflow.run(input={"since": "2026-10-01"})You decide the input
Whatever you pass to run() feeds {{input.…}}. There is no shape imposed — which makes manual the easiest trigger to test a chain with.
Who calls it
- Your own code.
- An agent, through its workflow tool.
- A person, from an interface you built.
Build manual, switch later
A schedule makes a chain harder to debug
Developing against a cron trigger means waiting for it. Build with manual, run it until the outputs are right, then change the trigger with update() — the steps do not change.
The approval rule applies all the same
A manual run is still a run with nobody watching once it starts. A step that sends, publishes or writes DNS needs a human step upstream whatever the trigger.