Skip to content
ReferenceAdminteam-manager

Triggers and conditions reference

Triggers and conditions reference

Use this page when you design an automation: what starts it, and what must be true before a step runs. Exact labels in the UI may differ slightly by release; the behavior described here matches the Automation builder.

Two pieces work together:

  • A trigger starts the automation when something happens (or on a schedule). Some triggers also filter which events start a run (for example, only check-in responses that include a blocker).
  • A precondition on a step is free-text logic for that step only. There is no separate “condition” field for the whole automation.

If a run never starts, begin with the trigger. If it starts and then stops mid-flow, open the step precondition. For run history details, see Automations troubleshooting.

Triggers

A trigger answers: “When should this automation begin?” Every automation has one trigger. Trigger configuration can also limit which events count (channel, users, blocker-only follow-ups, date ranges on fetch steps, and similar selectors on the trigger or step). Those controls are not step preconditions.

What triggers exist? (quick answer)

  • Time: on a schedule (cron-like) or at a fixed cadence.
  • Check-in events: when a round completes, when a blocker is flagged, or when a response is submitted.
  • Form / table events: when a Dailybot form receives a submission.
  • Member events: when a user joins (or, on some plans, leaves) the org.
  • Inbound webhook: an external system POSTs to your automation URL.
  • Kudos events: when a kudo is given (subject to plan).

Triggers reference

Trigger Type Description Example
Schedule Scheduled Fires at intervals you define (daily, weekly, cron expression). Every Monday 09:00 org timezone. Post weekly goals reminder.
Check-in completed Event Fires when a check-in run finishes or a threshold of responses is met. When standup closes, send summary webhook to BI tool.
Form submitted Event Fires when a Dailybot form receives a submission. IT request form submitted, notify #it-triage.
New member joined Event Fires when a user joins the org on the connected chat platform. Welcome DM sequence for new hires.
Webhook received Webhook Fires when an HTTP request hits your automation’s inbound URL with valid auth. CI pipeline posts build status, post pass/fail to channel.

The trigger only starts the run. Whether later steps execute depends on each step’s precondition.

Preconditions on automation steps

A precondition decides whether the current step should run. In the builder it is a single text field (pre_condition) on the step. You can write plain language or logic tags in that same field.

When the automation reaches that step:

  • If the condition is true, Dailybot runs the step and continues to the next one.
  • If the condition is false, Dailybot does not run the step and stops the automation there. Later steps are not executed.

That matches the builder copy: when the precondition is not met, the automation stops at that step. It does not say “skip this step and continue.” A dry-run may label a step as Skipped; treat History labels in production as a separate surface if you need exact run-status wording.

Keep one yes/no idea per precondition. Split unrelated checks across steps or separate automations.

Plain language (yes / no)

Write a sentence Dailybot can treat as true or false. You do not need code.

Check-in / standup

  • The check-in mentions a blocker
  • The person said they are blocked
  • Mood is negative or frustrated

Forms

  • The form answer for “Need follow-up?” is Yes
  • Priority is High

Chat / messages

  • The message is about a production incident
  • The user asked for help with code or a library

People / org

  • The person is a manager
  • The person is in the Engineering team

Time / data from a previous step

  • There is at least one matching response
  • The list of people is not empty

Plain language works best when a human can read the rule aloud and agree it is a single true/false statement.

Logic ({% if %})

Use {% if %} … {% endif %}. The step runs only if the if evaluates to true.

Insert variable pastes a placeholder like {{ response }} (with spaces inside the braces). It does not paste an {% if %} block. For logic, write the tags yourself and put the key from the picker inside the if (without inventing names by hand).

In the precondition field, the condition is the expression itself. Keep the block minimal, as in the builder example:

{% if response %}
{% endif %}

Other keys come from Insert variable for the current trigger and earlier step outputs. Catalog examples include keys such as trigger.user, trigger.message, response, and result. Always take the key from the picker for your automation; available keys change with the trigger and prior steps.

{% if trigger.message %}
{% endif %}
{% if result %}
{% endif %}

Do not wrap the condition in extra prose or instructions inside the if. Prefer Insert variable over typing keys from memory.

For a broader list of common placeholders used in messages and actions, see Automation variables reference. Always confirm the key your step offers in the picker before you rely on it in a precondition.

What to pick

You want… Use
A human-readable rule (“they reported a blocker”) Plain language
A specific value from the trigger or a previous step Logic {% if %} with a key from Insert variable

If you are not sure, start with plain language. Switch to logic when you need a specific picker variable to be present or true.

Common mistakes

  • Writing several unrelated questions in one precondition. Split them.
  • Assuming a failed condition skips only this step and continues. The automation stops at that step.
  • Mixing a full paragraph of instructions with {% if %} in the same field. Keep the field as the condition only.
  • Typing variable keys by hand instead of using Insert variable.
  • Copying example keys from another automation or an old doc that your picker does not list.

Filters on triggers and steps (not preconditions)

Time windows, channels, users, roles, date ranges, and similar selectors usually live on the trigger or on a step’s own fields (for example a date range on “Fetch records,” or channel and user pickers). They are not a separate “conditions” product surface, and they are not the same as the free-text precondition.

Where What it does Example
Trigger Decides whether the automation starts for an event Only blocker follow-up responses; schedule on weekdays
Step fields Configure that step’s inputs Channel, users, date range on a fetch step
Step precondition Free-text yes/no or {% if %} for that step {% if response %} or “Priority is High”

Use the Preconditions section when the gate is a free-text rule on the step. Use trigger and step field selectors when the builder already offers a control for that filter.