DOCS

v1.3.28
 // Pro v1.2.20

 · Latest

Docs/Integrations/MailerLite

MailerLite

Pro: This integration requires an active Order Daemon Pro licence.

Overview

The MailerLite integration adds an Add to MailerLite action to the Rule Builder. When a rule fires, Order Daemon subscribes (or updates) the order’s billing email in your MailerLite account. If the customer is already a subscriber, their record is updated – not duplicated.

Fields sent with every subscriber update:

FieldNotes
Billing emailAlways sent
Billing first and last nameSent when Send Billing Name is enabled
last_order_idWooCommerce order ID
last_order_totalOrder total as a plain number

Setup

1. Get your MailerLite API key

In your MailerLite account, go to Integrations → API and copy your API key.

2. Connect in WordPress

  1. Go to Order Daemon → Extensions
  2. Find the MailerLite card and click Settings
  3. Enter your API key and save

3. Add the action to a rule

  1. Open or create a rule in the Rule Builder
  2. Under THEN, select Add to MailerLite
  3. Configure the settings below and publish the rule

Action settings

SettingDescription
MailerLite GroupsOne or more groups to add the customer to. Leave empty to subscribe without a group.
Send Billing NameSends first and last name to MailerLite. Default: on.
Double Opt-InAdds the subscriber with status “unconfirmed”. MailerLite sends them a confirmation email. They will not receive campaigns until they confirm. Recommended when you need GDPR-compliant consent. Default: off.

Groups are loaded from your MailerLite account when you open the rule. Make sure your API key is saved before editing rules.

Example: add course buyers to a group

  • Trigger: Payment completed
  • Condition: Product category is “Courses”
  • Action: Add to MailerLite – Groups: “Course Buyers”, Send Billing Name: on, Double Opt-In: off

Troubleshooting

The action did not run
Check the Insight Dashboard (Order Daemon → Insight). The timeline entry for the order shows exactly what the action did and any error message returned by MailerLite.

“API key is invalid”
Re-enter the key at Order Daemon → Extensions → MailerLite Settings. Make sure you copied the full key without trailing spaces and that your MailerLite account is active.

Rate limit errors
MailerLite’s API allows 120 requests per hour. If you are testing many orders quickly, wait before retrying. The error resolves automatically.

Customer is not appearing in the expected group
If Double Opt-In is enabled, the customer must click the confirmation email before they appear as an active subscriber. Check the Insight Dashboard to confirm the group IDs that were sent.