Get Import Report
mailerlite.get_import
ActionEmailconnection required
Calls the MailerLite API with the connection's credentials.
Read the progress and rejected rows of a queued subscriber import.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- MailerLite
- Secret shape
- the API token, or {"api_key": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
import_id The import id returned by Import Subscribers to Group. | string | Yes | — | — | 1234 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"import_id": "1234"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The import's id. | string | — |
total Rows in the import. | number | — |
processed Rows MailerLite has looked at so far. | number | — |
imported Rows that became subscribers. | number | — |
percent Progress as a percentage. | number | — |
done True once MailerLite has finished the import. | boolean | — |
invalid Rows rejected because the address was not valid. | array | — |
duplicate Rows skipped because the address repeated. | array | — |
role_based Rows skipped as role addresses, such as info@. | array | — |
{
"done": false,
"duplicate": [],
"id": "",
"imported": 0,
"invalid": [],
"percent": 0,
"processed": 0,
"role_based": [],
"total": 0
}Notes
- Poll this until done is true — a finished import can still hold rejected rows in invalid, duplicate and role_based.
See Get Import Report run in a workflow.
In a technical demo we add the MailerLite connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.