← Mailerlite

Create Subscriber with Mailerlite API

Pipedream makes it easy to connect APIs for Mailerlite and 1,600+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create Subscriber with the Mailerlite API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 750,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

Create a workflow to Create Subscriber with the Mailerlite API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create Subscriber action
    1. Connect your Mailerlite account
    2. Configure Email
    3. Optional- Configure Name
    4. Optional- Select a Type
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create Subscriber with Mailerlite API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Mailerlite
 
Try it
Create Subscriber with Mailerlite API on New Message from Discord API
Discord + Mailerlite
 
Try it
Create Subscriber with Mailerlite API on New Message In Channels from Slack API
Slack + Mailerlite
 
Try it
Create Subscriber with Mailerlite API on New Message in Channel from Discord Bot API
Discord Bot + Mailerlite
 
Try it
Create Subscriber with Mailerlite API on New Submission from Typeform API
Typeform + Mailerlite
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Create Subscriber on Mailerlite
Description:Create a new subscriber. [See docs](https://developers.mailerlite.com/docs/subscribers.html#create-update-subscriber)
Version:0.0.3
Key:mailerlite-create-subscriber

Code

import utils from "../../common/utils.mjs";
import mailerlite from "../../mailerlite.app.mjs";

export default {
  key: "mailerlite-create-subscriber",
  name: "Create Subscriber",
  description: "Create a new subscriber. [See docs](https://developers.mailerlite.com/docs/subscribers.html#create-update-subscriber)",
  version: "0.0.3",
  type: "action",
  props: {
    mailerlite,
    email: {
      propDefinition: [
        mailerlite,
        "email",
      ],
    },
    name: {
      propDefinition: [
        mailerlite,
        "name",
      ],
    },
    type: {
      propDefinition: [
        mailerlite,
        "type",
        () => ({
          type: "create",
        }),
      ],
    },
  },
  async run({ $ }) {
    const data = {
      email: this.email,
      name: this.name,
      type: this.type,
    };

    const resp = await this.mailerlite.createSubscriber(utils.removeUndefined(data));
    $.export("$summary", "Successfully created subscriber");
    return resp;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
MailerlitemailerliteappThis component uses the Mailerlite app.
Emailemailstring

Email of the subscriber

Namenamestring

Name of the subscriber

TypetypestringSelect a value from the drop down menu.

Authentication

Mailerlite uses API keys for authentication. When you connect your Mailerlite account, Pipedream securely stores the keys so you can easily authenticate to Mailerlite APIs in both code and no-code steps.

Get your Mailerlite developer API key here

About Mailerlite

Email marketing software

More Ways to Use Mailerlite

Triggers

New Subscriber Added From Form (Instant) from the Mailerlite API

Emit new event when a new subscriber is added though a form.

 
Try it
New Subscriber Created (Instant) from the Mailerlite API

Emit new event when a new subscriber is created.

 
Try it
New Subscriber Unsubscribed (Instant) from the Mailerlite API

Emit new event when a subscriber is unsubscribed.

 
Try it

Actions

List Subscribers with the Mailerlite API

Lists all subscribers in a group. See the docs here

 
Try it
Remove Subscriber From Group with the Mailerlite API

Removes single subscriber from specified group. See the docs here

 
Try it
Subscribe to MailerLite Group with the Mailerlite API

Add a subscriber to a group. See the docs here

 
Try it
Update Subscriber with the Mailerlite API

Updates single active subscriber. See docs

 
Try it

Explore Other Apps

1
-
12
of
1,600+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.