Mailerlite

Learn how to use Mailerlite with Composio

Overview

Enum

MAILERLITE

Description

MailerLite is an email marketing service that offers tools for creating and managing email campaigns, automating workflows, and building landing pages.

Authentication Details

api_key
stringRequired

Actions

Tool to create or update a customer record for a shop. use when syncing shop customers or onboarding new purchases.

Action Parameters

accepts_marketing
boolean
create_subscriber
boolean
email
Required
shop_id
stringRequired
total_spent
number

Action Response

data
object
error
string
successful
boolean
Tool to connect a new e-commerce shop. use when you need to integrate a store for automations, product imports, and sales tracking.

Action Parameters

access_data
string
currency
Required
enable_popups
boolean
enabled
boolean
group_id
integer
name
stringRequired
platform
string
url
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to create a new custom field. use when distinct subscriber attributes are needed before assigning or updating subscriber data. call once per field key.

Action Parameters

name
stringRequired
type
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to create a new subscriber group. use after deciding the group name for categorization.

Action Parameters

name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to create a new subscriber segment. use when grouping subscribers by custom criteria before sending targeted campaigns.

Action Parameters

name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to register a new webhook url for specified event types. use when you need real-time notifications for selected mailerlite events.

Action Parameters

batchable
boolean
enabled
boolean
events
arrayRequired
name
string
url
Required

Action Response

data
object
error
string
successful
boolean
Tool to delete an automation workflow by id. use when you need to remove an automation after confirming it's no longer needed. returns success=true on 204 no content.

Action Parameters

automation_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a customer from an e-commerce shop by ids. use when you need to remove a specific customer from your mailerlite store.

Action Parameters

customer_id
stringRequired
shop_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to disconnect an e-commerce shop by id. use when you have the shop's unique identifier and want to remove it from your mailerlite account.

Action Parameters

shop_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a custom field. use when a field is obsolete and you need to remove it from your mailerlite account. returns success=true on 204 no content.

Action Parameters

field_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a subscriber group by id. use when you need to remove an existing subscriber group from your mailerlite account. returns success=true on 204 no content.

Action Parameters

group_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a segment by id. use when you need to remove an existing segment from your mailerlite account. returns success=true on 204 no content.

Action Parameters

segment_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to delete a subscriber by id. use when you have the subscriber id and want to remove them from your mailerlite account. returns success=true on 204 no content.

Action Parameters

id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to remove a webhook subscription by id. use when you need to delete a webhook after confirming it is no longer needed. returns success=true on 204 no content.

Action Parameters

webhook_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to fetch total ecommerce customers count for a shop. use when only the aggregate count is required without retrieving detailed records.

Action Parameters

shop_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to retrieve basic mailerlite account details. use when you need to verify authentication and review account metadata.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to retrieve usage statistics and performance metrics for the account. use after sending campaigns to analyze engagement and deliverability.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to retrieve details of a specific automation by id. use when you have the automation id and need its full configuration. example: "get automation 7267552".

Action Parameters

automation_id
stringRequired
fields
string

Action Response

data
object
error
string
successful
boolean
Tool to retrieve a list of all campaigns. use when you need to fetch campaigns optionally filtered by status or type, with pagination.

Action Parameters

filter[status]
string
filter[type]
string
limit
integer
page
integer

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to fetch details of a customer by shop and customer id. use after confirming shop id and customer id.

Action Parameters

customer_id
integerRequired
shop_id
integerRequired

Action Response

data
object
error
string
successful
boolean
Tool to list customers for a specific shop. use when you need to retrieve and paginate ecommerce customers after you have a shop id. example: "list customers for shop 123".

Action Parameters

limit
integer
page
integer
shop_id
stringRequired

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to fetch details of a specific e-commerce shop by id. use when you need detailed configuration or stats of a connected shop.

Action Parameters

shop_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to list all e-commerce shops connected to the account. use when you need to retrieve and paginate shop listings for an account.

Action Parameters

limit
integer
page
integer

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to retrieve all custom fields defined in the account. use when you need to list or paginate through subscriber custom fields.

Action Parameters

filter[keyword]
string
filter[type]
string
limit
integer
page
integer
sort
string

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to retrieve all subscriber groups. use when you need to list or paginate through subscriber groups.

Action Parameters

filter[name]
string
limit
integer
page
integer
sort
string

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to list subscribers within a group by id. use when you need to retrieve subscribers belonging to a specific mailerlite group before targeted campaigns. use after confirming the group id is valid.

Action Parameters

cursor
string
filter[status]
string
group_id
stringRequired
include
string
limit
integer

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to retrieve all segments in the account. use when you need to list or paginate through segments.

Action Parameters

limit
integer
page
integer

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to retrieve all subscribers. use after connecting account and when listing subscribers by status or paginating. limited by mailerlite connect api quotas.

Action Parameters

cursor
string
filter[status]
string
include
string
limit
integer

Action Response

data
array
error
string
links
object
meta
object
successful
boolean
Tool to retrieve all configured webhooks. use when you need to list webhooks for your mailerlite account.

Action Parameters

Action Response

data
array
error
string
successful
boolean
Tool to enable or disable double opt-in for new subscribers. use when configuring subscription confirmation settings.

Action Parameters

double_opt_in
booleanRequired

Action Response

data
object
error
string
successful
boolean
Tool to update a customer's data for a shop by ids. use when you need to change email, marketing opt-in, or spend totals for an existing customer.

Action Parameters

accepts_marketing
boolean
create_subscriber
boolean
customer_id
stringRequired
email
stringRequired
shop_id
stringRequired
total_spent
number

Action Response

data
object
error
string
successful
boolean
Tool to update settings of a connected e-commerce shop by id. use when you need to modify shop details (name, url, currency) or toggle features after verifying the shop exists.

Action Parameters

access_data
string
currency
Required
enable_popups
boolean
enabled
boolean
group_id
integer
name
stringRequired
platform
string
shop_id
stringRequired
url
Required

Action Response

data
object
error
string
successful
boolean
Tool to update the title of an existing custom field. use when renaming a field label (e.g., correct typos or rebranding).

Action Parameters

field_id
stringRequired
name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to update a group's name by id. use when renaming an existing group after confirming its id.

Action Parameters

id
stringRequired
name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to rename an existing segment by id. use when you need to update a segment's name after confirming its id.

Action Parameters

id
stringRequired
name
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to update an existing subscriber's information by id. use when altering subscriber details.

Action Parameters

fields
object
groups
array
id
stringRequired
ip_address
string
opted_in_at
string
optin_ip
string
status
string
subscribed_at
string
unsubscribed_at
string

Action Response

data
object
error
string
successful
boolean
Tool to update an existing mailerlite webhook. use when you need to change its url or event triggers by id.

Action Parameters

batchable
boolean
enabled
boolean
events
arrayRequired
name
string
url
Required
webhook_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Create automation

Action Parameters

is_active
boolean
name
stringRequired
trigger
objectRequired

Action Response

data
object
error
string
successful
boolean