Edit, validate and publish deliberately
Change a workflow in its draft, review the saved result, and publish it when you are ready for future runs to use it.
Before you start
You need edit access to the project and publication access if you will release the change. Confirm the organization and resolve any required provider connections first.
Edit and review the draft
Read the complete current draft with
projects_get(version="draft").For integrations, discover provider/action schemas through
catalog_listand an authorized account throughconnections_list.Use
projects_editwithpublish=false. Choose a natural-language description for a broader change, or a direct patch for an exact edit. Do not send both.For a direct patch, first use
dry_run=true. Review the projected delta and any suggested fixes, then submit withdry_run=falseto save.Inspect corrections and unresolved connections, then call
projects_validate. Fix errors and review warnings.Once publication is intended, submit the reviewed edit with
publish=true. A publication-only structured call can usedirect_patch: []; verify the resultingpublishedandpublish_errorfields.Read the published version again before running it.
Natural-language draft edit:
{
"project_id": "<project-id>",
"description": "Update the existing summarizer to return five bullets and include an explicit unknown answer when the source lacks evidence. Preserve the existing inputs, outputs and integrations.",
"publish": false
}Supported direct operations are add_node, remove_node, update_node, add_edge and remove_edge. Removing a node also removes connected edges. New node IDs use <type>-<next-index>: if llm-0 exists, the next LLM is llm-1. Use actual node schemas and IDs from the current graph; do not invent generic node payloads.
Publishing does not itself run the workflow, but it changes the version future production runs use. Validation checks the draft and is not a substitute for reviewing the published version or testing real integration behavior.
Confirm the published result
Call projects_get(version="published") and verify the intended change. A successful edit is not proof of publication: check published and publish_error first. Run only after reviewing the published inputs and external actions.
Tool reference
Was this helpful?

