> For the complete documentation index, see llms.txt.
Skip to main content

Check out Port for yourself ➜ 

Manage a workflow

Creating a workflow is one part of the job. Deciding who can change it later, and who can run it, is the other. This page walks through both, plus deleting a workflow.

For the concepts behind each step, see workflow catalog and ownership for building permissions, and workflow execute permissions for who can run a workflow.

Create a workflow

Ask Port AI in the platform, or your coding agent over the Port MCP server. Both work the same way: describe what you want built. For example:

"Build a workflow that runs a security scan on a service when I trigger it from its self-service page."

Either one creates the workflow, wires the trigger and any downstream nodes, and shows you the result before you publish it.

Set who can build it

Every workflow is an entity on the _workflow system blueprint, so the same team ownership and dynamic policies that govern any other blueprint decide who can read, edit, or delete it. See workflow catalog and ownership for the full model. This example lets the owning team edit its own workflows, and lets everyone else read them:

Ask Port AI in the platform, or your coding agent over the Port MCP server. Both work the same way: describe the rule you want. For example:

"Let only the owning team update workflow entities. Everyone can read them."

Either one configures the permission for you.

ownedByTeam only works once a workflow has an owning team. Assign one from the workflow catalog page, open the workflow entity and set its Owning Teams field, or update it directly with PATCH on /v1/blueprints/_workflow/entities/security_scan:

{
"team": ["platform-team"]
}

Set who can run it

This is a separate layer, set on the trigger node itself, and controls what shows up on a user's self-service page. Unlike blueprint permissions, there's no visual policy builder here, you edit the trigger's permissions block directly, whether from the UI or the API. See workflow execute permissions for the full syntax reference. This example lets only the owning team run the workflow:

Ask Port AI in the platform, or your coding agent over the Port MCP server. Both work the same way: describe who should be able to run it. For example:

"Let only the platform-team run the security_scan workflow."

Either one configures the trigger's permissions for you.

A team can run a workflow without any ability to edit it, and vice versa. Combine the two however your org needs.

Delete a workflow

Deleting a workflow removes it and its runs permanently. It requires unregister permission on the _workflow blueprint, the same team ownership or policy model as any other delete.

Open the workflow in the workflow builder, open its settings, and select Delete.

Where to go next