Skip to content

Help centerSending

Lists in emails (data sources)

Your latest posts or your products in an email, read as it goes out.

2 min read

A list fills a section of an email with items that change: your blog's latest posts, your newest products or best sellers, events from a JSON address. The section is repeated once per item when the email goes out, so a newsletter you schedule today shows what is new on the day it is sent.

Making a list

Lists are made from the email editor. Add your blog to an email and paste its address: the editor finds the blog behind it (a WordPress site from any of its pages, a feed's own address, or the feed a page announces), names the list after the site and shows its first posts. Nothing else to set up.

With a shop connected, its products are lists too: the newest in stock, the best sellers of the last 90 days, or products you choose by hand.

Seeing and editing them

Settings → Lists for emails shows every list with its first items as they read now, and why a read failed. There you can rename a list, change how many items it gives, read it again or delete it. You can also add a feed or a JSON address by hand: for JSON, say where the list is and which fields to keep.

In the email

A repeated section writes each item's fields where you put them. In HTML that reads:

{{#each source.<id> limit=3}}
  <a href="{{item.url}}">{{item.title}}</a>
{{/each}}

limit=N shows at most the first N items, within the list's own limit. Everything is escaped and links must be http or https.

What each person sees

Some lists are per recipient: their last order, best sellers they have not bought yet, and the cart they left. An {{else}} part is shown to those who have none. Previews and test emails show the recipient you pick.

When a list fails

Lists are read when the campaign is frozen for sending, and in previews, test emails and automation emails; a read is kept for a quarter of an hour. A list that fails or comes back empty leaves its section out of the email instead of sending it broken, and the check before sending tells you so.

Still hungry for answers?

See every guide