px0 init ships no workflows at all. That is the point - you describe what you want in plain English and get a working file back, rather than adapting a template someone else wrote.
- Interview - one question at a time, until the request is concrete.
- Clarify - what is still genuinely ambiguous about the request?
- Discover - search Composio’s catalogue for the tools it needs.
- Confirm - you approve the tool set before anything is authorized.
- Plan - write the workflow against exactly those tools.
1. The interview
px0 workflows new opens an interview, one question at a time, until px0 has what a workflow file must pin down:
edit rewrites it, n cancels, anything else builds.
2. It asks what is still ambiguous
--no-clarify skips the pass entirely and builds from the description as written.
Whatever you answer is carried into every later pass, so the plan reflects your answers rather than re-guessing them.
2. It searches Composio’s catalogue
GMAIL_GET_EMAIL, for instance - so it describes the action and px0 does the lookup. Nothing is invented along the way: a slug that does not appear in the search results is discarded.
This is why a generated workflow gets the tool that actually fits rather than the nearest of px0’s ten curated ones. Composio’s catalogue runs to thousands of tools, and px0 workflows new searches all of it.
--no-discover skips the search and restricts the plan to the curated tools.
3. You confirm the tools
The selection pass is told to prefer the fewest tools, prefer reads over writes, include a write only when the request explicitly asks to change something, and never include a destructive tool unless you asked to delete something.
Confirmed tools are recorded in the store, so the plan, its validation, and every future run resolve them without another catalogue lookup. A workflow keeps working offline and unchanged after it is written.
4. It authorizes what the plan needs
n and nothing is prepared - the first run that needs the app will offer a link instead. Anything already authorized is skipped:
5. It writes the plan
inputs, which run before the prompt to gather context. Write tools land in tools, which the model calls during the run. px0 enforces that split: a write tool in inputs is a validation error, because inputs run unconditionally and a workflow should not post something just by starting.
Because this workflow carries a schedule, its output goes to a file. A scheduled run has no terminal to print to, so px0 treats schedule-plus-stdout as a validation error rather than losing the output.
Then two checks print:
- Feasibility. A tool that does not exist, an input with no tool, an invalid cron expression, an output path that escapes the store. These stop the build, and nothing is saved.
- Write access. The write tools this workflow would be granted, named again now that the plan is concrete.
6. Confirm and name it
--yes skips every prompt in this flow - clarifying questions, tool confirmation, authorization, and this one - and --id <id> names it directly.
What you get
commit-messages.md; a workflow about haikus gets none.
The file itself is plain Markdown, and every field in it is documented in Workflow files.
Guidelines it offers to write for you
Partway through a build, px0 may stop and say something like:## sections, shows you the draft, and takes again if you want another pass. What gets saved is an ordinary guideline file: it has version history from v1, so px0 guidelines log works on it, and it is added to this workflow’s guidelines: list - which means its text is inlined into every run from now on.
This is the only way a guideline gets created - there is no px0 guidelines new. Asking someone to compose a convention from a blank page is the step that stopped guidelines from being written at all, so the build drafts a defensible version and leaves editing to you.
Nothing is proposed for a workflow that already says what to do, and nothing on a topic you already have a guideline for. --yes skips the step entirely, since there is no sensible default for “what is your commit message convention”.
Revise a workflow
Flags for revisions
Whilepx0 workflows new relies entirely on the interactive interview, px0 workflows edit supports these flags to skip prompts:
Next steps
Run a workflow
Dry runs, inputs, stdin, and what failure looks like.
Workflow files
Every frontmatter field, and the four kinds of input.
Connections
What happens when a consent is pending or lapses.
Schedules
Make
trigger.schedule actually fire.
