Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Inside My MergeTober Contribution: Integrating Salesforce with Cognee

说明与用途

MergeTober 贡献为 Cognee 添加了 Salesforce 连接器,支持 OAuth 认证、账户、商机、案例和聊天记录的摄取、基于 LastModifiedDate 的增量同步以及删除处理。所有 9 个单元测试已通过,但尚未在真实 Salesforce 环境中验证。

问题

Integrating Salesforce CRM data into Cognee’s memory layer so AI applications can retrieve relevant business context.

结果

The connector was fully unit‑tested (9/9 tests passed) and is ready for review. It enables Cognee to ingest and sync Salesforce data, supporting real‑world AI knowledge workflows.

工作流

  • Create a Salesforce Connected App and obtain OAuth credentials
  • Configure the connector with client ID, secret and redirect URI
  • Run the connector to authenticate and fetch initial data (accounts, opportunities, cases, chatter)
  • Execute incremental sync by querying records modified since the last sync
  • Detect and propagate deletions to keep Cognee’s knowledge up‑to‑date
  • Use the ingested data as context in downstream AI applications
  • Run unit tests to verify functionality

证据

I tested the connector locally using mocked Salesforce responses and verified that 9 out of 9 mocked unit tests passed.

来源

The goal of my connector is to support: Authentication: OAuth 2.0 with a Salesforce Connected App. Data ingestion: Accounts, Opportunities, Cases, and Chatter records. Incremental synchronization: SOQL queries using LastModifiedDate. Deletion handling: Detect deleted source records and support downstream cleanup.

来源

  • 记录日期: 2026-10-13T05:41:13.606Z