Overview
The Mailchimp integration enables you to export emails directly from Migma to Mailchimp with a single click. All merge tags are automatically preserved, and emails can be pushed as campaigns or saved as reusable templates.One-Click Export: Create beautiful emails in Migma, then export them to Mailchimp instantly via API. No manual copying, merge tags automatically work, and formatting stays perfect.
Campaign Push
Create draft campaigns in Mailchimp
Template Library
Save to Mailchimp templates
Merge Tags
Automatic merge tag preservation
Audience Sync
Bidirectional list synchronization
Setup Mailchimp Connection
Get Mailchimp API Key
In Mailchimp:
- Go to Account → Extras → API keys
- Click “Create A Key”
- Give it a name like “Migma Integration”
- Copy your API key
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-us11The suffix (us11) indicates your data center region.Connect in Migma
In Migma:
- Navigate to Settings → Integrations → Marketing Platforms
- Click “Connect Mailchimp”
- Paste your API key
- Click “Authorize”
Select Audiences
Choose which Mailchimp audiences to sync:Select the audiences you want to access:
- ☑ Newsletter Subscribers (12,450 contacts)
- ☑ Product Updates (8,230 contacts)
- ☑ VIP Customers (1,500 contacts)
- ☐ Archived List (2,100 contacts)
Configure Sync Direction
Choose how to sync data:
- ○ Migma → Mailchimp only
- ● Bidirectional (recommended)
- ○ Mailchimp → Migma only
Map Custom Fields
Match Migma fields to Mailchimp merge tags:
Custom fields are auto-detected and mapped.
| Migma Field | Mailchimp Tag |
|---|---|
| First Name | FNAME |
| Last Name | LNAME |
EMAIL | |
| Company | COMPANY |
| Job Title | JOBTITLE |
One-Click Export to Mailchimp
Export as Campaign
Create a draft campaign directly in Mailchimp:Export via API
Click “Create Campaign”Migma automatically:
- ✅ Creates draft campaign in Mailchimp
- ✅ Uploads email HTML with proper encoding
- ✅ Preserves all merge tags (
*|FNAME|*, etc.) - ✅ Hosts images on CDN
- ✅ Sets campaign metadata
Export as Template
Save to Mailchimp template library for reuse:Template Settings
Configure:
- Template name: “Product Showcase Template”
- Category: “Newsletter” (optional)
- Description: “Reusable product showcase layout”
- Tags: “product”, “promotional”
API Upload
Migma uploads the template via Mailchimp APITemplate appears in:
Mailchimp → Templates → Saved templates
HTML Export (Manual Method)
For advanced users or special cases:Create Campaign in Mailchimp
- Create new campaign in Mailchimp
- Choose “Code your own” option
- Paste the HTML
Merge Tags & Personalization
Migma automatically preserves Mailchimp’s merge tag syntax. Use merge tags in your prompts, and they’ll work perfectly in Mailchimp.Subscriber Fields
Campaign Fields
Link Fields
Conditional Merge Tags
Using Merge Tags in Migma
In Prompts
Tell Migma to include merge tags in your prompt:Visual Editor
When editing in Migma’s visual editor:- Type merge tags directly:
*|FNAME|* - They’ll be preserved when exporting to Mailchimp
- Preview shows placeholder values
Common Examples
Welcome Email:Audience Sync
Bidirectional Synchronization
Keep subscriber data in sync between Migma and Mailchimp:Export contacts from Migma to Mailchimp
Import Mailchimp audiences into Migma
Automatic field mapping
Custom field synchronization
Tag and segment preservation
Configure Sync Settings
- Settings → Integrations → Mailchimp
- Click “Manage Audiences”
- Choose sync frequency:
- Real-time (instant sync)
- Hourly batch
- Daily batch
- Manual only
- Select which fields to sync
- Configure conflict resolution
Field Mapping
Automatic mapping between platforms:| Migma Field | Mailchimp Merge Tag | Sync Direction |
|---|---|---|
| Bidirectional | ||
| first_name | FNAME | Bidirectional |
| last_name | LNAME | Bidirectional |
| phone | PHONE | Bidirectional |
| company | COMPANY | Bidirectional |
| Custom fields | Auto-detected | Bidirectional |
Advanced Features
Segmentation
Use Mailchimp segments in Migma:Import Segments
Automatically import Mailchimp segments:
- Based on engagement
- Purchase history
- Demographics
- Custom conditions
Template Variables
Use advanced Mailchimp features:Automation Integration
Use Migma templates in Mailchimp automations:- Export template to Mailchimp
- Create automation in Mailchimp
- Select your Migma template
- Configure triggers and timing
- Welcome series
- Abandoned cart
- Re-engagement
- Birthday emails
- Anniversary emails
Best Practices
Use Merge Tags Effectively
Use Merge Tags Effectively
Test Before Sending
Test Before Sending
Always test campaigns:
- Export to Mailchimp
- Create test campaign
- Send to test addresses
- Check on multiple devices:
- Desktop email clients
- Mobile (iOS and Android)
- Web browsers
- Verify all merge tags work
- Test all links
- Check images load correctly
Template Organization
Template Organization
Keep templates organized:
- Clear naming: “Welcome Email - v3”
- Use categories: Newsletter, Promotional, Transactional
- Add descriptions for team members
- Version control your templates
- Archive old versions
List Hygiene
List Hygiene
Maintain clean lists:
- Remove hard bounces immediately
- Clean soft bounces after 3 attempts
- Sunset inactive subscribers (6+ months)
- Honor unsubscribes instantly
- Segment engaged vs unengaged
Troubleshooting
Connection Failed
Connection Failed
Problem: Can’t connect Mailchimp to MigmaSolutions:
- Verify API key format (includes data center:
-us11) - Check for extra spaces in API key
- Ensure API key hasn’t been revoked
- Try creating a new API key
- Check your Mailchimp account is active
Merge Tags Not Working
Merge Tags Not Working
Export Failed
Export Failed
Problem: Export to Mailchimp failsSolutions:
- Check API connection is active
- Verify audience exists and is accessible
- Ensure campaign name is unique
- Check for special characters in settings
- Try exporting as template first
- Review Mailchimp API status
Images Not Displaying
Images Not Displaying
Problem: Images broken in MailchimpSolutions:
- Verify images uploaded to CDN
- Check image URLs are publicly accessible
- Ensure images are web-optimized
- Try re-uploading images
- Check image file sizes (< 1MB recommended)
- Test in Mailchimp preview
Formatting Issues
Formatting Issues
Problem: Email looks different in MailchimpSolutions:
- Check for Mailchimp CSS interference
- Use inline styles (Migma does this automatically)
- Test in Mailchimp inbox preview
- Avoid complex CSS
- Use Mailchimp-compatible HTML
Comparison: Mailchimp vs Klaviyo
| Feature | Mailchimp | Klaviyo |
|---|---|---|
| Best For | General email marketing | E-commerce & advanced automation |
| Merge Tag Syntax | *|FNAME|* | {{ first_name }} |
| Pricing | From $13/mo (500 contacts) | From $20/mo (250 contacts) |
| Export Method | API campaign/template push | API campaign/template push |
| Automation | Basic automations | Advanced flows |
| Segmentation | Good | Excellent |
| Analytics | Standard metrics | Advanced e-commerce tracking |
| Learning Curve | Easy | Moderate |
Not sure which to choose?
- Choose Mailchimp if you want simplicity, lower costs, or traditional email marketing
- Choose Klaviyo if you run an e-commerce store or need advanced segmentation
- Use both? Migma supports exporting to both platforms!
Next Steps
Email Service Providers
Setup SES, Resend, or SendGrid
Klaviyo Integration
Export to Klaviyo
Sending Emails
Send to your audience
Export Options
All export formats