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.
/opshelp- List all available commands and usage instructions.
/opsrunWORKFLOW_NAME:verparams/opsrunTEAM_NAME/WORKFLOW_NAME:verparamsRun 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.
/opslist- List all workflows added to your team.
/opsstop- Stop the workflow that is currently running.
/opssearch- Find workflows on the CTO.ai registry.
/opsteam- Manage your CTO.ai Team.
/opsconfigs- Manage values in your Configs store.
/opssecrets- Manage values in your Secrets store.
Teams Commands
Here is a short summary of the subcommands available for managing your CTO.ai Team.
/opsteam:info- Display information about the CTO.ai Team associated with the active Slack channel.
/opsteam:switch- Change which CTO.ai Team is associated with the active Slack channel.
/opsteam:invite- Invite a user to your CTO.ai Team.
/opsteam: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.
/opsconfigs:list- Retrieve all items from your Configs store.
/opsconfigs:set- Set a value in your Configs store.
/opsconfigs: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.
/opssecrets:list- Retrieve all items from your Secrets store.
/opssecrets:set- Set a value in your Secrets store.
/opssecrets:delete- Remove a value from your Secrets store.