I built a Read.ai connector for Cognee. Importing once wasn’t enough
Built for WeMakeDevs × Cognee Mergetober. A meeting report says the launch is on Friday. Someone corrects it to Monday. Your assistant still retrieves Friday. Nothing crashed. The import worked. The copy is just out of date. That is the problem behind the Read.ai connector I built for Cognee: importing meeting reports is useful, but those reports do not stop changing once they reach your…
A developer built a Read.ai connector for Cognee. Importing meeting reports once was not sufficient because those reports continuously change. The connector allows users to choose meeting IDs or date ranges, and specifies whether to include summaries, transcripts, and metrics for each report. The imported reports are stored as separate documents, preserving context such as participant names, timestamps, and the original report link.
The connector handles the workflow through the sync_read_ai() function, which manages ingestion, recovery, Cognee processing, and cleanup verification. Users can search the selected dataset after the import. The connector uses OAuth 2.1 for authentication, and handles token refresh to prevent concurrent runs from refreshing the same credential simultaneously.
Unlike other synchronization methods, this connector rechecks selected reports, renders their content consistently, and compares hashes. This ensures that only new or changed content is sent downstream, avoiding repeated extraction and embedding work for unchanged documents. However, this method still requires re-reading the selected reports from Read.ai.
The connector successfully imported two fictional reports, a launch plan and a support handover, which became searchable documents. When the launch report was changed from Friday to Monday, the document's references and chunk vectors were updated, while the old document's references were removed. The removed report and its chunks were deleted from the storage.
The connector also demonstrated handling errors, such as a simulated 403 permission failure, which left the sync incomplete and preserved the previous corpus and successful checkpoint. The implementation flow includes five phases: updates, reuse, removal, and failure handling, but does not cover the quality of a real model's answers.
While the recent local verification showed no failures or errors, the connector's implementation still requires work, such as verifying live Read.ai OAuth, handling field availability, and addressing deletion and permission transitions. The successful checkpoint must occur after ingestion, Cognee's processing step, and verification.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.