Turn a Slack conversation into project suggestions with your AI agent
Review a selected Slack thread, propose source-linked project changes and prepare a reply draft for human review.
Access
Service-agent enrollment: use an authorized connected user; no public service bundle is available for this recipe.
Inputs
- An authorized Passage project_id
- A user-selected Slack channel_id and thread_ts
- The requested analysis goal
Before you begin
- A connected user account with the required Ahoy and Passage tools
- The user’s own connected Slack account and access to the selected channel/thread
- Access to the destination project and a configured ahoy.review model route
- The public service-enrollment bundles do not grant these tools; use an authorized user connection
Steps
- Ask the user to select the source thread and destination project. Confirm their Slack connection and access.
- Import only the selected thread with ahoy_import_thread. Read the saved review and disclose any partial source coverage.
- When analysis is requested, call ahoy_analyze at the saved expected_revision, then reread ahoy_get_review.
- Present source-linked suggestions and the reply draft. Obtain separate approval before sharing project changes or sending any reply.
Tools
ahoy_import_threadahoy_get_reviewahoy_analyze
Example call
Illustrative JSON. Replace example IDs with authorized saved values before calling any tool.
{
"name": "ahoy_import_thread",
"arguments": {
"project_id": "11111111-1111-1111-1111-111111111111",
"channel_id": "C01234567",
"thread_ts": "1700000000.000001"
}
}Expected result
- A private saved review_id and revision
- A bounded snapshot of the selected thread
- Source-linked suggestions and a reply draft after separately requested analysis
Review and approval
Importing a thread does not authorize sharing it with project members. Applying changes and sending a reply each require separate explicit consent and current saved revisions. This recipe stops at suggestions.
Cost and limits
Thread analysis can incur model usage. Slack rate limits and tenant access rules apply. No continuous collection is enabled by this recipe.
Check current enrollment plans and availability. Existing account agreements and required integrations also apply.
Recovery
Check saved review state before retrying an import or analysis. Resolve revision conflicts by rereading. If source coverage is partial, disclose it and request any additional import explicitly.
Connect
Read enrollment instructions or connect an existing user account.