Under construction

You've sampled us mid-build.

These guides cover the new ExpiWell platform (v2) and are still being written, checked, and rearranged — pardon the scaffolding: pages may move or change between visits. Still on the legacy app? Its documentation remains on the old support portal.

Open the legacy support portal
Knowledge base  /  From the ExpiWell team

How can we help?

Guides for every step of your study — from your first project to your final data export. The ExpiWell knowledge base for the researcher web platform and the participant mobile app.

101 guides across 29 categories · Updated by the ExpiWell team
Help CenterBuildEvent Triggering

Email triggering based on response scoring

Build · Event Triggering
Updated October 5, 2026

This feature enables researchers to automatically send emails to a specific email address based on a formula that calculates the scores of participants' survey responses. This is especially useful for Ecological Momentary Assessment (EMA) and Experience Sampling Method (ESM) projects, where it is necessary to monitor participants’ responses and trigger notifications when their scores meet a specific condition.

Setting up Formula Scoring

First, you'll need to enable scoring for the survey questions you want to monitor.

Note

Formula scoring can only be enabled in single-selection questions, including single-selection questions in a Group or Question Group.

  1. In the Build Surveys tab, add a single-selection question with your desired response choices.

  2. Open the question and switch on Formula Score, at the bottom of its settings.

A single-selection question's settings with a Score section switched off and, beneath it, a Formula Score section switched on, described as assigning each choice a score for use in schedule formulas
Important

Score and Formula Score are two different switches, one above the other, and only the second one does anything here. Formula Score describes itself as assigning each choice a score to "use in schedule formulas"; Score is a separate feature. Turning on the wrong one leaves the question absent from the formula builder with no error to explain why.

  1. ExpiWell assigns each response choice a score automatically — 1, 2, 3 and so on, down the list. Each sits in an editable field beside its choice, so you can change any of them.
Note

Formula scores are not carried into the response data files. They exist to drive triggers, not to be exported with the answers.

The choices panel of a single-selection question, with each of its four response choices paired with an editable score field reading one, two, three and four

Setting Up Formulas for Email Triggering

Once you've scheduled your surveys, you can set up the formulas to trigger emails.

  1. In the Scheduler, open the second icon on the narrow strip at the far left. Its tooltip reads Triggers.
The Scheduler showing a rolling schedule, with a narrow icon strip at the far left where the second icon is hovered and a tooltip reading Triggers
  1. Click + New Event and choose Survey Submission as the event type. Creating and naming an event works the same way here as anywhere else — Event triggering covers that screen in full.
The Event Triggers page listing one event with its survey name and a Survey Submission badge, above a warning that event triggers cannot be modified while the project is active and a grayed out New Event button
Important

Build your events before you activate the project. Once it is active the warning above appears and + New Event is disabled — no new events can be created. Existing events are not entirely frozen, though: formulas can still be added to one, which is how a formula can be bolted onto a running study.

  1. Choose the survey you configured with formula scoring under Survey Response.

  2. Switch on Formula View. It sits on the event itself — you do not add a Condition first. Match Logic appears beneath it: Any match fires the trigger as soon as one formula passes, All must match requires every one.

An event set to Survey Submission with Formula View switched on, a Match Logic dropdown reading Any match, and a warning that no questions have formula scoring enabled and it must be enabled on single-selection questions first
Note

If you have not enabled Formula Score on any question yet, this is where you find out: the Formulas section refuses to open and says so. Enable it on the questions first, then come back.

  1. Click the Formulas + and set a Variable Label. It prefixes every variable — the label Q gives Q01, Q02 and so on.
The Create Formula dialog showing a Configuration step with a Variable Label field holding the letter Q and an Occasion Type set to Single Occasion, above empty Select Questions and Formula Setup steps
  1. Next, choose between a Single Occasion and a Multiple Occasions formula.
The Occasion Type dropdown open on the Create Formula dialog, offering Single Occasion and Multiple Occasions

Single Occasion Formulas

Use this option to monitor responses within a single survey submission.

  1. Under Occasion Type, select Single Occasion.

  2. Under Select Questions, choose the questions you want as variables. Only single-selection questions with formula scoring enabled are listed — if one is missing, that is the reason. Each selection becomes a chip, and the count beneath says how many you have.

The Select Questions step of the Create Formula dialog with two questions chosen, each shown as a chip labeled Q01 and Q02 with its question text, above a line reading two questions selected
  1. Set a Threshold Value. The trigger fires when the calculated score is greater than or equal to it. It can be a decimal, a negative number, or zero.

  2. Build the formula in the Formula Builder. Your chosen questions appear as Variables buttons, with the operators beneath them; click a variable, then an operator, then the next variable. The expression builds up in the Formula Expression field as you go.

Important

The expression must end with a comparison operator — >=, <=, >, <, == or !=. Q01 + Q02 on its own is rejected; Q01 + Q02 >= is accepted, with the Threshold Value supplying the number on the right. This is easy to miss, because the threshold field already reads "Trigger fires when calculated score is greater than or equal to this value", which makes the operator look redundant.

The Formula Builder with the expression Q01 plus Q02 outlined in red and an error reading that the formula must end with a comparison operator, above an Example Calculation panel working the formula through with sample values

An Example Calculation panel sits beneath the builder throughout, working your formula through with sample values and stating the threshold it will be tested against. It is the quickest way to confirm the formula does what you meant.

The Formula Builder with a threshold of six and the expression Q01 plus Q02 followed by a greater-than-or-equal sign, accepted without error, and an Example Calculation panel showing the trigger will fire if the result is six or more
  1. Click Create Formula. Saved formulas are listed on the event with their threshold, expression and variables, and an event can hold several.
An event listing two saved formulas, each with a threshold badge, its expression and the variables it uses, beneath a Match Logic setting reading Any match
Note

Each formula is named automatically from a timestamp, so the list reads "Formula 1791194037573" rather than anything meaningful. Tell them apart by their expression and threshold, which are both shown.

Multiple Occasions Formulas

Use this to monitor the same scheduled survey across several submissions over time — a score that only matters if it holds for three days running, say.

The flow is the same as Single Occasion — select questions, set a threshold, build the formula — with two extra steps at the start.

  1. Under Occasion Type, select Multiple Occasions, then enter how many occasions the formula covers — between 2 and 10. A Configure Occasions step appears with one block per occasion and a counter showing how many you have finished.
The Create Formula dialog with Occasion Type set to Multiple Occasions and a Number of Occasions field reading two, above a Configure Occasions step showing a block for each occasion and a counter reading nought of two completed
  1. For each occasion, pick a scheduled survey from Survey Selection, then its questions from Question Selection.
A Survey Selection dropdown open on an occasion, listing individual scheduled windows by day and time rather than survey names, each naming the same survey at a different time
Note

The dropdown lists individual scheduled windows, not surveys — each entry names a day, a time range and the survey. So two occasions can be two windows of the same survey, which is what lets a formula compare a morning answer with an afternoon one rather than only across days.

Each occasion's variables are labeled separately, in O1_Q01 / O2_Q01 form, so the Formula Builder can tell one occasion's answer from another's.

From here it is identical to a single-occasion formula: set the threshold, build the formula from the variables, and click Create Formula.

An event's formula list holding three saved formulas, the third using occasion variables O1_Q01 and O2_Q01 against a threshold of six, above a Send Email task addressed to a researcher

One event can mix the two kinds freely — the list above holds two single-occasion formulas and one multiple-occasion formula, all feeding the same Send Email task.

Setting up Email Triggering

Once your formulas are in place, you can set up the email to send.

  1. Add the Send Email task and enter the address the alert goes to.
A Send Email dialog described as sending email based on participant survey response, with a filled Email field and an empty Email Content box beneath it
  1. Write the message in Email Content. This is sent when the formula threshold is met.
The same Send Email dialog with a message written in the Email Content box asking the reader to review a participant whose wellbeing score has crossed the alert threshold
Note

The Email Content box belongs to the formula path. A Send Email task on an ordinary condition-based event takes an address only — see Event triggering.

The email that arrives names the project, the survey, the participant, the trigger, and — the part that matters here — the formula that fired and the arithmetic it did. A reader can see that the score was 8 against a threshold of 6 without opening the dashboard.

An email reading that an event was triggered based on your project setup, listing the project, survey, participant, trigger name, the formula in brackets, a computed line reading eight is greater than or equal to six, and the custom message written for the task
Note

Only the formulas that actually matched are listed. With Match Logic set to Any match one is enough to send the email, so an event carrying several formulas may produce an email naming just one of them.

Monitoring Email Triggering

Open Insights → Formula to see every formula on the project and download its results. Each row names the trigger it belongs to, the formula, and its variable label.

The Formula page under Insights, headed Data exports and described as computed formula outputs from survey triggers, listing three formulas from one trigger with a download button on each
Note

Formulas are numbered here — Formula 1, Formula 2, Formula 3 — in the order they were created. The event editor instead shows the auto-generated name, which is a timestamp, so the same formula reads differently in the two places. Match them by expression rather than by name.

Download asks for a time format first, Local Time or UTC Time. Local is usually what you want, since it lines the timestamps up with the window times you scheduled.

What the export contains

Each file opens with the Formula Expression and the Threshold Value it was tested against, then a row per triggered email: the Participant ID, the Email Date and Email Time, one column per variable, the Calculated Score, and whether the Threshold Met.

Important

A formula needs every variable present to produce a score. If one is missing, the Calculated Score cannot be worked out and the threshold cannot be met, however high the other answers are.

A skipped answer stops the calculation

If a participant skips a question the formula uses, that variable is recorded as N/A — and because it is missing, the Calculated Score is also N/A and Threshold Met reads No.

In the example below the participant answered the second question with a 5, but skipped the first. The formula needed both, so nothing was computed and no email went out for it.

A formula results file for the expression Q03 plus Q04, threshold seven, with two rows that each record N/A for Q03, a value of five for Q04, N/A for the calculated score, and No under threshold met

A multiple-occasion file

The shape is the same, with one column per occasion variable in O1_Q01 / O2_Q01 form. Here both occasions were answered, so the scores add up and the threshold is met.

A formula results file for the expression O1_Q01 plus O2_Q01, threshold six, with two rows each recording four for both occasion variables, a calculated score of eight, and Yes under threshold met
Note

The file records triggered emails, not scheduled windows — a window that produced no email produces no row. So an empty file means nothing met the threshold, which is not the same as nothing having been answered.

If you have further inquiries, please contact help@expiwell.com

Was this helpful?
Start today

Talk to a human on the ExpiWell team.

Still stuck? Our team of researchers answers technical and study-design questions alike.