When employees report that an internal AI assistant is quoting an expired 2023 travel policy, citing obsolete API endpoints, or giving customers discontinued contract terms, IT and knowledge management leads usually rush to hit "Resync." That impulse is understandable. It is also usually a mistake.
At 365Finds, we look at enterprise knowledge infrastructure through an operational lens: the problem is rarely vector embedding capacity. The real breakdown is almost always knowledge lifecycle hygiene. In Dust, connecting Google Drive, Notion, GitHub, and Slack to custom assistants turns the workspace into a shared cognitive engine. But if your team treats Dust as a static storage bin, you quickly run straight into two opposing traps: API rate limit choking from aggressive re-scraping on one end, and zombie knowledge hallucination from silent sync drift on the other.
To build a reliable dynamic knowledge pipeline, enterprise knowledge teams must master Dust’s native connector cadence, establish second-level webhook hot-update pipelines for mission-critical documents, and implement an automated stale document purge mechanism.
1. Under the Hood: Native Connector Sync Lifecycles and Latency Realities
Dust does not sync all external data sources the same way. The connectors microservice relies on Temporal workflows to orchestrate distributed jobs, manage retries, and handle rate-limiting backoff. In our analysis at 365Finds, enterprise sources fall into two completely distinct synchronization paradigms: event-pushed vs. delta-polled.
+-----------------------------------------------------------------------------------+
| Enterprise Knowledge Sources |
+--------------------------+------------------------------+-------------------------+
| |
[Event Push] | [Delta Polling] | [Webhook Hot-Path]
GitHub / Slack | Google Drive / Notion | CI/CD & Custom CMS Docs
| | | | |
v | v | v
Immediate Webhooks | Changes API / Edit Tokens | Dust Document API
(Seconds Latency) | (5 to 60 Min Latency) | (Immediate Embeddings)
| | | | |
+---------------+--------------+---------------+------------+
|
v
+------------------------------+
| Dust Temporal Workflows |
+------------------------------+
|
v
+------------------------------+
| Chunking & Vector Indexing |
+------------------------------+
The Fast Lane: GitHub and Slack (Event Push)
- GitHub: Dust connects via GitHub App webhooks. Code pushes, pull request updates, issues, and discussions stream into Dust's connector workers within seconds.
- Slack: Message updates and thread conversations flow through Slack Events API webhooks almost instantaneously.
The Polling Reality: Google Drive and Notion (Delta Polling)
- Google Drive: Dust uses the Google Drive Changes API (
changes.listusing change tokens). It tracks modifications, renames, and removals on authorized folders. Sync loops run automatically every few minutes. However, initial synchronizations for large corporate drives (exceeding 50,000 files) can easily take 24 to 72 hours. Moreover, native Google Docs, Google Sheets (up to 50,000 rows per sheet), and PDFs are indexed, but Dust ignores files with more than 2MB of extracted raw text, and native Microsoft Excel files (.xlsx) will not sync until converted to Google Sheets. - Notion: This is the most common friction point in enterprise environments. The Notion API enforces a strict rate limit averaging 3 requests per second per integration token. Dust polls Notion pages and databases by tracking
last_edited_time. For edits on pages nested within an already synced top page, updates register within minutes. But if your team introduces a brand new top page, the refresh cycle runs once daily. Furthermore, if a page loses inherited permissions from its parent, it silently drops into Dust's "Orphaned Resources" folder or stops syncing entirely.
Sync Behavior Across Primary Enterprise Connectors
| Connector | Mechanism | Nominal Sync Latency | Deletion / Archive Handling | Critical Constraint |
|---|---|---|---|---|
| Google Drive | Delta Polling via Changes API | 5–15 minutes | Handled during delta sync; trashed files flagged removed: true | 2MB extracted text limit; native Excel files skipped unless converted to GSheets |
| Notion | Delta Polling via last_edited_time | Minutes (child pages); up to 24h (new top pages) | Reflected on sync loop; unlinked permissions drop to Orphaned Resources | Strict 3 req/sec API rate limit; multi-source databases unsupported |
| GitHub | Push Webhooks (GitHub App) | Seconds to <1 minute | Commits, branch deletions, and PR status handled automatically | Only tracks monitored branches and repos; binary blobs skipped |
| Slack | Push Events API | Near real-time (<30 seconds) | Edited/deleted messages updated via webhook events | Public/private channel authorization scopes strictly bounded |
| Web Crawler | Periodic Site Crawling | Configurable schedule (hours to days) | Replaces or prunes missing pages during scheduled recrawl | Subject to robots.txt, dynamic JS execution limits, and crawl depth |
At 365Finds, we strongly advise knowledge teams against spamming manual sync requests on Notion or Google Drive when documents are updated. Doing so resets polling cursors, exhausts third-party API quotas, and creates Temporal queue backlog that delays updates across the entire workspace.
2. Second-Level Freshness: Configuring Webhook Triggers and Direct API Push
When an incident response team updates an emergency runbook, or sales leadership changes pricing tiers on Monday morning, waiting 15 to 45 minutes for connector polling is unacceptable. If an employee queries an assistant during that window, the model responds with obsolete parameters.
Enterprise teams solve this latency gap in Dust through two targeted hot-update paths: Agent Webhook Triggers and Direct Data Source API Upserts.
Strategy A: Custom Webhook Triggers for Autonomous Workflows
Dust allows administrators to register webhook endpoints that trigger autonomous agent executions when external systems fire HTTP events.
- Register the Webhook Source:
Navigate to Spaces > Triggers > Add source. Choose Custom Webhook. Dust generates a dedicated intake URL:
https://dust.tt/api/v1/w/{wId}/triggers/hooks/{webhookSourceId} - Enforce Cryptographic Signatures:
Never leave an enterprise webhook open to anonymous POST requests. Dust supports
sha1,sha256, andsha512HMAC signatures. Configure your external service (e.g., your CMS, GitHub Actions, or internal knowledge platform) to send anX-Hub-Signature-256header calculated with a shared secret. Dust will reject any unverified payload immediately. - Filter Payloads with Strict Expressions:
By default, webhook triggers run at most 42 times per 24 hours on a rolling sliding window. Incoming requests arriving after that ceiling is hit are dropped, not queued. To prevent burning through this allowance on irrelevant edits, configure rule expressions using dot-notation JSON filtering:
(and (eq "event" "document_published") (eq "metadata.department" "pricing") (eq "metadata.environment" "production") ) - Trigger Agent Action: When fired, Dust spins up an isolated conversation passing the webhook payload into the agent's context, allowing specialized maintenance agents to cross-validate or notify operational channels.
+-----------------------------------------------------------------------------------+
| High-Velocity Knowledge Pipeline |
+-----------------------------------------------------------------------------------+
|
[Core Policy / Pricing Updated in Source CMS]
|
+----------------------+----------------------+
| |
v v
[Custom Webhook Trigger] [Dust Document API Upsert]
/triggers/hooks/{webhookSourceId} /data_sources/{dsId}/documents/{docId}
| |
HMAC SHA-256 Verified Replaces Document Chunks
| |
Expression Filter: status=published Generates Fresh Vector Embeddings
| |
Spawns Dedicated Agent Run Available for RAG in Seconds
Strategy B: Direct Document API Upserts (The 365Finds Recommended Hot-Path)
For static, high-stakes documents, relying on connector polling is the wrong architectural design. Instead, configure a Custom Data Source in Dust and push updates directly from your CI/CD pipeline or document management system via the Dust REST API.
When you issue a POST request to Dust's document endpoint, Dust immediately handles preprocessing, chunking, and vector indexing:
curl --request POST \
--url https://dust.tt/api/v1/w/${DUST_WORKSPACE_ID}/spaces/${SPACE_ID}/data_sources/${DATA_SOURCE_ID}/documents/${DOCUMENT_ID} \
--header "Authorization: Bearer ${DUST_API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"text": "# 2026 Enterprise Pricing & Discount Matrix\n\nEffective November 2026...",
"source_url": "https://wiki.corp.internal/pricing/2026-v4",
"tags": [
"dept:finance",
"tier:confidential",
"status:active",
"version:2026.4"
]
}'
By upserting with a persistent DOCUMENT_ID, Dust overwrites previous content atomically. The old chunks are invalidated, and new vector embeddings are queryable by your assistants in seconds.
3. Eliminating Zombie Knowledge: Automated Stale Document Purges
The most insidious failure mode in enterprise Retrieval-Augmented Generation (RAG) is not an assistant failing to find an answer; it is an assistant finding two conflicting answers and picking the obsolete one because it has a closer lexical match to the user's prompt.
If a product manager archives "Project Apollo Spec v1" and publishes "Project Apollo Spec v2", both chunks often remain in the vector index. When an engineer asks, "What is Apollo's database sharding strategy?", the old document might rank higher simply because it repeated the keyword "sharding" five more times.
365Finds recommends establishing a strict, tripartite stale document governance pipeline.
1. Connector Hygiene and Disconnection Protocols
For native connectors (Google Drive and Notion), document removals and trashing are reflected automatically on the subsequent sync cycle. But operational mishaps routinely create ghost documents:
- Never disconnect apps from third-party dashboards first: If an administrator revokes the Dust integration token from inside Notion or Google Workspace directly without first detaching the connection in Dust > Spaces > Connections > Manage, Dust loses access to the change stream. The data source freezes in its last-synced state, leaving all deleted or relocated documents stranded in the vector index.
- Dedicated Service User: Always bind connectors to a dedicated system user (e.g.,
dust-admin@yourdomain.com). If an individual employee connects Drive using their personal Google account and later leaves the company, Google deactivates the account, the sync drops silently, and the assistant serves decaying knowledge.
2. Automated Tombstone Purge Pipeline for Custom Data Sources
For Custom Data Sources managed via API, deletions in your primary system of record do not propagate to Dust unless explicitly ordered.
We advocate running a weekly reconciliation script that pulls the active document inventory from Dust, compares it against your enterprise Single Source of Truth (SSOT), and purges obsolete documents via the DELETE API:
import os
import requests
DUST_WORKSPACE_ID = os.environ["DUST_WORKSPACE_ID"]
SPACE_ID = os.environ["DUST_SPACE_ID"]
DATA_SOURCE_ID = os.environ["DUST_DATA_SOURCE_ID"]
API_KEY = os.environ["DUST_API_KEY"]
BASE_URL = f"https://dust.tt/api/v1/w/{DUST_WORKSPACE_ID}/spaces/{SPACE_ID}/data_sources/{DATA_SOURCE_ID}"
HEADERS = {
"Authorization": f"Bearer {API_KEY}",
"Accept": "application/json"
}
def get_all_dust_documents():
"""Paginate through all documents currently indexed in Dust."""
documents = []
limit = 100
offset = 0
while True:
res = requests.get(
f"{BASE_URL}/documents",
headers=HEADERS,
params={"limit": limit, "offset": offset}
)
res.raise_for_status()
batch = res.json().get("documents", [])
if not batch:
break
documents.extend(batch)
offset += limit
return documents
def purge_stale_documents(active_enterprise_doc_ids):
"""Purge any Dust document that no longer exists in corporate SSOT."""
dust_docs = get_all_dust_documents()
for doc in dust_docs:
doc_id = doc["document_id"]
if doc_id not in active_enterprise_doc_ids:
print(f"Purging stale document: {doc_id}")
delete_res = requests.delete(
f"{BASE_URL}/documents/{doc_id}",
headers=HEADERS
)
delete_res.raise_for_status()
# Example: active IDs from production CMS / Git repository
production_active_ids = {"policy-travel-2026", "sop-security-incident-v3"}
purge_stale_documents(production_active_ids)
Calling DELETE on a document removes the document entity, its hierarchical sections, and every associated embedding chunk immediately from the search index.
3. Metadata Filtering and In-Prompt Freshness Fencing
Even with automated purges, there will always be brief transitional windows where deprecated material exists. You can prevent assistants from retrieving deprecated material by establishing tagging conventions:
- Use Dust tags during document ingestion:
["status:active", "effective_year:2026", "policy_tier:tier1"]. - In Notion, Dust automatically extracts database page properties as tags, including
author:Firstname LastNameandlastEditor:Firstname LastName. - In the Dust Agent Builder, configure the Semantic Search tool to restrict data source searches with tag filters, or instruct the agent's system prompt:
"When answering policy or architectural questions, always verify that the retrieved source carries the tag 'status:active'. If an older document without an active tag contradicts a newer document, prioritize the document with the most recent lastEditor or effective date timestamp."
4. Architectural Trade-offs: Choosing the Right Ingestion Path
No enterprise should route all company documentation through a single sync mechanism. 365Finds recommends segmenting your corporate corpus across three distinct tiers:
+-----------------------------------------------------------------------------------+
| Corp Knowledge Segmentation Matrix |
+--------------------------+------------------------------+-------------------------+
| Corpus Tier | Recommended Channel | Governance Cadence |
+--------------------------+------------------------------+-------------------------+
| Broad Reference Corpus | Native Connectors | Automated Delta Sync |
| (General Notion & Drive) | (Google Drive, Notion) | (5 to 30 min latency) |
+--------------------------+------------------------------+-------------------------+
| Event-Driven Workflows | Webhook Triggers | Event Execution |
| (Linear, Zendesk, PRs) | (Spaces > Triggers) | (Capped at 42 runs/24h) |
+--------------------------+------------------------------+-------------------------+
| Zero-Tolerance Truth | Custom Data Sources | CI/CD Direct Upsert |
| (Pricing, Security SOPs) | (Dust REST API Push) | + Weekly Reconcile Purge|
+--------------------------+------------------------------+-------------------------+
365Finds Institutional Judgment
- Do not rely on Notion native sync for volatile operational truth. Notion's strict API rate limits and complex permission trees make it ideal for company handbooks, but hazardous for fast-moving operational specs.
- Do not configure Webhook Triggers as a high-frequency pipe without payload filtering. A webhook source firing on every minor commit or ticket comment will rapidly hit Dust’s 42-run daily limit, leaving subsequent mission-critical events dropped on the floor.
- Treat Stale Purges as mandatory infrastructure, not an afterthought. Over 70% of reported enterprise assistant errors stem not from model reasoning defects, but from stale documents lurking unpurged in vector stores.
When a document reaches its end-of-life in your corporate repository, the DELETE API call to Dust is just as crucial as the POST call was on the day it was created.
References
- Dust Docs - Multiplayer AI
- Overview - Dust Data Sources
- Google Drive Connection - Dust Docs
- Notion Connection - Dust Docs
- Webhooks - Dust Triggers
- Rate Limiting - Dust Webhook Triggers
- Upsert a document in a data source - Dust API
- Delete a document from a data source - Dust API
- Get documents - Dust API
- Dust Platform