ByteChef LogoByteChef
Components

MailerLite

MailerLite is an intuitive email marketing platform that offers automation, landing pages, and subscriber management for businesses and creators.

MailerLite is an intuitive email marketing platform that offers automation, landing pages, and subscriber management for businesses and creators.

Categories: Marketing Automation

Type: mailerLite/v1


Connections

Version: 1

bearer_token

Properties

NameLabelTypeDescriptionRequired
tokenAPI TokenSTRINGAPI Token needed for authorization.true

Actions

Add Subscriber to Group

Name: addSubscriberToGroup

Adding a subscriber to a selected group.

Properties

NameLabelTypeDescriptionRequired
subscriber_idSubscriber EmailSTRINGID of the user that will be added to the selected group.true
group_idGroup IDSTRINGID of the group to which the user will be added.true

Example JSON Structure

{
  "label" : "Add Subscriber to Group",
  "name" : "addSubscriberToGroup",
  "parameters" : {
    "subscriber_id" : "",
    "group_id" : ""
  },
  "type" : "mailerLite/v1/addSubscriberToGroup"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(id), STRING(name), INTEGER(active_count), INTEGER(sent_count), INTEGER(opens_count), {NUMBER(float), STRING(string)}(open_rate), INTEGER(clicks_count), {NUMBER(float), STRING(string)}(click_rate), INTEGER(unsubscribed_count), INTEGER(unconfirmed_count), INTEGER(bounced_count), INTEGER(junk_count), STRING(created_at)}

Output Example

{
  "data" : {
    "id" : "",
    "name" : "",
    "active_count" : 1,
    "sent_count" : 1,
    "opens_count" : 1,
    "open_rate" : {
      "float" : 0.0,
      "string" : ""
    },
    "clicks_count" : 1,
    "click_rate" : {
      "float" : 0.0,
      "string" : ""
    },
    "unsubscribed_count" : 1,
    "unconfirmed_count" : 1,
    "bounced_count" : 1,
    "junk_count" : 1,
    "created_at" : ""
  }
}

Create or Update Subscriber

Name: createOrUpdateSubscriber

Create new user or update an existing user.

Properties

NameLabelTypeDescriptionRequired
emailnullSTRINGThe email address of the subscriber.true
group_idGroup IDSTRINGID of the group to which you want to add the subscriber to.false

Example JSON Structure

{
  "label" : "Create or Update Subscriber",
  "name" : "createOrUpdateSubscriber",
  "parameters" : {
    "email" : "",
    "group_id" : ""
  },
  "type" : "mailerLite/v1/createOrUpdateSubscriber"
}

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(id), STRING(email), STRING(status), STRING(source), INTEGER(sent), INTEGER(opens_count), INTEGER(clicks_count), INTEGER(open_rate), INTEGER(click_rate), STRING(subscribed_at), STRING(created_at), STRING(updated_at), [](fields), [](groups)}

Output Example

{
  "data" : {
    "id" : "",
    "email" : "",
    "status" : "",
    "source" : "",
    "sent" : 1,
    "opens_count" : 1,
    "clicks_count" : 1,
    "open_rate" : 1,
    "click_rate" : 1,
    "subscribed_at" : "",
    "created_at" : "",
    "updated_at" : "",
    "fields" : [ ],
    "groups" : [ ]
  }
}

Remove Subscriber from Group

Name: removeSubscriberFromGroup

Remove selected subscriber from the group.

Properties

NameLabelTypeDescriptionRequired
subscriber_idSubscriberSTRINGID of the user that will be added to the selected group.true
group_idGroup IDSTRINGID of the group to which the user will be added.true

Example JSON Structure

{
  "label" : "Remove Subscriber from Group",
  "name" : "removeSubscriberFromGroup",
  "parameters" : {
    "subscriber_id" : "",
    "group_id" : ""
  },
  "type" : "mailerLite/v1/removeSubscriberFromGroup"
}

Output

This action does not produce any output.

Triggers

Subscriber Added to the Group

Name: subscriberAddedToGroup

Triggers when a subscriber is added to the group.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(account_id), STRING(id), STRING(email), STRING(status), STRING(source), INTEGER(sent), INTEGER(opens_count), INTEGER(clicks_count), INTEGER(open_rate), INTEGER(click_rate), STRING(subscribed_at), STRING(created_at), STRING(updated_at), [](fields), [](groups)}

JSON Example

{
  "label" : "Subscriber Added to the Group",
  "name" : "subscriberAddedToGroup",
  "type" : "mailerLite/v1/subscriberAddedToGroup"
}

Subscriber Created

Name: subscriberCreated

Triggers when a subscriber is created.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(id), STRING(email), STRING(status), STRING(source), INTEGER(sent), INTEGER(opens_count), INTEGER(clicks_count), INTEGER(open_rate), INTEGER(click_rate), {}(ip_address), STRING(subscribed_at), STRING(unsubscribed_at), STRING(created_at), STRING(updated_at), STRING(deleted_at), STRING(forget_at), [](fields), [](groups), STRING(account_id)}

JSON Example

{
  "label" : "Subscriber Created",
  "name" : "subscriberCreated",
  "type" : "mailerLite/v1/subscriberCreated"
}

Subscriber Unsubscribed

Name: subscriberUnsubscribed

Triggers when a subscriber unsubscribes.

Type: DYNAMIC_WEBHOOK

Output

Type: OBJECT

Properties

NameTypeDescription
dataOBJECT
Properties {STRING(account_id), STRING(id), STRING(email), STRING(status), STRING(source), INTEGER(sent), INTEGER(opens_count), INTEGER(clicks_count), INTEGER(open_rate), INTEGER(click_rate), STRING(subscribed_at), STRING(created_at), STRING(updated_at), [](fields), [](groups)}

JSON Example

{
  "label" : "Subscriber Unsubscribed",
  "name" : "subscriberUnsubscribed",
  "type" : "mailerLite/v1/subscriberUnsubscribed"
}