Integration with MailBandit
Sarunas avatar
Written by Sarunas
Updated over a week ago

Supercharge engagement and conversions using cutting-edge AI-powered A/B testing by integrating with MailBandit.

Effortlessly optimize campaigns in real-time, unlocking unprecedented results. Elevate your strategy with MailBandit now – simple, intelligent, and fast!

Before You Begin

  • To proceed, you must have a MailBandit account created; if you don't have one already - get in touch with one of the MailBandit team at [email protected] to start your free 1-month trial.

Setup Process

Step 1. Getting Your API Key.

  • Login to your Omnisend dashboard.

  • Click on your Account in the top right corner.

  • Click on Store settings.

  • Scroll down and click on the "API Keys" on the left side menu. See the image below for reference.


  • Click on the "Create API Key" button.

  • Enter a name for the key; you can name it "MailBandit" or anything you want for easy reference.

  • Select all the permissions. Refer to the image below for details.

  • After selecting all the permissions, click the "Create API key" button.

  • Copy and paste the newly created API key onto the MailBandit Configuration page.

Step 2. Preparing the tags.

This step is required to create tags, which are essential to making the integration work.

Proceed to Omnisend dashboard → click Create Workflow.

On the next page, click Create from scratch.

In the new workflow - drag and drop the 'Tag contact' block to the flow.

After clicking on the automation block - select 'Add,' enter a tag representing your experiment name, and click '+create new'; in the example, we use 'experiment_1'.

This creates the tag to be used in further steps; now we need a few more of those, so in the same automation block - replace the last tag and create a tag for successful emails; in the example, we use 'successful_email.'

Now, create a tag for variations, as shown in the screenshot below.

Repeat this step until you have a tag for however many variations you plan to have.

Tags can be added later if you want additional variations for the experiment.

Now that all tags are created - you can delete the 'Tag contact' automation block.

Step 3. Preparing segments.

Navigate to Audience → Segments and click on Create segment.

Create a segment named 'to send' based on a tag named after your experiment; in our example - it was 'experiment_1':

Optionally - create a segment based on a successful email tag; in our example, it is 'successful_email.'

Step 4. Preparing automation

You can use previously created automation or create a new automation from scratch. As a trigger - select 'Contact enters a segment' with a trigger filter 'Segment is 'to send''.

Drag and drop a 'Split' automation block to the automation.

Set up a rule for your first variant tag; in our example, it is 'variant_1'.

Repeat a split block under the 'NO' path for each variant tag that you have created; under each 'YES' path - add an email block; these will be your email variations, and under the emails - add a 23-hour delay block so it would look similar to this.

Under each delay block, add another split block with a rule where contacts will go to the 'YES' path if they have opened or clicked on a previously sent email. Under the 'YES' path - add an automation block that adds a tag for your successful emails. In our example - we check if contacts have opened the email, and if so - they are tagged with 'successful_email.'

Your automation should look like this based on the number of variations you use and their naming.

When automation is set up - click on 'Start workflow.'

Step 5. Prepare your audience.

Create and/or select a segment you want to run your experiment on and copy the URL you see when in the segment; in our example - we selected all subscribers.

Step 6. Setting up your first experiment.

Go to MailBandit Dashboard, create a new experiment, and fill out the required fields.

  • 'Experiment ID' is the experiment name.

  • 'Allocations Per Day' is how many emails you want to send daily.

  • 'Design Tag X' should be filled with your variation tags; in our example - we use variation_1, variation_2, and variation_3.

  • 'Success Tag' should be filled with a tag for successful emails; in our example - we use successful_email.

  • 'Main Segment URL' should be filled with the segment URL from Step 5 of this guide.

  • 'Workflow Trigger Tag' should be filled with a tag that represents your experiment; in our example - we use experiment_1

Please refer to our examples to fill in the field correctly.

When everything is completed according to the tags you used in automation, you can create and start the experiment!

If you have any questions or issues regarding setup in Omnisend - do not hesitate to contact us via email at [email protected] or in-app chat; we are available 24/7.

If you have any questions regarding MailBandit themselves - reach out to [email protected].

FAQ

When are the emails being sent?

The emails are sent between 10:00 and 11:00 GMT/UTC.

Did this answer your question?