To use Webflow forms to handle Mailchimp signups with checkboxes for group opt-ins, you'll need to integrate custom form submissions with Mailchimp's API and map checkbox selections to your Mailchimp group interests.
1. Prepare Mailchimp Groups and Audience
- In Mailchimp, go to Audience > Manage Audience > Manage Contacts > Groups.
- Create a Group Category (e.g., “Interests”) and add checkbox-based group options (e.g., “News,” “Events,” “Offers”).
- Make sure the group is visible on signup forms.
- In Webflow, add a form block containing:
- Name and email input fields (with meaningful
name
attributes like FNAME
, EMAIL
). - Checkbox fields for each Mailchimp group (use a
name
like group[GroupCategoryName]
where GroupCategoryName is the exact API name). - Assign value attributes matching the group names in Mailchimp exactly (e.g., “News,” “Events”).
3. Get Mailchimp Form Action URL (for POST method)
- Go to your Mailchimp audience, navigate to Signup Forms > Embedded Forms.
- Copy the form action URL from the form code snippet—usually starts with
https://xxxxxx.list-manage.com/subscribe/post?...
.
- Select the Webflow form element and go to Form Settings.
- Replace the action URL with the Mailchimp form endpoint.
- Set method to POST and disable form validation for hidden fields if necessary.
- Use exact field names expected by Mailchimp:
- EMAIL for the email input
- FNAME (optional)
- group[xxxx] for checkboxes (where
xxxx
is your group category ID—can find it in Mailchimp's embed code)
5. Style and Test
- Customize your form look as needed in Webflow Designer.
- Publish your site and submit a test entry. Check if the email appears in your Mailchimp Audience with the selected group(s).
Summary
To connect Webflow forms with Mailchimp and support group opt-ins via checkboxes, build a form in Webflow that mimics Mailchimp's embedded form structure—using the correct action URL, POST method, and field names (especially group[GroupName]
). This allows the form entries to populate the appropriate audience segments in Mailchimp automatically.