caplo channel
List channels and deploy agent releases to them.
caplo channelA channel is a website widget, WhatsApp number, Messenger or Instagram account, Outlook mailbox, or phone number, and serves one agent release. Channels are created in the console; deploy and rollback change the release they serve. New conversations get the new release, and open ones keep the release they started with. A channel is named by its ID, its name, or <kind>/<name>. Every other setting of a channel stays as it is, and its revision guards a deploy against a concurrent change in the console.
Examples
caplo channel listcaplo channel deploy Website --agent "Shop Concierge"Commands
caplo channel deploy
Section titled “caplo channel deploy”Point channels at an agent release, by default their agent’s newest release.
caplo channel deploy <channel>... [--agent <agent>[@<version>]] [flags]Points each channel at the release: –agent names the agent and, after @, its version (1.4.0) or release number; without a version it is the agent’s newest release that is not revoked. Without –agent each channel keeps its agent. A revoked release is never deployed. It asks for confirmation; –yes skips it.
Examples
caplo channel deploy Websitecaplo channel deploy Website "twilio/Support line" --agent "Shop Concierge@2.1.0" --yesFlags
| Flag | Value | Default | Description |
|---|---|---|---|
--agent |
string | agent name or ID, with @version or @number to pick a release | |
--yes, -y |
deploy without asking |
caplo channel get
Section titled “caplo channel get”Show a channel and the release it serves.
caplo channel get <channel> [flags]Examples
caplo channel get Websitecaplo channel get "twilio/Support line"Flags
| Flag | Value | Default | Description |
|---|---|---|---|
--output, -o |
string | table |
output format: table, json, or yaml |
caplo channel list
Section titled “caplo channel list”List the workspace’s channels and the release each serves.
caplo channel list [flags]Examples
caplo channel listcaplo channel list --agent "Shop Concierge" -o jsonFlags
| Flag | Value | Default | Description |
|---|---|---|---|
--agent |
string | only the channels serving this agent (name or ID) | |
--output, -o |
string | table |
output format: table, json, or yaml |
caplo channel rollback
Section titled “caplo channel rollback”Point channels back at their agent’s release before the one they serve.
caplo channel rollback <channel>... [flags]Points each channel at the newest release of its agent, older than the one it serves, that is not revoked. The release is served as it was published; publish again to move forward. It asks for confirmation; –yes skips it.
Examples
caplo channel rollback Website --yesFlags
| Flag | Value | Default | Description |
|---|---|---|---|
--yes, -y |
roll back without asking |