MailBluster

The MailBluster modules allow you to watch, create, update, list, and delete the products, orders, and leads in your MailBluster account.

Getting Started with MailBluster

Prerequisites

  • A MailBluster account

In order to use MailBluster with Make, it is necessary to have a MailBluster account. You can use Google account or you can create a MailBluster account at app.mailbluster.com/auth/signup.

Note

The module dialog fields that are displayed in bold (in the Make scenario, not in this documentation article) are mandatory!

Connecting MailBluster to Make

To connect your MailBluster account to Make you need to obtain the API Key from your MailBluster account and insert it in the Create a connection dialog in the Make module.

  1. Log in to your MailBluster account and open your Dashboard.

  2. Click any brand > Settings > API Keys > Create New API Key.

    61f272d748819.gif
  3. Enter a name for the API Key and click Create API Key.

    61f272d98c7b9.png
  4. Copy the API key to your clipboard.

    61f272dab6c41.png
  5. Go to Make and open the MailBluster module's Create a connection dialog.

    61f272dc032ee.gif
  6. In the Connection name field, enter a name for the connection.

  7. In the API Key field, enter the API Key copied in step 4 and click Continue.

The connection has been established.

Product

Creates a product.

Connection

Establish a connection to your MailBluster account.

ID

Enter an ID for the new product.

Name

Enter the name of the product.

Gets one product by product ID.

Connection

Establish a connection to your MailBluster account.

Product ID

Select the Product ID whose details you want to retrieve.

Updates a product.

Connection

Establish a connection to your MailBluster account.

Product ID

Select the Product ID whose details you want to update.

Product Name

Enter the name of the product.

Deletes a product.

Connection

Establish a connection to your MailBluster account.

Product ID

Select the Product ID you want to delete.

Runs when new products are created.

Order

Creates an order.

Connection

Establish a connection to your MailBluster account.

ID

Enter a unique ID for the order.

Customer's Email

Enter the customer's email address whose order you are creating.

The related Campaign ID

Enter the Campaign ID related to the order.

The Currency Code

Enter the three-digit currency code applicable for the order.

The total price of the order

Enter the total amount of the order.

Items

Add the items:

Product ID

Enter the product ID of the item.

Name

Enter the name of the item.

Price

Enter the price of the item.

Quantity

Enter the number of items.

Customer's Subscribed

Select whether the customer is subscribed:

  • Yes

  • No

  • Not defined

Customer's First Name

Enter the customer's first name.

Customer's Last Name

Enter the customer's last name.

Customer's Timezone

Select the timezone of the customer.

Customer's any additional information

Add any additional information about the customer:

Label

Enter a label name. For example, Address.

Value

Enter the value of the label. For example, street name.

Customer's Tags

Add the tags to filter the orders when searching.

Customer's IP Address

Enter the customer's IP address.

Gets an order by Order ID.

Connection

Establish a connection to your MailBluster account.

Order ID

Select the Order ID whose details you want to retrieve.

Deletes a lead.

Connection

Establish a connection to your MailBluster account.

Order ID

Select the Order ID you want to delete.

Updates an order by order ID.

Connection

Establish a connection to your MailBluster account.

Email Address for Update

Enter the email address of the customer whose order details you want to update.

New Email Address

Enter a new email address of the customer.

Customer

Select whether the lead is a customer:

  • Yes

  • No

  • Not defined

First Name

Enter the customer's first name.

Last Name

Enter the customer's last name.

Timezone

Select the timezone of the customer.

Company

Enter the company name to which the customer belongs.

Role

Select the role of the customer in the company.

IP Address

Enter the customer's IP address.

Runs when a new order is created.

Lead

Creates a lead.

Connection

Establish a connection to your MailBluster account.

Email

Enter the email address of the lead.

Subscribe

Select the checkbox if the lead is subscribed to marketing emails.

First Name

Enter the first name of the lead.

Last Name

Enter the last name of the lead.

Timezone

Select the timezone of the lead.

Any additional information of the lead

Add any additional information about the lead:

Label

Enter a label name. For example, Address.

Value

Enter the value of the label. For example, the street name.

Tag(s) name of the lead

Add the tags to filter the orders when searching.

IP Address

Enter the lead's IP address.

If lead exists, should it get overridden?

Select whether to override if the lead already exists:

  • Yes

  • No

  • Not defined

Gets a lead by lead email.

Connection

Establish a connection to your MailBluster account.

Email Address

Enter the email address of the lead whose details you want to retrieve.

Updates a lead.

Connection

Establish a connection to your MailBluster account.

Email Address for Update

Enter the email address of the lead you want to update.

New Email Address

Enter a new email address of the lead.

Customer

Select whether the lead is a customer:

  • Yes

  • No

  • Not defined

First Name

Enter the first name of the lead.

Last Name

Enter the last name of the lead.

Timezone

Select the timezone of the lead.

Company

Enter the company name to which the lead belongs.

Role

Select the role of the lead in the company.

IP Address

Enter the IP address of the lead.

Deletes a lead.

Connection

Establish a connection to your MailBluster account.

Email

Enter the email address of the lead you want to delete.

Other

Performs an arbitrary authorized call.

Connection

Establish a connection to your MailBluster account.

URL

Enter a path relative to https://api.mailbluster.com/.

Note

For the list of available endpoints, refer to the MailBluster API Documentation.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

The following API call returns all products from your MailBluster account:

URL:

/api/products

Method:

GET

61f272de20c56.png

Matches of the search can be found in the module's Output under Bundle > Body.

In our example, 2 products were returned:

61f272df1aa5c.png