candl docsOpen candl
Guides / Personalize an email

Smart tables

A smart table is a table in an email that fills with each family’s own rows: where each son is placed, what a family has paid, which forms are still missing. You build it once and every recipient gets their own.

12 min readUpdated 18 Nov 2026Uses example data

What a smart table is

You add a Smart Table block in the Pro email builder and choose where its rows come from. When the email is sent, candl looks up the rows that belong to each recipient and draws the table for them. A family with two boys sees two boys’ rows. A family with none sees the message you wrote for that case.

Use a smart table when the list is different for every family and has more than one row. For one value per family, a merge tag is enough.

  • It is a block in the Pro builder. You drag it in like any other block.
  • The table you see on the canvas is real. It shows one real recipient from your audience, and Preview as switches whose.
  • It works on every way of sending. Campaigns, one-off emails from a profile and emails sent from another app all fill the table the same way.
  • Older campaigns keep working. An email written with a long hand-typed table tag still sends as it did. You never need to convert it.

Add one and choose the rows

1

Drag in the block

In Blocks, drag Smart Table (the green one, next to Table) into a column. Click it. The panel says Add a table.

2

Start new, or reuse

New table opens the editor. Use a saved table lists the ones already made, with how many campaigns use each. Pick one and it is in.

3

Name it and pick the source

On the Data tab, type a Table name (for example Shiur list) and choose Rows come from. The ? beside it explains the choice you made.

Where the rows come from

SourceOne row for each
Imported datasetRecord this recipient has in a dataset. Pick the dataset below it. Use this for balances, payments, a forms checklist, anything you import.
Enrollment historyPeriod a boy was enrolled, newest first: division, grade, shiur, rebbi, English class.
Enrollment -- current periodThe same, for the current period only. candl works out which period that is when each email is sent, so a saved campaign shows next year’s placement next year.
Program historyProgram placement, newest first: program, type, class, teacher, start and end date.
Programs -- current periodThe same, for the current period only.

For the two program sources, Include his rebbe as the first row adds each boy’s rebbe as a row called Rebbe. If his rebbe already teaches him in a program, such as Hebrew Credit, that program becomes the Rebbe row.

Changing the source or the dataset clears the columns, totals, filter and sort you had, because they named fields of the old source. Choose the source first. People with giving access also see Giving: each pledge and Giving: year by year. An email that contains one is private to people with that access.

Columns

Open the Columns tab. The columns in the table are listed on top, in the order they appear. Everything the source offers and you have not used is a button underneath, like + Student Name. Click one to add it. A domain source (enrollment or programs) starts with every field chosen, so you prune. A dataset starts empty.

  • Reorder: drag a column by its grip at the left.
  • Remove: the x at the right. It goes back to the buttons.
  • Student Name is a column you can add from any source. On a family email it is how a reader tells the boys apart.

The sliders icon opens a column’s settings:

Header
The title at the top of the column. Left blank, candl tidies the field name: Amount_Paid becomes Amount Paid. For enrollment, the fields already carry the school’s words (Shiur and Rebbi).
Format
Currency ($1,200.00), Number (1,200), Percent (12.5 shows as 12.5%), or the first choice, which is As typed. When the dataset says a column holds prices, numbers, percents or dates, that choice reads From the dataset and uses it. A value that is not a number is shown as written, so an odd row is visible rather than blank.
Align
Left, Center or Right. Right suits amounts.
Width
A slider from auto to 80% of the table, in steps of 5.
Style
Bold, italic or underline for the cells under the header. The header keeps the theme’s look.
Hide on phones
Drops the column on a small screen. See On a phone.

Filter, sort and limit

The Rows tab decides which rows the recipient sees and in what order. With nothing set, every row shows, in the order of the source: imported order for a dataset, newest period first for enrollment.

Only include rows where

Choose Add condition, then a field, a test and a value. For fields candl knows the values of, such as a shiur or a program, the value is a list to pick from, so you never type one from memory.

TestKeeps the row when the field
equals, does not equalis, or is not, exactly the value
greater than, at least, less than, at mostcompares as numbers or dates when both sides are, so 100 is more than 20
is betweenfalls from the first value to the second (two boxes)
contains, starts withhas the text, ignoring capitals
is one of (comma list)is any of the values you select (or type, separated by commas)
is empty, is not emptyhas nothing in it, or something

With two or more conditions a menu appears: all match or any match.

Sort by

Add sort level picks a field and A-Z or Z-A. You can add two levels, for example by due date, then by form. Amounts and dates sort as numbers and dates, not as text.

Advanced

Whose records
Follow the email (the default), This student only, or Every sibling. See Per child or per household.
Row limit
Shows only the first rows. Under the table it says Showing 10 of 43 rows. A total still adds up all 43, so a balance is never understated.

Look, totals and empty text

The Style tab changes how the table looks. Changes show on the canvas at once.

