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

Connecting Apollo CRM data to Cognee for AI agent querying

说明与用途

将 Apollo CRM 数据连接到 Cognee,使 AI 代理能够通过知识图谱回答关于联系人和公司的问题。连接器处理更改和删除,并遵守 Apollo 的速率限制。

问题

Enable an AI agent to answer questions about Apollo CRM data by providing the agent with a memory of the data.

结果

The connector successfully ingested 7 documents from a test Apollo account, correctly skipped unchanged records, updated a modified contact, and removed deleted contacts and companies.

工作流

  • Obtain an Apollo API key (paid plan or trial).
  • Obtain an AI model provider API key and set it as LLM_API_KEY in a .env file.
  • Clone the cognee‑community repo and navigate to packages/connector/apollo.
  • Run uv sync export APOLLO_API_KEY="your-apollo-key" to install dependencies.
  • Execute uv run python examples/example.py to perform a sync.
  • In the example, call apollo_source(api_key, resource_name="apollo_crm_main") and then cognee.remember(source, dataset_name="apollo_crm", primary_key="id", write_disposition="merge", max_rows_per_table=0) to ingest data.
  • The connector reads contacts, companies, and sequences, skips sensitive fields, and uses fingerprints to detect changes.
  • On subsequent runs it merges updates and deletes records that are confirmed deleted by Apollo.
  • The connector respects Apollo rate limits and stops before exceeding them, resuming from the last processed record next run.

证据

A connector is the piece of code that moves data from a tool like Apollo into cognee.

来源

You’ll need an Apollo API key, which means a paid plan or a trial, because free plans don’t have API access to contact and account search.

来源

The connector reads your contacts, your company accounts and your sequences. It leaves emails, phone numbers and social profiles out on purpose, and it doesn’t use any of the Apollo endpoints that cost credits.

来源

I tested it on a real Apollo trial account with records I made for the purpose: two companies, four contacts and one sequence.

来源

That test covered getting data in and taking it out, and it ran on the version I first submitted.

来源

  • 记录日期: 2026-11-02T08:28:55.948Z