How to Connect MailerLite to a WordPress Form?

Key Takeaways

  • Nexter Blocks includes a Form block that allows users to connect their MailerLite account to a WordPress form.
  • Users need a MailerLite API Key and Group ID to integrate MailerLite with the Form block.
  • When a user submits the form, their information is automatically added to the specified MailerLite Group.
Table of Contents

Want to automate your email marketing with MailerLite? Connecting your WordPress form to MailerLite lets you collect subscribers and manage your email list effortlessly.

With the Form block from Nexter Blocks, you can easily connect your MailerLite account to your WordPress form.

To check the complete feature overview documentation of the Nexter Blocks Form block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

Learn via Video Tutorial

YouTube video

For this, you must have a MailerLite API Key and Group ID.

Get MailerLite API Key

Create an account in MailerLite if you don’t already have one. Once you are logged into your account, follow the steps – 

1. Click on Integrations from the left sidebar.

2. On the next page, go to API under MailerLite API and click on Use.

mailerlite api 1 1

3. On the next page, click on the Generate new token button.

mailerlite api 2

4. In the pop-up, add a name for the API key in the Enter token name field. 

5. Keep All IPs allowed option selected, then tick the terms of use checkbox and click on the Create token button.

mailerlite api 3

Now you’ll have your API key, copy it into a notepad.

mailerlite api 4

Find MailerLite Group ID

If you don’t have a group, then first you have to create a group in MailerLite. Then, follow the steps – 

1. Click on Integrations from the left sidebar.

2. On the next page, go to API under MailerLite API and click on Use.

mailerlite api 1 5

3. At the bottom of the API page, you’ll find the Group ID.

mailerlite group id 2 1

Use the Form Block

Now, add the Form block to the page and select the appropriate form type, then follow the steps –

1. Add the required form fields and customize them as per your requirements.

2. Then select the main form block and go to the Action After Submit tab and select MailerLite from the Options dropdown.

3. Now you’ll see the MailerLite tab, open it.

4. Then add your API key and Group ID in the Custom API Key and Group ID fields.

Now, when a user fills out your form, they will be automatically added to your MailerLite Group.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if I can't find my MailerLite API key?

If you can't find your MailerLite API key, ensure you're logged into your MailerLite account. Navigate to Integrations, then select API under MailerLite API. Click on Use, and if necessary, generate a new token by clicking the 'Generate new token' button. Remember to copy the generated API key for your WordPress form integration.

Can I use Nexter Blocks to connect multiple MailerLite groups?

Nexter Blocks allows you to connect a single MailerLite group per form. To connect another group, you would need to create a new form block and input the new Group ID and API key for that specific group. This setup is ideal for segmenting your subscribers based on different forms.

What are the best practices for setting up the Form block with MailerLite?

When setting up the Form block with MailerLite, ensure you customize your form fields to collect relevant subscriber information. Use the Action After Submit tab to select MailerLite and input your API key and Group ID accurately. This ensures that users are added to the correct group seamlessly, enhancing your email marketing efforts.

What happens if I forget to add my Group ID in the Form block?

If you forget to add your Group ID in the Form block, submissions from your form will not be directed to any MailerLite group. This means you will miss out on collecting subscribers through that form, which can hinder your email marketing automation. Always double-check that both the API key and Group ID are correctly entered.

Is there a way to test if my MailerLite connection is working?

To test your MailerLite connection, fill out the form on your WordPress site after setting it up. Check your MailerLite account to see if the submission appears in the designated group. This quick test helps ensure that your API key and Group ID are correctly configured and that the integration is functioning as expected.

What should I do if my form submissions are not appearing in MailerLite?

If your form submissions are not appearing in MailerLite, first verify that your API key and Group ID are correctly entered in the Form block settings. Additionally, check if the Nexter Blocks plugin is installed and activated, as it is required for this integration. If everything seems correct, consider re-generating your API key in MailerLite to rule out any issues.

Last reviewed: April 14, 2026

Related Docs