Skip to main content
Creates a folder to group customer flows, at the top level or inside another folder with parentId. Folders nest up to 5 levels deep. File a flow into it by sending its folderId when you create or update the flow. Names are unique within their parent folder, ignoring case. Customer flows were previously called scenarios.
Calls POST /v1/customer-flow/folder

Options

string
required
The folder name. Must be unique within its parent folder, ignoring case.
string
The color the folder is shown with in the app. Folders share the palette labels use. Defaults to GREY. One of GREEN, RED, ORANGE, PURPLE, GREY, BLUE, PEACH, TEAL, INDIGO, AMBER, ROSE, CYAN
string
What belongs in this folder.
string
Create the folder inside this folder. Omit it, or send null, for a top-level folder.

Example

Every command also takes the global options and sets one of the exit codes.