Commands and AI Agent Actions
Pullflow enables you to manage pull requests directly within Slack. You can use structured commands or ask the Pullflow AI agent to perform quick actions on pull requests.
Using structured commands
You can tag the Pullflow agent in PR threads to execute specific actions. Below is a list of supported commands:
Example command
Available commands
@Pullflow request review [from] @Jane
Request a code review from a specific team member.@Pullflow assign [to] @Janet
Assign a pull request to a team member.@Pullflow add labels wip, documentation
Add labels to the pull request.@Pullflow add review comment "message"
Add a comment to the review.@Pullflow request changes "message"
Request changes on the pull request with an optional message.@Pullflow remove labels wip, documentation
Remove labels from the pull request.@Pullflow approve "message"
Approve the pull request with an optional message.@Pullflow close
Close the pull request.@Pullflow reopen
Reopen a closed pull request.
Note: Terms in [square brackets] are optional.
AI Agent PR actions
You can interact with Pullflow AI using conversational language in Slack threads to perform quick PR actions.
For example:
This feature eliminates the need to memorize command syntax, allowing you to manage PRs seamlessly within Slack threads.
Note: Pullflow Enterprise users can opt out of Generative AI features which would disable conversational assistance. The commands syntax will still work.
Additional examples
- “@Pullflow request a review from @John”
- “@Pullflow approve this PR”
- “@Pullflow assign this to @Janet”
- “@Pullflow request changes: fix the linting errors”
- “@Pullflow add labels wip, documentation”
Slash commands in Slack
In addition to thread-specific commands, Pullflow provides Slash commands to configure and manage integrations directly in Slack channels.
Available Slash commands
Add the Pullflow bot to a channel
To invite the Pullflow bot to a specific Slack channel:
Update repo-to-channel configuration
To configure or update repositories linked to a Slack channel:
Get help
To view a list of available commands and their usage:
Example workflow
-
A user creates a pull request on GitHub.
-
In the connected Slack channel, the user mentions the Pullflow bot to request a review:
-
Alternatively, the user can use natural language:
-
Pullflow processes the command or natural language input and updates the PR status in GitHub.