🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 19, 2026

How to Connect Gravity Forms to Mailchimp (Step-by-Step)

GravityExtra
How to Connect Gravity Forms to Mailchimp (Step-by-Step)

Mailchimp remains the default mailing list tool for a huge number of WordPress sites. The built-in sign-up form is limited, so many site owners build their forms in Gravity Forms and want those entries to land in a Mailchimp audience automatically.

This guide shows how to connect Gravity Forms to Mailchimp with the GravityExtra Mailchimp add-on. You will add subscribers, choose between single and double opt-in, map merge fields and apply tags, all from the feed screen of your form.

If you only want the short version: install the add-on, save your Mailchimp credentials, add a feed to your form, map the fields and submit a test entry. The rest of this article explains each step, shows a worked field mapping, covers conditional logic and lists the errors you are most likely to meet.

What You Can Do With Gravity Forms and Mailchimp

The Mailchimp Add-On add-on is a standard Gravity Forms feed add-on. A feed is a saved set of instructions on a form: when an entry is submitted, the feed sends data to Mailchimp. You can add as many feeds as you like to one form, and each feed has its own settings. Here is what the feeds can do.

  • Add or update a subscriber. Send an email address to a Mailchimp audience by its ID and choose the status.
  • Use double opt-in. Set the status to Pending (Double Opt-in) so Mailchimp sends its confirmation email before the person is subscribed.
  • Map merge fields. Send answers to merge tags such as FNAME and LNAME, or to any merge tag you created in the audience.
  • Add tags. Apply one or more tags to a subscriber using a comma separated list of tag names.
  • Use feed conditions. Process the feed only when an entry matches a rule.

Because the add-on calls the Mailchimp API from your own WordPress site, there is no relay service in the middle. Your data goes from your server to Mailchimp, and the result of each attempt is written back to the entry so you can check it later.

Real-World Ways to Use It

Here are three set-ups that site owners build most often with the Mailchimp add-on. Each one needs only a single feed on the form.

  • A footer sign-up form adds people to an audience with double opt-in turned on.
  • A preferences form applies a tag for each topic the person picked, so campaigns can target interests.
  • A contest entry form stores the first and last name in merge fields for personalised emails.

Before You Start

Make sure you have the following ready. It saves a lot of switching between tabs.

  • WordPress with Gravity Forms 2.5 or later installed and a form you want to connect.
  • The GravityExtra Mailchimp add-on, downloaded from your account as a zip file.
  • A Mailchimp account and an API key.
  • A few minutes and one test entry to check the result.

Step by Step: Connect Gravity Forms to Mailchimp

Step 1. Install and activate the add-on

In WordPress go to Plugins, then Add New, then Upload Plugin. Choose the zip file, install it and click Activate. A new item called Mailchimp Add-On now appears under Forms, then Settings.

Step 2. Create an API key

In Mailchimp open Account and billing, then Extras, then API keys, and create a key. Mailchimp keys end with a data center code such as us21.

Step 3. Save it in WordPress

Open Forms, then Settings, then Mailchimp Add-On. Paste the key into API Key and save. The add-on reads the data center from the end of the key, so you do not need to enter it.

Step 4. Find the audience ID

In Mailchimp open Audience, then Settings, then Audience name and defaults, and copy the Audience ID.

Step 5. Add a feed to your form

Open your form in the editor, go to Settings and choose Mailchimp Add-On. Click Add New to start a feed. Give it a Feed Name that says what it does, for example the form name followed by the action. A clear name helps later when you have several feeds on a form.

Step 6. Choose the Module

The Module drop-down offers Add/Update Subscriber and Add Tag to Subscriber.

Step 7. Map your form fields

Each setting that reads Field in its label is a drop-down of the fields in your form. Pick the form field that holds the matching information. Settings marked required must be filled in before the feed will save. The next section shows a complete example.

Step 8. Save and test

