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

Teaching an AI agent what our newsletters said: a Mailchimp connector for cognee

Description and use

A Mailchimp connector for cognee imports campaigns and contact notes, cleans email text, and lets an AI agent answer questions about content, dates, and ownership, with proper handling of deletions.

Problem

Finding the content and timing of past Mailchimp campaigns is tedious, requiring manual scrolling and opening emails.

Outcome

After integration, the agent accurately recalled shipping dates, ownership, pricing details, and contact preferences from Mailchimp campaigns, and correctly omitted information after campaign deletion.

Workflow

  • 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

Evidence

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.

Source

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.

Source

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.

Source

  • Record date: 2026-11-01T23:29:12.083Z