How can I add tags or other form fields to requests when connecting Mailchimp to Webflow using Logic? I need to segment the audience signing up on my website. I have tried different permutations, but it hasn't worked so far.

TL;DR
  • Create a Webflow form with custom fields and trigger a Logic workflow on submission.  
  • Use the “Add/Update Subscriber” action in Logic to map form data to Mailchimp merge fields and apply tags, ensuring all field names match your Mailchimp audience settings.

To add tags and custom form fields when connecting Mailchimp to Webflow using Webflow Logic, you need to properly format the data in your Logic workflow to match Mailchimp’s API structure.

1. Understand the Mailchimp Logic Integration

  • Webflow Logic uses Mailchimp’s Marketing API under the hood.
  • When a contact is added via Logic, you have a chance to include merge fields (custom fields) and tags.
  • Tags are used for segmentation, while merge fields are used to store additional subscriber information.

2. Configure Your Webflow Form and Logic Trigger

  • Add your custom fields (e.g., industry, interests) in your Webflow form.
  • In Logic, create a “Form Submission” trigger that connects to this form.

3. Use the Mailchimp “Add/Update Contact” Action

  • In your Logic workflow, add a Mailchimp action using “Add/Update Subscriber”.
  • Map the email field from the form to the Email input in the Mailchimp action.
  • Under “Merge Fields”, you can include key–value pairs like:
  • FNAME{{ First Name }}
  • LNAME{{ Last Name }}
  • Any other fields you've defined in Mailchimp’s audience fields.

4. Add Tags to the Contact

  • Scroll down to the “Tags” section in the Mailchimp action block.
  • Add the tag(s) as a list using Webflow Logic variables or static text.
  • Example: Add a tag like Newsletter or derive it dynamically from a form field using {{ formFieldName }}.

5. Validate Field Names Match Mailchimp Audience

  • Go to Mailchimp Audience > Settings > Audience fields and |MERGE| tags.
  • Make sure your custom fields (merge tags) in Mailchimp match what you input in Logic exactly.
  • Example: If your field for organization type is ORGTYPE in Mailchimp, use that key in the Logic “Merge Fields” section.

6. Test Your Workflow

  • Submit the form on your website.
  • Check your Mailchimp audience to confirm:
  • The contact was added.
  • The correct tags were applied.
  • The merge fields were populated.

Summary

To segment your Mailchimp audience via Webflow Logic, use the Add/Update Contact action, ensuring all Merge Fields and Tags align exactly with your Mailchimp audience configuration. Properly naming and mapping these inputs is key to successful segmentation.

Rate this answer

Other Webflow Questions