Skip to content

Conversation

@spastorelli
Copy link
Contributor

@spastorelli spastorelli commented Oct 30, 2025

This PR aims to add support for ingesting conversations via a command & shortcut in the Slack integration.

It does not yet add support for app mentions yet as this will be done in another PR.

Fixes RND-8529

@changeset-bot
Copy link

changeset-bot bot commented Oct 30, 2025

🦋 Changeset detected

Latest commit: 3fbc3ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@gitbook/integration-slack Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@linear
Copy link

linear bot commented Oct 30, 2025

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 30, 2025

Open in StackBlitz

bun add https://pkg.pr.new/GitbookIO/integrations/@gitbook/api@1030

commit: 3fbc3ae

@spastorelli spastorelli changed the title Add support for ingestion conversation to Slack integration Add support for ingesting conversation in Slack integration Oct 30, 2025
Copy link
Member

@SamyPesse SamyPesse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; Slack is a complex beast so most of my comment are about understanding how it works

@spastorelli spastorelli force-pushed the steeve/add-ingest-conv-slack-integration branch from eff71ae to 4efec1e Compare November 3, 2025 21:15
@spastorelli spastorelli requested a review from SamyPesse November 4, 2025 10:32
* Add training script and classifier

* Add gitignore

* Fix format

* Fix typing

* Use OpenAI model to infer intent instead of a classifier

* Improve prompts and return assitant response when asking for clarification

* Make API key env var Slack specific

* Set assistant status to provide the user with waiting message

* Add SLACK_OPENAI_API_KEY env var to turbo.json

* Remove log

* Additional perf improvement

* Add changeset

* Add SLACK_OPENAI_API_KEY env var to workflows

* review: use op for secrets and clean up missed files

* Re-add bun.lock after rebasing

* Add bun.lock
* Feature flag conversation ingestion

* Pull reflag secret from op

* Use app URL based on intengration installation instead of hard coded one
@spastorelli spastorelli merged commit 3cc38b8 into main Nov 7, 2025
13 checks passed
@spastorelli spastorelli deleted the steeve/add-ingest-conv-slack-integration branch November 7, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants