Connect a dataset
Open Settings, Datasets, and choose Connect a dataset. You can also start from a campaign: in the builder’s dataset list, New dataset or Create dataset connects the new dataset to that campaign as soon as it is saved.
Example: bus passes from the transportation sheet
The transportation office keeps a Google Sheet with a row per student: Student ID, Route, Stop and Fee. You want to email each family their son’s route and stop.
Source
Choose Google Sheet and pick the sheet from the list of recently opened files, search for it, or paste its link. Pick the tab. Under Dataset, choose A new dataset and name it BusPasses. The first row of the tab must name the columns.
Matching
Match against: Students. Directory field: Student ID. Sheet column: Student ID. candl guesses the column from its name; check it. Under Shape, choose One row per student.
Columns
Tick the columns to bring in: Route, Stop, Fee. The matched column always comes in. Select all and Only the key are shortcuts.
Check and save
candl does a dry run against the Directory and shows how many rows match a student, how many are left out, no match, and the first rows with who each belongs to. Nothing is saved yet. If the numbers look right, choose Connect dataset.
The new dataset’s merge tags are in the email and text builders right away. To keep it in step with the sheet, open its settings and choose a sync schedule (see Keep it up to date).
To add rows to a dataset you already have, choose Add rows to a dataset you have in step 1. The rows are matched the way that dataset already is, and you choose what happens when a row meets a value already there.
How rows find their person
Each row belongs to whoever has the same value in the directory field as the row has in its column. The choices depend on what you match against:
- Students
- Student ID, Family ID (household), a father’s, mother’s or student’s email or cell, or one of your Directory filters.
- Households (members)
- The household code, or a husband’s or wife’s email or cell.
- A contact list
- Its record ID, email address, phone number, or one of its columns.
candl does not match on names: two boys can share a name, and a misspelling would attach a row to the wrong family. If your sheet has only names, add a Student ID column first.
What happens to rows that do not match
- They are left out. The check step counts them and marks them No match in the preview. They are not saved anywhere in candl; they stay in your sheet or file.
- A row with an empty key is skipped.
- Small differences are forgiven. When matching students on Student ID,
S12345,012345and12345.0all read as12345. When matching households on their code,M678reads as678. The check says how many rows matched this way. Nothing else is guessed, so a household code never turns into a student number. - If most rows do not match, candl warns you. Usually the wrong column was picked.
- If nothing matches, it cannot be saved.
Per student or per household
| Match against | What candl keeps | Good for |
|---|---|---|
| Students, by Student ID | One row for each student. | A locker, a shiur, an exam score. |
| Students, by Family ID | The same row copied onto every son in the family. | Family data you want to filter students by, like a carpool group. |
| Households (members) | One row for each household, kept under its code. A household with no sons in school can have a row. | A dinner seat, a pledge total, donations. |
A household dataset is offered in emails to households and in student emails, which read the row of the student’s household. It is not offered for tasks.