Flow folders
Flow folders organize flows into a hierarchy in Alteryx One. The ayx one flows folders branch lets you manage that hierarchy — creating, renaming, and deleting folders, and listing which flows live inside each one.
Mutating commands are dry-run by default — add --apply to commit.
Quick reference
Section titled “Quick reference”| Command | What it does |
|---|---|
ayx one flows folders list |
List all folders |
ayx one flows folders count |
Return total folder count |
ayx one flows folders detail |
Fetch a single folder’s metadata |
ayx one flows folders create |
Create a new folder |
ayx one flows folders update |
Rename or update a folder |
ayx one flows folders delete |
Delete a folder |
ayx one flows folders flows list |
List flows inside a folder |
ayx one flows folders flows count |
Count flows inside a folder |
List and inspect
Section titled “List and inspect”List folders
Section titled “List folders”ayx one flows folders listayx one flows folders list --profile <name>ayx one flows folders list --limit 50ayx one flows folders list --offset 100--limit and --offset control pagination for this command.
Count folders
Section titled “Count folders”ayx one flows folders countayx one flows folders count --profile <name>Folder detail
Section titled “Folder detail”ayx one flows folders detail <folder-id>ayx one flows folders detail <folder-id> --profile <name>Returns the full metadata record for a single folder.
List flows in a folder
Section titled “List flows in a folder”ayx one flows folders flows list <folder-id>ayx one flows folders flows list <folder-id> --limit 50 --offset 0Count flows in a folder
Section titled “Count flows in a folder”ayx one flows folders flows count <folder-id>Create and update
Section titled “Create and update”# Previewayx one flows folders create --body '<json>'
# Createayx one flows folders create --body '<json>' --apply
# Update (rename, re-parent, etc.)ayx one flows folders update <folder-id> --body '<json>' --applyBoth commands accept a JSON body specifying the folder attributes.
Delete
Section titled “Delete”# Dry-runayx one flows folders delete <folder-id>
# Commitayx one flows folders delete <folder-id> --apply
# Non-interactiveayx one flows folders delete <folder-id> --apply --yesDeleting a folder that still contains flows will be rejected by the server. Move or delete the flows first.
Automation patterns
Section titled “Automation patterns”List all folders as JSON
Section titled “List all folders as JSON”ayx --output json one flows folders list \ | jq '.data[]'Find a folder by name
Section titled “Find a folder by name”ayx --output json one flows folders list \ | jq -r '.data[] | select(.name == "Production") | .id'List flows in a folder by name
Section titled “List flows in a folder by name”folder_id=$(ayx --output json one flows folders list \ | jq -r '.data[] | select(.name == "Production") | .id')
ayx --output json one flows folders flows list "$folder_id" \ | jq '.data[]'