Via Zapier
Zero-code, 5 minutes. Good for low-to-medium volume.
Via Mailchimp API
Direct API integration. More control over tags and fields.
Step 1: Get Your Mailchimp API Credentials
Log in to Mailchimp
Go to mailchimp.com and sign in.
Create an API key
Navigate to Account > Extras > API keys. Click Create a key. Copy the key — it looks like
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-us20.Note your data center
The suffix after the dash is your data center. In
xxxx-us20, the DC is us20. You’ll need it for the API URL.Step 2: Store Credentials in Hiveku
Add three environment variables:MAILCHIMP_API_KEY— the full key including the-us20suffixMAILCHIMP_AUDIENCE_ID— your audience IDMAILCHIMP_DC— just the data center (e.g.,us20)
Step 3: Create a Subscribe Workflow
Double Opt-In
Double opt-in is the safest pattern for deliverability and required in many jurisdictions (Germany, Canada). Change"status": "subscribed" to "status": "pending". Mailchimp will send its own confirmation email, and the subscriber only moves to subscribed after they click the link.
Tags for Segmentation
Tags let you segment later. Use them liberally:- Source:
website-signup,webinar-attendee,conference-2026 - Content interest:
ai-topics,design-topics - Stage:
lead,customer,churned
Merge Fields
Mailchimp’s default merge fields areFNAME, LNAME, EMAIL. Custom ones you create appear with whatever tag you set (e.g., COMPANY, ROLE).
Unsubscribe Sync
When users unsubscribe in Mailchimp, you probably want to update your own CRM.Configure a Mailchimp webhook
In Mailchimp, go to Audience > Settings > Webhooks. Create a webhook pointing to a Hiveku workflow webhook URL.
Avoiding Sync Loops
When Mailchimp sends you an unsubscribe webhook, don’t let your sync workflow push the change back to Mailchimp. Flag events that originated from Mailchimp and skip those writes:Alternative: Use Zapier
If you’d rather not touch the API, Zapier has a Mailchimp integration out of the box. See Connect Zapier. Trigger: form submission. Action: “Add subscriber to list.” Five minutes, no code.Verify It Worked
- Submit your newsletter form with a test email
- Check Workflows > Runs — the HTTP call should return 200
- In Mailchimp, go to Audience and search for the email — the subscriber should appear with the correct tags and merge fields
Troubleshooting
404 Not Found
404 Not Found
The data center in the URL is wrong. Your API key ends with
-us20 (or similar) — that part goes into the URL as us20.api.mailchimp.com. If the key ends in -us1, use us1.api.mailchimp.com. A mismatched DC always returns 404.'Member Exists' error
'Member Exists' error
Expected if the email is already in the audience. Mailchimp treats this as a 400 response with
title: "Member Exists". Handle it gracefully — treat it as a successful subscribe (it is, from your perspective). Log it and move on.Merge fields aren't populating
Merge fields aren't populating
You’re using the wrong tag names. Mailchimp uses all-caps merge tags:
FNAME not first_name, LNAME not last_name. Check Audience > Settings > Audience fields for the exact tags, including any custom ones you’ve added.Unsubscribe loops
Unsubscribe loops
User unsubscribes in Mailchimp → Mailchimp webhook fires → Hiveku workflow updates your CRM → your CRM sync pushes back to Mailchimp → Mailchimp re-unsubscribes them → webhook fires again. Add a source flag to skip the reverse sync when the event came from Mailchimp.
403 Forbidden
403 Forbidden
The API key is valid but doesn’t have access to the audience. Either the key was generated under a different Mailchimp account, or your Mailchimp user role doesn’t have list access. Check the account dropdown in Mailchimp — you might be logged into the wrong one.
What’s Next?
Newsletter Signup Form
Add the form to your site if you haven’t yet
Email Suppressions
Keep your list clean across tools