Create Group
mailerlite.create_group
ActionEmailconnection required
Calls the MailerLite API with the connection's credentials.
Create a new subscriber group in the account.
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 |
|---|---|---|---|---|---|
name The group's name; MailerLite allows up to 255 characters. | string | Yes | — | ≤ 255 characters | Newsletter subscribers |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"name": "Newsletter subscribers"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id MailerLite's id for this group. | string | — |
name The group's name. | string | — |
active_count Active subscribers currently in the group. | number | — |
sent_count Campaigns sent to this group. | number | — |
opens_count Opens recorded for this group. | number | — |
open_rate Open rate as MailerLite's float/string pair. | object | — |
clicks_count Clicks recorded for this group. | number | — |
click_rate Click rate as MailerLite's float/string pair. | object | — |
unsubscribed_count Subscribers in the group who unsubscribed. | number | — |
unconfirmed_count Subscribers in the group who never confirmed opt-in. | number | — |
bounced_count Subscribers in the group whose address bounced. | number | — |
junk_count Subscribers in the group marked as junk. | number | — |
created_at When the group was created. | string | — |
{
"active_count": 0,
"bounced_count": 0,
"click_rate": {},
"clicks_count": 0,
"created_at": "",
"id": "",
"junk_count": 0,
"name": "",
"open_rate": {},
"opens_count": 0,
"sent_count": 0,
"unconfirmed_count": 0,
"unsubscribed_count": 0
}See Create Group 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.