---
description: Steps to create an email campaign using Lemnisk Marketing Automation Platform.
---

# Create Email campaign

### Create an Email Campaign

**Step 1:** Create an **Email Engagement**

{% tabs %}
{% tab title="Method 1 - Segments" %}
1. Go to Campaigns > Segments
2. Select a Segment
3. Click on **Emai**l.
4. Click on **Add Engagement**.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FkH5vuaoUsQM8UHSq8Kpb%2FSegment_E.gif?alt=media&#x26;token=45cfd0d5-49a7-4eb7-ac3d-1b6395623ec2" alt=""><figcaption><p><em>Gif: Adding an engagement via Segment flow</em></p></figcaption></figure>
{% endtab %}

{% tab title="Method 2 - Channels" %}
1. Go to Campaigns > Channels
2. Click on the Email channel on the left
3. Click on Add Engagement
4. Choose a segment from the list
5. Click on Confirm And Proceed To the Next Step

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FQU7DYSXCgIMJqdD5PxOp%2FChannel_E.gif?alt=media&#x26;token=c83143a8-c93e-4765-b25d-72cc6289aabb" alt=""><figcaption><p><em><strong>Gif</strong>: Adding an engagement via channels</em></p></figcaption></figure>
{% endtab %}
{% endtabs %}

**Step 2:** Add **General details** of Engagement

