Teaching an AI agent what our newsletters said: a Mailchimp connector for cognee
说明与用途
为 cognee 创建了 Mailchimp 连接器,导入活动和联系人备注,清理邮件文本,使 AI 代理能够回答内容、日期和所有权问题,并正确处理删除。
问题
Finding the content and timing of past Mailchimp campaigns is tedious, requiring manual scrolling and opening emails.
结果
After integration, the agent accurately recalled shipping dates, ownership, pricing details, and contact preferences from Mailchimp campaigns, and correctly omitted information after campaign deletion.
工作流
- 1. Create a Mailchimp API key and store it in ~/.mailchimp_key
- 2. Import campaigns and notes with cognee_community_connector_mailchimp.mailchimp_source, setting include_unsent=True and include_notes=True
- 3. Use cognee.remember to merge data into the "mailchimp" dataset
- 4. Query the agent with cognee.recall, e.g. "When does the new checkout ship, and who owns it?"
- 5. Verify that deleting a campaign in Mailchimp and re‑syncing removes related nodes from cognee’s graph
证据
I set up a small product launch across three tools to try this properly: the discussion in Twist, the tasks in Basecamp, and the customer announcement in Mailchimp.
After the delete I also checked the graph directly. There was no node left for Starter, pricing, 9 EUR or April, while "new checkout flow" and "payments team" were still there.
Mailchimp keys look like <32 hex characters>-us22. The part after the dash is the data centre, and the API host is https://us22.api.mailchimp.com/3.0.
- 记录日期: 2026-11-01T23:29:12.083Z