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:
| Field | Notes |
|---|---|
| Billing email | Always sent |
| Billing first and last name | Sent when Send Billing Name is enabled |
last_order_id | WooCommerce order ID |
last_order_total | Order 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
- Go to Order Daemon → Extensions
- Find the MailerLite card and click Settings
- Enter your API key and save
3. Add the action to a rule
- Open or create a rule in the Rule Builder
- Under THEN, select Add to MailerLite
- Configure the settings below and publish the rule
Action settings
| Setting | Description |
|---|---|
| MailerLite Groups | One or more groups to add the customer to. Leave empty to subscribe without a group. |
| Send Billing Name | Sends first and last name to MailerLite. Default: on. |
| Double Opt-In | Adds 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.