Save the feed, open the form on your site and submit a test entry with real looking data. Then open the entry in Gravity Forms and read the notes. The add-on adds a note for every attempt. If it worked you will see the success message, and you can confirm the record inside Mailchimp.

Field Mapping Example

Example: a newsletter sign-up with a first and last name

Assume a form with a name field and an email field. With the module set to Add/Update Subscriber, fill in the feed like this.

Feed setting Form field or value Note
Audience/List ID Copied from Mailchimp Required
Email Field Email Required
Status Pending (Double Opt-in) Or Subscribed for single opt-in
Merge Fields: FNAME Name (First) Type the merge tag on the left
Merge Fields: LNAME Name (Last) Type the merge tag on the left

Use real field types where you can. An Email field validates the address before the entry is saved, a Phone field keeps numbers tidy and a Drop Down gives you exact values that are easy to match later. The cleaner the form data, the fewer surprises on the Mailchimp side.

Use Conditional Logic to Control What Gets Sent

The Mailchimp feed uses the standard Feed Condition setting. Tick Enable Condition and choose Process this feed if a consent checkbox is checked. You can also use two feeds on the same form. One adds the subscriber, and a second feed with the module Add Tag to Subscriber applies the tag Website Sign-up only when a source field has a certain value.

Conditions are evaluated when the entry is submitted. If the condition is not met the feed is skipped and nothing is sent, but the entry is still saved in Gravity Forms as usual.

Tips for a Reliable Set-Up

  • Test on a staging copy first. Use a staging site or a test form so that no real records are created in Mailchimp by accident.
  • Mark key fields as required. A feed cannot send a value the visitor never typed, so make the fields that Mailchimp needs required in the form.
  • Name your feeds clearly. When one form has several feeds, a name that combines the form and the action keeps the feed list easy to read.
  • Keep credentials private. Only administrators should reach the Forms settings page where the credentials are stored. Replace a key if you suspect it was shared.
  • Ask for consent where it is required. If the data is used for marketing, add a clear consent checkbox and use it as the feed condition.

Check the Result in the Entry Notes

Each attempt adds a note headed Mailchimp or Mailchimp Tags to the entry. A failed email check writes Error: Invalid email.

Treat the notes as your first stop for any problem. They show the exact response from Mailchimp, which usually points straight at the cause.

Troubleshooting

These are the problems people meet most often when they connect Gravity Forms to Mailchimp, with the fix for each.

The note says Invalid email

The subscriber module accepts only valid addresses. Map the Email Field to an Email type field.

I worry about duplicate subscribers

The add-on creates or updates a member keyed by the lowercase email address, so submitting the same address twice updates one record instead of creating two.

Merge fields are empty

The key on the left must be the merge tag exactly as written in Mailchimp, for example FNAME in capital letters.

The wrong server is contacted

The data center comes from the end of the API key. Copy the whole key including the part after the dash.

Tags do not appear

In the Add Tag to Subscriber module enter the audience ID, the email field and the tag names separated by commas.

Frequently Asked Questions

Can I use double opt-in?

Yes. Set Status to Pending (Double Opt-in) and Mailchimp sends its own confirmation email.

Do I need to enter the data center?

No. The add-on takes it from the suffix of your API key.

Can one form subscribe people to different audiences?

Yes. Create one feed per audience and give each its own Audience ID and condition.

Can I add tags without changing other data?

Yes. The Add Tag to Subscriber module only needs the audience ID, an email field and tag names.

Is a connector service needed?

No. The add-on calls the Mailchimp API from your own site.

Get the Mailchimp Add-On for Gravity Forms

Ready to try it? The Mailchimp Add-On add-on is available on the Mailchimp product page, and the Mailchimp documentation walks through every setting in detail. A GravityExtra license also covers the other integration add-ons in our catalogue, so you can connect more tools as your needs grow.

You may also find these helpful: Gravity Forms ConvertKit add-on, Gravity Forms Constant Contact add-on, Connect Gravity Forms to Klaviyo. You can browse everything in the full list of Gravity Forms add-ons.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr