Skip to main content

Scenario

Mailchimp audiences have interest categories — topics subscribers opted into like “Product Updates”, “Industry News”, “Tips & Tutorials”, “Case Studies”. You pull the interest categories and subscriber counts per interest, then generate targeted email content per interest group, applying your brand voice. The result is personalized email content matched to declared subscriber preferences.

Architecture

Code

Example Output

Error Handling

Interest categories must be created in Mailchimp → Audience → Manage Audience → Groups. If no groups exist, the API returns an empty list.
The subscriber_count on interests is updated periodically, not in real time. It may lag behind actual subscription changes by up to a day.
If BRAND_VOICE_ID is not set, the Generate call uses Mavera’s default voice. Create a voice first via Job 2 above for best results.

What’s Next

Mailchimp Integration

Back to Mailchimp integration overview

A/B Focus Group

Understand why A/B variants win

Re-Engagement Builder

Win back dormant subscribers

Generate API

Full reference for POST /api/v1/generations