Launch a workflow when a repository comment or Jira issue comment includes a custom slash command such as /review.
/review
) in a comment. The flow will clone the repository and open an agent session to review the pull request or handle the Jira issue.
Open the Use Cases page
Use Cases
and then select Create Use Case
.Name the Use Case
PR Review via Slash Command
or Jira Issue Review via Slash Command
.Edit the default trigger
Select slash_command
Slash Command
from the trigger type selector.Enter the command text
Command
field, type review
. Do not include the leading slash character.Decide if a mention is required (optional)
Require Mention
if the command should only trigger when it follows @overcut
. Example trigger text: @overcut /review
.Note about execution timing
slash_command
trigger type, the workflow will only run when someone explicitly types the command. This creates a completely manual workflow that gives users full control over when it executes.
Use cases:
/review
commands/analyze
commandsComment with the slash command
/review
(or @overcut /review
if a mention is required).Jira: In the issue comments, type /review
(or @overcut /review
if a mention is required).Watch the Execution
Executions
page. The agent posts its review as a comment once finished./command
or @overcut /command
. Any platform that supports comments or text content can trigger slash command workflows.