Skip to content

Extraction Pipeline

FluidRAG can extract Slack conversations into your knowledge graph on a schedule. This makes historical Slack discussions available for RAG queries alongside your other ingested documents.

The pipeline runs in three stages:

  1. Thread Extraction — FluidRAG fetches threads from selected channels, identifies new and updated threads using delta logic (new parent messages or threads with new replies), and saves each thread as a markdown file with metadata (channel, timestamps, author, reply count).

  2. LLM Preprocessing — Each thread is processed by an LLM that generates a structured document with a topic title, concise summary, and detailed information extracted from the conversation. Non-viable threads (e.g., bot messages, empty threads) are filtered out.

  3. Knowledge Graph Ingestion — Processed documents are ingested into FalkorDB with entity extraction, embedding generation, and relationship creation, making them searchable via graph and vector search.

Extraction is manual-trigger-only by default — no schedule is set automatically. You must configure a schedule in the Admin UI (e.g., every 8 hours) or trigger it manually.

  1. Open the Admin UI at http://localhost/config-ui
  2. Navigate to the Connectors page
  3. Find the Slack connector card
  4. Toggle the switch on the card to Enabled
  5. Click Configure (gear icon) to open the connector settings modal
  1. In the connector settings modal, switch to the Source Config tab
  2. Click Discover Channels to see all channels the bot has access to
  3. Select the channels you want to extract from
  4. Save your selection
SettingDefaultDescription
Schedule(empty)Cron expression (e.g., 0 */8 * * * for every 8 hours)
Timeout3600 secondsMaximum extraction runtime
Max Retries3Retry attempts on transient errors
ActionHow
Trigger extraction nowConnectors → Slack card → Sync Now
Run a specific stageConnectors → Slack card → Sync Now dropdown → Extract Only / Preprocess Only / Ingest Only
Reset sync stateConnectors → Slack card → ConfigureReset Sync State — clears last sync timestamp so the next run extracts everything
Test connectionConnectors → Slack card → Test — verifies the bot token is valid

All endpoints require admin authentication.

EndpointMethodDescription
/api/connectors/slackGETGet Slack connector status and configuration
/api/connectors/slackPATCHEnable/disable Slack connector
/api/connectors/slack/live-queryPATCHToggle live query routing
/api/connectors/slack/schedulePATCHUpdate extraction schedule
/api/connectors/slack/scheduleDELETEClear extraction schedule
/api/connectors/slack/test-connectionPOSTVerify bot token is valid
/api/connectors/slack/extraction/triggerPOSTTrigger extraction (supports stages)
/api/connectors/slack/extraction/resetPOSTReset sync state for full resync
/api/connectors/slack/discoveryGETList all bot-accessible channels
/api/connectors/slack/source-configGET / PATCHRead or update selected channels
/api/extraction/statusGETGet extraction status for all sources