# 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

1. Ask the user to select the source thread and destination project. Confirm their Slack connection and access.
2. Import only the selected thread with ahoy_import_thread. Read the saved review and disclose any partial source coverage.
3. When analysis is requested, call ahoy_analyze at the saved expected_revision, then reread ahoy_get_review.
4. Present source-linked suggestions and the reply draft. Obtain separate approval before sharing project changes or sending any reply.

## Tools

- `ahoy_import_thread`
- `ahoy_get_review`
- `ahoy_analyze`

## Example call

Illustrative JSON. Replace example IDs with authorized saved values before calling any tool.

```json
{
  "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](https://robbclan.com/.well-known/agent-enrollment). 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](https://robbclan.com/agent-enrollment.md) or [connect an existing user account](https://robbclan.com/connect-your-agent).

[Browse all recipes](https://robbclan.com/agent-recipes) · [Read the structured catalog](https://robbclan.com/agent-capabilities.json)