Theme
Pick from six: Standard Blue, Minimalist Lines, Dark Header, Zebra Stripes, Rounded Border and Modern Clean. Outlook draws the last two with square corners and no shadow.
Group rows by
Instead of repeating a value in every row, shows it once as a band above its rows. Group a family ledger by Student Name and each boy’s rows sit under his name. The grouped column leaves the table.
Totals row
Tick Show. Choose the Column, then Show as Sum, Count or Average, a Label (it starts as Total:, Count: or Average:) and a Format. Count counts rows that have a value there.
When there are no rows
Show a message (type your own, or it says No records to display.), Hide the table (nothing appears), or Headers only.
The total appears under the column it adds up, with its label to the left. With Format on Auto, the total shows dollars if any value had a dollar sign and a plain number otherwise. A negative amount shows as -$700.00.

On a phone

The table is as wide as the email, so it narrows with the screen. Hide on phones removes that column only in mail apps that honor it, which includes Apple Mail and most phone mail apps. In others the column stays. Do not rely on it for a column the family must read.

Preview, save and reuse

Preview as sits at the bottom of the editor. The first choice is Sample from audience, which picks someone in your audience who has rows. Or choose any of the first 40 people in the audience. A line under it says what you are looking at, such as 2 rows for 2 children (Levi Cohen, Ari Cohen). The canvas outlines the table in green, or in amber with Unsaved draft while you are still editing.

A table whose source is a dataset connects that dataset to the campaign for you. It does not narrow the audience: families with no rows still get the email, with your empty text.

  1. Choose Save Table. It says Table saved. and the block now points at the saved table.
  2. Edit Table reopens it; Switch Table picks a different one; Cancel drops an edit you have not saved.
  3. The trash can deletes the saved table, after a confirmation.

Saving the campaign also saves an open table. If it is not finished (no name, no source or no column), the campaign still saves and says The table is not finished, so it was not saved with the campaign.

Use it in other campaigns

A saved table is shared. Another campaign picks it with Use a saved table. Each campaign holds a link to the table, not a copy, so one edit changes them all. When more than one campaign uses it, the editor warns: Used in 3 campaigns (…). Saved changes apply to all of them. If you want a variation, make a new table instead.

If you delete a table that campaigns use, they show nothing where it was. The confirmation tells you how many campaigns that is.

Before you send, the review step shows each recipient’s table too. It fills in a moment after the email appears. See Send a campaign.

Per child or per household

A table follows the email it sits in. This is set under Whose records and is almost always right as it is.

The campaign goesThe table shows
Parents (one email per family)The rows of every boy of that family who is in your audience. Use Student Name or a group band so parents can tell them apart.
Parents, per student (one email per boy)That boy’s rows only.

It never reaches past your audience on its own: if your audience is only the high school, a family’s younger son is not listed. See who gets the email. The two other choices in Whose records are exceptions:

This student only
Just the one boy, even on a family email.
Every sibling
Every boy in the household, including those outside the audience.

A dataset that is kept by household, one row per family, works the same way: that family’s rows show.

Three examples

Each son’s shiur and rebbe

A letter before the new zman, to every family, with a list of where each boy is placed.

  1. In the Pro builder, drag in Smart Table and choose New table. Name it Shiur list.
  2. Rows come from: Enrollment -- current period.
  3. Columns: remove what you do not want, then add + Student Name and drag it first. Keep Shiur and Rebbi.
  4. Send it to Parents. A family with two boys sees two rows; a family with one sees one.

Next zman, send the same campaign again. Current period shows the new placement.

A tuition payments ledger with a total

You import a dataset with one row per payment: Date, Method and Amount_Paid, tied to a student.

  1. New table Payments received, source Imported dataset, your payments dataset.
  2. Columns, in this order: Date, Method, Amount_Paid (header Amount Paid, format Currency, align Right).
  3. Rows: sort by Date, A-Z.
  4. Style: Group rows by Student Name. Turn on Totals row: column Amount_Paid, Sum, label Total paid:. Set the empty text to No payments yet this year.

A checklist of missing forms

A dataset holds one row per form per student, with Form, Status and Due. You want each family to see only what is outstanding.

  1. New table Form checklist, source Imported dataset, your forms dataset.
  2. Columns: Student Name, Form, Due.
  3. Rows: Status equals Missing. Sort by Due, A-Z.
  4. Style: Show a message with Nothing is missing. Thank you!
  5. Send to Parents. Families with every form in get the thank-you line where the table would be.

To send only to families that have something missing, also narrow the audience with the dataset. See Choose who gets it.

When it does not work

The canvas says Choose a table in the panel., Pick a source. or Pick columns.
The block is not finished. An unfinished block sends nothing, and the review step warns Unconfigured Smart Table.
Saving says Give the table a name first., Pick a source dataset on the Data tab. or Pick at least one column.
Do what it says.
This block references a table … that no longer exists. The send renders nothing for it.
Someone deleted the saved table. Choose Pick a table and select another.
Nothing to show for this recipient.
The recipient has no rows and the empty setting is Hide the table. Choose Show a message if you want a note.
No rows in “…” to sample yet.
The dataset is empty. Import data first. See Datasets.
The table is empty for a family that should have rows
Check the filter value, the audience (rows outside it are left out) and Whose records. Compare against Preview as for that person.
A column shows no data
That field is blank for this recipient. Try another recipient in Preview as.
Headers or formats look wrong
Open the column’s settings and set Header and Format.
candl docs. Examples use made-up students and families.