Drag-and-Drop Emails: The Basics

Updated

Drag-and-drop emails consist of content, rows, and settings. Content blocks are discreet pieces of email content, images, text, etc. Rows provide the structure of your email—they determine how many pieces of content you can fit across the width of your message.

Settings

The Settings tab contains general settings for your whole message: background color, default typeface, link color, etc. Content blocks in your email inherit these settings.

Rows and content

The email editor consists of Rows and Content. In general, you’ll add rows to your email, providing a basic structure for your message, and then add content - the images, text, and information you want to send people - to your rows.

The Rows tab provides a way to structure your email before you add content. Each row determines the number and size of content blocks you can fit across your message. You can add multiple rows, with different numbers of content blocks, to add visual appeal to your message.

Drag and drop row panel
Drag and drop row panel

The Content tab contains the different kinds of content that you can add to a row—text, title, images, etc. When you click a content block in your email, you’ll see settings specific to the type of content in the row.

For example, if you wanted to add a two-column block with text and an image, you would:

  1. Click the Rows tab and drag a two-column row into your email.
  2. Go to the Content tab to drag text and image blocks into the row.
  3. Click your content blocks to add your text and image respectively.
drag blocks into a row

Save rows

In the drag-and-drop editor, you can save individual rows and reuse them in other drag-and-drop messages—like headers or footers that you want to reuse across all of your messages. If you’re familiar with our rich text and code editors, you know you can create layouts to add global headers and footers. Saved rows are the equivalent in the drag-and-drop editor.

 Updating a saved row does not update it everywhere

You can make changes to a saved row after you drag it into your email, and then save it again. However, your changes to a saved row are only reflected when you use the row again; they do not affect messages where you’ve already used the row.

  1. Select a row and click .
  2. Set a Name and Category for your row, like “header” or “footer”. These help you select the row when you want to reuse it.
  3. Click Save row.
    Save a row in an email
    Save a row in an email

Find a saved row

Within Rows, we show 30 rows at a time. You can filter rows by category or search for a row by name. If you have more than 30 rows in a category, you may need to search by keyword to find the row you want to use.

An image of the top portion of the drag and drop editor's right sidebar. There are three tabs at the top: content, rows, and settings. Rows is selected. There is a dropdown with the category, All custom rows, selected. Below that, the word footer is entered in the search bar.
An image of the top portion of the drag and drop editor's right sidebar. There are three tabs at the top: content, rows, and settings. Rows is selected. There is a dropdown with the category, All custom rows, selected. Below that, the word footer is entered in the search bar.

Use a saved row

If you saved rows of content in the drag and drop editor, you can reuse those rows in other emails. Rows are organized by category.

With nothing selected in the editor:

  1. Click Rows and select the category containing the row you want to use.
  2. Drag the row into your layout.
add a saved row

Update a saved row

You can update a saved row after you drag it into your message. However, your changes to a saved row are only reflected when you use the row again; they do not affect messages where you’ve already used the row.

If you want to update a row in other campaigns and messages, you need to go to the campaign or message you want to update, re-insert the row, and then save the message.

To modify a row that you have already saved:

  1. Click Rows and select the category containing the row you want to use.
  2. Drag the row into your layout.
  3. Make changes to the row, and then click . You can either Update the row or save it as a new row.

Manage and delete rows

In the drag and drop editor, go to Rows, and select Manage saved rows from the drop-down menu to see a list of your saved rows.

select manage saved rows from the Rows drop down box
select manage saved rows from the Rows drop down box

Click to edit the name and category assigned to a row.

Click to delete a row. Deleting a row only prevents you from using the row in the future, it does not remove the row from any messages currently using it.

Click manage saved rows to see a list of your saved rows.
Click manage saved rows to see a list of your saved rows.

Row settings and responsiveness

By default, content blocks stack on mobile devices, going from left-to-right order to top-to-bottom.

You can click any row in your message and determine how it behaves in mobile contexts. Do you want to disable collapsing behavior, or hide content on smaller devices? Click each row to reveal responsive settings.

By default, content blocks stack from left to right:

Standard width
dnd-2column-1.png
dnd-2column-1.png
Mobile width
dnd-2column-2.png
dnd-2column-2.png

If you select the row and toggle on Do not stack on mobile, your email will resize without stacking content.

dnd-do-not-stack.png
dnd-do-not-stack.png
dnd-do-not-stack2.png
dnd-do-not-stack2.png

You can also set the width of cells to customize the layout of a row.

Change image width
Change image width

Set background colors

By default, the backgrounds of rows and content blocks are transparent. You can change the background at the row or content level.

The background of a row stretches to the edge of your audience’s email browser. The content background is contained by the cell itself.

  1. Click the row you want to set a background color for.
  2. Set the Row background color, the Content background color, or both!

Personalize messages with user data

You can leverage data associated with your audience to personalize messages for each recipient!

When working with text content, click Merge Tags. We’ll list the contexts and data available to your message. Or, if you know exactly which attribute you want to add to your message, you can type it manually.

For example, let’s add a first name to a message.

add a merge tag

Personalize messages with liquid conditions

You can use liquidA syntax that supports variables, letting you personalize messages for your audience. For example, if you want to reference a person’s first name, you might use the variable {{customer.first_name}}. comparison operators or logical expressions (statements using &, <, >, etc) to personalize messages too. Check out what version of liquid your messages use to learn which liquid tags and filters are available to you. Click More > Add Liquid in the content menu when working with text.

liquid-drag-and-drop.png
liquid-drag-and-drop.png
image.png
image.png

 Do not type complex expressions into a text block

