How to Connect MailerLite to a WordPress Form?

Key Takeaways

  • Connects MailerLite to WordPress forms using the Nexter Blocks Form block.
  • Requires MailerLite API Key and Group ID for integration.
  • Automatically adds users to MailerLite Group upon form submission.
Table of Contents

Want to automate your email marketing with MailerLite? Connecting your WordPress form to MailerLite lets you collect new subscribers directly from your site and add them to a MailerLite group automatically.

With the Form block from Nexter Blocks, you can connect your MailerLite account to any WordPress form you build in the block editor and route form submissions directly into your subscriber list.

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

Requirement. This block is a part of Nexter Blocks. Make sure it is installed and activated.

Learn via Video Tutorial

Youtube video

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

Get MailerLite API Key

Create an account in MailerLite if you do not already have one. Once you are logged in, follow the steps below.

1. Click on Integrations from the left sidebar.

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

How to Connect MailerLite to a WordPress Form?

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

How to Connect MailerLite to a WordPress Form?

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

5. Keep All IPs allowed selected, accept the terms of use checkbox, and click Create token.

How to Connect MailerLite to a WordPress Form?

Once the token is generated, copy the API key and store it somewhere safe. You will need it in the next step.

How to Connect MailerLite to a WordPress Form?

Find MailerLite Group ID

If you do not have a group, create a group in MailerLite first. Then follow the steps below.

1. Click on Integrations from the left sidebar.

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

How to Connect MailerLite to a WordPress Form?

3. At the bottom of the API page, you will find the Group ID. Copy it and keep it ready for the next step.

How to Connect MailerLite to a WordPress Form?

Use the Form Block

Add the Form block to the page and select the form type you want to use, then follow the steps below.

1. Add the required form fields and configure them as needed.

2. Select the main form block, go to the Action After Submit tab, and select MailerLite from the Options dropdown. This tells the form where to send subscriber data after someone submits it.

3. The MailerLite tab will appear. Open it.

4. Enter your API key in the Custom API Key field and your Group ID in the Group ID field.

When a visitor submits your form, they will be automatically added to the MailerLite group you configured. You can verify this in your MailerLite dashboard under the group you connected.

About the Author

Photo of Aditya Sharma CMO of Nexter
CMO at POSIMYTH Innovations · Nexter · 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!