* **Engagement Name (mandatory):** Enter a name for the Engagement. It should range from **6-25 characters**.
* **Label (mandatory):** Choose a product label from the list. Click [here](../../getting-started#product-label) to learn more about product labels.
* **Choose Email Client (mandatory):** You can choose to configure ESP. Lemnisk shows the one you have selected by default.

**Step 3:** Add a **Goal**\
**Goal Type:** Choose a goal type from the list. To know more about **Conversion Goals**, follow [this](../../getting-started#conversion-goal) guide.

{% hint style="success" %}
As you enter the data into each section to create an Engagement, the section will turn <mark style="color:red;">red</mark>. Once all the information about the section has been entered, the section will turn <mark style="color:green;">green</mark>. You can complete the sections in any order, but all the sections must turn <mark style="color:green;">green</mark> before you click on Update Engagement.
{% endhint %}

**Step 4:** Enter **Email Settings**

* **From (mandatory):** Choose the email address from which the communication will be established. Make sure that this email address should be verified at the ESP end.&#x20;
* **Reply** **To:** Choose the email address to reply to the user.

{% hint style="info" %}
You can add From and Reply To email addresses in [Settings.](../../settings/contacts)
{% endhint %}

**Step 5: Configure Template**

* **Subject (mandatory):** Add a subject that specifies what the email is about. You can add emojis to make it more interactive.
* **Preview Text:** Enter the preview of the email. It also supports emojis.
* **Body (mandatory):** You can configure your mail template in two ways.

{% hint style="info" %}
While clicking inside the text editor, a + sign will pop up on the left side of the window pane, allowing you to quickly insert images, videos, tables, lists, and lines.
{% endhint %}

{% tabs %}
{% tab title="WYSIWYG Editor" %}
In the WYSIWYG editor (**W**hat **Y**ou **S**ee **I**s **W**hat **Y**ou **G**et)  you can configure engaging email templates within minutes and see the preview while configuring.&#x20;

1. WYSIWYG editor allows you to dynamically edit your email template by uploading images, adding tables, modifying font and button styles, and more.
2. You can add macros wherever needed using @ which populates the list of configured macros.
3. You can add the body content in HTML format using the code block by clicking on the right corner of the body pane. This code block allows you to create simple templates in HTML that include CTA buttons, and other simple dynamic functionalities.

{% embed url="https://drive.google.com/file/d/1djueJQvDyBOIV-tcQL2WxmUC7tF-2ooq/view?usp=sharing" %}
_**Demo: WYSIWYG Editor**_
{% endembed %}
{% endtab %}

{% tab title="HTML Zip Upload" %}
The WYSIWYG Editor poses challenges in two areas - it sometimes modifies the HTML tags leading to unwanted elements in the template and, manually updating all the local images in the HTML with CDN links takes a lot of time, sometimes close to 1 hour! \
\
HTML Zip Upload allows the marketer to upload an exported HTML file directly to the Email editor. This feature parses the zip file containing HTML along with other assets, such as CSS files and images. It then replaces the local paths in the HTML with the CDN URLs for the images, eliminating the need for manually updating the image source link for each template. You can refer to the rendered template from the preview.  Below are the important points to consider:

1. Eliminates the need to manually replace the image source link with CDN links.
2. You can configure macros in HTML wherever necessary by searching content in the HTML editor using Find and Replace (CTRL/CMD + F).
3. To modify buttons and other redirection links, search 'href', 'onclick', 'onsubmit' etc. on the HTML editor and modify the link present. The changes will be reflected in the preview.
4. &#x20;HTML zip should be without the ‘\_\_MACOSX’ folder, if present, remove the folder and Zip again.
5. Adding Emojis: You need to put the UTF-8 code of the emoji for it to render in the Email.&#x20;
   1. Here is an example: \&#128540 is the UTF-8 code for 😜
   2. How to get the UTF-8 code? Visit this [exhaustive list of UTF-8 Emoji codes](https://www.w3schools.com/charsets/ref_emoji_smileys.asp). Navigate to the emoji of your choice, click "Try it" and then copy the UTF-8 code from the sample.

{% hint style="info" %}
Switching to WYSIWYG while uploading the zip file will remove the current configuration you make in the HTML zip Upload.
{% endhint %}

{% embed url="https://drive.google.com/file/d/1L70unJlC3cYrspJts7fRIqKDvbX_6_AT/view?usp=sharing" %}
_**Demo: HTML Zip Upload**_
{% endembed %}
{% endtab %}
{% endtabs %}

\
\
**Template Preview**

You can preview your email templates. Move your cursor to **Show Preview** to see how the email looks on different devices. The preview is updated in real time. You can view it on Desktop, Mobile, and Tablet mode.

{% hint style="danger" %}
In case you make any changes in the code view of the template, it is mandatory to click the code view icon again in order to save the changes.
{% endhint %}

{% hint style="info" %}
You can undo and redo changes to each sub-section. To view it in full screen, click the three dots of each sub-section, select the information, or view the code.
{% endhint %}

**Step 6:** **Schedule Settings**

**Schedule**: You can schedule an engagement to send later or trigger immediately or after some time. To learn more about **Engagement Scheduling**, click [here](../../getting-started#engagement-scheduling).

**Step 7: Save Engagement**

Click "Save" to save the Engagement.

{% embed url="https://drive.google.com/file/d/1F8R3qVgqXUhQIVVglDlHAddD9vAmRtYm/view?usp=sharing" %}
_Demo: Create Email Campaign_
{% endembed %}

{% hint style="danger" %}
Once you have created an engagement, you cannot change the name of the engagement or the schedule settings.
{% endhint %}

### Send Test Email

You can send a test email to testing contacts defined at Lemnisk. Although the preview is being shown while creating or updating engagement, the email may look different in different email clients such as Gmail, Outlook, etc. You can verify the same by sending a test email and making changes as necessary. You can add a test email contact in Settings.&#x20;

**Follow the below-mentioned steps to send a test mail:**

**Step 1:** From the list of Engagements, click on the three dots in the Schedule section.

**Step 2:** Click on **Send Test Email**.

**Step 3:** Enter the email to send test mail.

**Step 4:** Click on the **Send Test Email** button.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FcA3nVFlzIe4vtd0RLIMF%2Fimage.png?alt=media&#x26;token=04b377fc-8a89-4d67-8395-1e748ba869a4" alt=""><figcaption><p><em>Image: Send Test Email</em></p></figcaption></figure>
