MailerLite
MailerLite is an email marketing platform that allows users to create, send, and analyze email campaigns with ease. It offers features such as automation, subscriber management, landing pages, and integrations with various tools, making it ideal for businesses of all sizes looking to engage their audience effectively.
How to Integrate MailerLite with ZBrain Flow
To begin integrating MailerLite with ZBrain Flow, follow these steps:
Step 1: Click the ‘+’ Button in ZBrain Flow
Click the ‘+’ button in ZBrain Flow to add a new integration.
Step 2: Search for Google Sheets
In the search bar, type "Mailerlite" and select it from the list of available integrations.
Step 3: Select an Action
Once you’ve selected MailerLite, you’ll be prompted to choose an action for the integration.
Options typically include adding, updating, or removing subscribers, as well as making custom API calls.
How to Connect MailerLite to ZBrain Flow
To establish a connection with MailerLite and ZBrain Flow, follow these steps:
Step 1: Provide a Connection Name
Choose a unique name for your connection to easily identify it within your ZBrain Flow environment. This helps in managing multiple integrations if required.
Step 2: Enter the MailerLite API Key
The API key allows ZBrain Flow to securely communicate with your MailerLite account and access its data.
How to Get Your MailerLite API Key
To retrieve your MailerLite API key, follow these steps:
Log in to your MailerLite Account
Open your web browser and go to the MailerLite website.
Log in with your email address and password.
Access the Developer API Settings
From the dashboard, navigate to the Integrations page by selecting it from the left-hand sidebar.
Generate Your API Key
Under the MailerLite API, click Use to access the API section.
Click on the Generate new token button to create a new API key.
Name the token (e.g., "ZBrain Flow Integration" or "Shopify Integration" based on the use case).
You can optionally set IP restrictions if you want to limit which IP addresses can use the API key.
Click Create token to generate the key.
Copy and Save Your API Key
Once the key is generated, copy it to your clipboard and save it in a secure location for future use.
Actions Available in MailerLite Integration
Once the connection is established, you can automate various tasks using the MailerLite API. Here are the main actions available:
1. Add Subscriber to a Group
This action allows you to add a new subscriber to a specific group in MailerLite.
Configuration Steps:
Enter the API Key: Provide the API key obtained from your MailerLite account.
Enter the Subscriber ID: This is a unique identifier for the subscriber you wish to add.
Enter the Group ID: Specify the group to which the subscriber will be added.
2. Add or Update Subscriber
This action is to either add a new subscriber or update an existing one in MailerLite.
Configuration Steps:
Enter the API Key: Input the API key from MailerLite.
Enter the Subscriber's Email: Provide the email address of the subscriber you are adding or updating.
Select the Subscriber Status: Choose the status of the subscriber. Options include:
Active: The subscriber is actively receiving communications.
Unsubscribed: The subscriber has opted out of receiving emails.
Unconfirmed: The subscriber has not confirmed their subscription.
Bounced: The subscriber’s email address is invalid.
Junk: The subscriber’s email is marked as junk.
If you leave this field blank, the default status will be Active.
Enter Group IDs: List the group IDs the subscriber should be associated with.
Enter Subscription Dates:
Subscribed On: The date when the subscriber first subscribed.
Opt-In Date: The date when the subscriber confirmed their subscription.
Enter Signup IP Address: Optionally, provide the IP address used when the subscriber signed up.
Enter Opt-In IP Address: Optionally, provide the IP address used when the subscriber confirmed their opt-in.
3. Find a Subscriber
This action allows you to locate an existing subscriber based on their ID or email address.
Configuration Steps:
Enter the API Key: Provide your API key.
Enter the Subscriber ID or Email: Specify either the subscriber’s unique ID or their email address to locate their information.
4. Remove Subscriber from a Group
This action allows you to remove a subscriber from a specific group in MailerLite.
Configuration Steps:
Enter the API Key: Provide your MailerLite API key.
Select the Subscriber ID: Choose the subscriber you want to remove.
Select the Group ID: Specify the group from which you want to remove the subscriber.
5. Custom API Call
This action provides flexibility to make any custom API request, allowing for advanced integration and automation.
Configuration Steps:
Enter the API Key: Provide the API key from MailerLite.
Enter the URL: You can use the full URL or a relative path to the base URL for the API request.
Select the HTTP Method: Choose the appropriate HTTP method based on the action you want to perform:
GET: Retrieve information, such as subscriber details.
POST: Create new data, such as adding a new subscriber.
PATCH: Update existing data, such as modifying subscriber information.
PUT: Replace existing content in a file (useful for full updates).
DELETE: Remove content, such as deleting a subscriber or a file.
HEAD: Fetch only response headers, without retrieving the data.
Add Headers: Define any additional headers required for the API request. Authorization headers will be automatically injected. You can click ‘+ Add Item’ to include more headers.
Add Query Parameters: Customize your API requests with query parameters. For example, you can filter results or define specific parameters. Click ‘+ Add Item’ to add more parameters.
Enter JSON Body: If you are using POST, PUT, or PATCH methods, enter the structured data in JSON format that you want to send in the request body.
Set Timeout: Define the timeout duration (in seconds) for the request to prevent long-running API calls from stalling the process.
Note: Click 'f' to insert dynamic values for flexible configurations.
Last updated