Commands for CTO.ai Slack App
When you connect your CTO.ai Team to a Slack channel using our Slack app, it becomes possible to interact with your CTO.ai workflows conversationally.
Name
/ops
- run CTO.ai workflows from Slack messages
Synopsis
/ops
CMD [arguments]
Description
/ops
is a Slack command that allows you to run CTO.ai workflows from Slack messages.
Usage
To use a command defined in this manual, navigate to a Slack channel which has been associated with your CTO.ai team and type the command in the message box of that Slack channel.
Commands Summary
Here is a short summary of the subcommands available through our Slack /ops
command.
/ops
help
- List all available commands and usage instructions.
/ops
run
WORKFLOW_NAME
:ver
params
/ops
run
TEAM_NAME
/WORKFLOW_NAME:ver
params
Run a workflow from your team or the public registry.
To run a workflow from CTO.ai Team associated with the active channel, specify the workflow with the
WORKFLOW_NAME
./ops run my-workflow
/ops run my-workflow:0.1.0
For workflows that were added to your team or are available on the public registry, the TEAM_NAME should be added before the workflow name, followed by a slash.
/ops run cto.ai/tour
/ops run cto.ai/tour:0.2.7
If your workflow is expecting parameters, you can also send them when using the run command. Parameters are defined by you, a best practice is using your readme to help signal you user how the order and format of the param.
/ops
list
- List all workflows added to your team.
/ops
stop
- Stop the workflow that is currently running.
/ops
search
- Find workflows on the CTO.ai registry.
/ops
team
- Manage your CTO.ai Team.
/ops
configs
- Manage values in your Configs store.
/ops
secrets
- Manage values in your Secrets store.
Teams Commands
Here is a short summary of the subcommands available for managing your CTO.ai Team.
/ops
team:info
- Display information about the CTO.ai Team associated with the active Slack channel.
/ops
team:switch
- Change which CTO.ai Team is associated with the active Slack channel.
/ops
team:invite
- Invite a user to your CTO.ai Team.
/ops
team:remove
- Remove a user from your CTO.ai Team.
Configs Commands
Here is a short summary of the subcommands available for managing your CTO.ai Configs store.
/ops
configs:list
- Retrieve all items from your Configs store.
/ops
configs:set
- Set a value in your Configs store.
/ops
configs:delete
- Remove a value from your Configs store.
Secrets Commands
Here is a short summary of the subcommands available for managing your CTO.ai Secrets store.
/ops
secrets:list
- Retrieve all items from your Secrets store.
/ops
secrets:set
- Set a value in your Secrets store.
/ops
secrets:delete
- Remove a value from your Secrets store.