Logical and comparison operators will not work in the drag-and-drop editor if you type them directly into the text area. Use the Add Liquid option so that you don’t inadvertantly expose raw liquid statements in your message.

Show or hide content using liquid

You can use liquid to show or hide entire rows in your email.

  1. Select a row in your email and click Add Condition.
Add Display Condition
Add Display Condition
  1. Enter a Name and Description for the condition.
  2. Provide the liquid condition determining who will see the row.

For example, this row displays only if a person in your audience has a “state” attribute with a value of “paying”.

Display Condition Example 2
Display Condition Example 2

Customizing headers

To maximize space to compose your message, you can collapse email headers.

collapsable header bar
collapsable header bar

You can see a preview of the From, To, and Subject lines when you collapse headers. To add a new header, like Reply To or BCC, use the quick-add options. To add a custom header, click Add custom and specify the header you want to add. You can add up to 10 headers.

To add preheader text, expand the headers and click Add preheader text.

dnd-headers-2.png
dnd-headers-2.png

Add images

You can add images to your messages using the image content block.

When you add an image block to your email, you can upload new images or insert ones you’ve already uploaded. You can also supply a link to an externally hosted image.

dnd-image-add.png
dnd-image-add.png

Change image sizes

To customize an image’s size, click the image block and toggle off Auto width. Adjust the scale to your desired percentage. You can also set Full width on mobile.

resize an image
resize an image

Set a dynamic url for an image

Dynamic images render based on data unique to your recipient. They’re a way of personalizing images based on liquid attributes for your customers, events, or objects. You can upload images to our asset library or host them yourself; just be sure to follow best practices for images. When you’re ready, save the image URL as a customer attribute or event property so your liquid (detailed below) renders the personalized image in your campaign.

To include an image based on a dynamic url:

  1. Drag an Image content block onto your canvas.

  2. Browse for an image in your assets library or upload a new one to use for testing.

  3. Under Content Properties, toggle Dynamic image on.

  4. Enter the appropriate liquid into the Dynamic Url field. In the example below, people have an attribute called profile_image.

    In the dynamic URL field is the liquid {{customer.profile_image}}
    In the dynamic URL field is the liquid {{customer.profile_image}}

    If this attribute exists for a recipient, the image will display in the email; otherwise, you must add if/else liquid statements to render a fallback. Start by uploading your fallback image to your asset library. Then copy the asset’s link and paste into the else statement. For example:

    {% if customer.profile_image != blank %}{{customer.profile_image}}{% else %}img-url{% endif %}
    

    If the fallback image is stored in your asset library, click the link icon to copy the URL and paste into your liquid condition.

    asset-link.png
    asset-link.png
  5. Save your email.

Preview the message to see the image change depending on the person you’ve selected.

Set background images

To add a background image to your row:

  1. Click a row.
  2. Click Row Background Image.
  3. Enter the Url of your image or click Change image to use an image that you’ve already uploaded.
  4. Select the display parameters for the image—whether to stretch, repeat, or center it.
add a background image
add a background image

Add a navigation menu to your email

You can add a menu to the top of your email, simulating something your audience might see on your website.

  1. Add a four-column structure.
  2. Drag Text content into each, then add your individual text and links into the columns themselves.
  3. Adjust the row background, if you’d like the background color to be full-width.
  4. Scroll to the bottom of your row settings, and add borders to the right of content blocks 1, 2, and 3. (Click More Options to expose border settings for the sides of each block).
menu with 4 links
menu with 4 links

By default, even when you start from scratch, we insert the default unsubscribe link for you. You can remove this link, but if you do, you must include your own unsubscribe link so people can opt out.

the default unsubscribe link
the default unsubscribe link

You can also add the View in Browser link through the menu of a text block under Special links. This adds a link that lets people view your message in their browser rather than the email client.

menu-special-links.png
menu-special-links.png

 Need to track personalized links?

Add the data-cio-tag attribute to your links. This lets you track different individualized links in the same category, so you can gather useful metrics about clicks to things like personalized product recommendations, password reset links, customer dashboards, etc. The data-cio-tag takes a string representing the “group” you want to track—<a href="http://mydomain.com?token=123abc" data-cio-tag="YOUR-LINK-GROUP-NAME">CLICK HERE</a>

Preview fallback

If a recipient has an email client that does not support our drag-and-drop emails, they will see a plaintext fallback.

You can preview the fallback from within the drag-and-drop editor. Select Actions > Preview plaintext in the top right.

Save your emails

We don’t autosave your email as you work on it, because we want to enable you to experiment with your emails, but still be able to discard those changes if you don’t like them! While we don’t autosave your message, we do warn you if you try to leave the editor without saving changes.

When you’re ready to save your message, click Save.

When you save, we automatically check for errors in your message and warn you about the things you need to fix.

image.png
image.png

Remember that…

  • You cannot import HTML into the drag-and-drop editor. You can, however, add HTML blocks to your message.
  • After you choose to use the drag-and-drop editor for an email, you cannot change back to the rich text or code editors.
  • If you send email using custom SMTP providers, make sure to disable their CSS inlining (if available). The drag-and-drop editor generates markup that is already optimized and doesn’t need further processing.

Have feedback?

Yes, please!

  • Found a bug?
  • Have a feature request?
  • Something doesn’t work as you expected?
  • Is some functionality missing?
  • Or are you loving the new changes and want to make sure we keep something?

Let us know!

Copied to clipboard!
  Contents
Is this page helpful?