I connected Contentful to Cognee. Importing content was the easy part.
Описание и применение
Подключение Contentful к Cognee обеспечивает синхронизацию опубликованного контента, обработку обновлений и удалений, изоляцию источников и восстановление после сбоев.
Задача
Keeping AI memory in sync with a Contentful source when entries are updated, deleted, or when processing fails.
Результат
The connector achieved 94 passing tests locally, covering synchronization, deletion, source isolation, and recovery across multiple Python versions and storage backends.
Рабочий процесс
- Connect to Contentful via Delivery API token
- Import entries, asset metadata, and content models as Cognee documents
- Synchronize changes using the Sync API and checkpoint
- Handle deletion events and convert them to hard-delete markers
- Maintain source isolation with source_id and separate credentials
- Fail on incomplete pagination to avoid data loss
- Reconcile unfinished changes using Cognee’s dlt staging
Доказательства
The connector lives in cognee-community/packages/connector/contentful/
The first run imports the available content and saves a checkpoint. Later runs use that checkpoint to retrieve changes.
The October 8 local verification report recorded 94 passing tests.
The implementation is available in my Contentful connector branch.
- Дата записи: 2026-10-08T17:40:56.308Z