Overview
Control steps shape the flow of a run instead of performing work:- Filter — stop the run unless conditions match.
- Delay — pause the run for a set amount of time before continuing.
- Branch — split the automation into multiple paths, each with its own rules and steps.
- First available value — use the first of several values that has data, such as a phone from the trigger record or else from a related record.
Filter
A Filter step checks its conditions when the run reaches it. If they match, the run continues to the next step; if not, the run stops there with the status Halted. Filters can reference anything available at that point in the run — trigger fields and the outputs of earlier steps. A common pattern is a Find Lead step followed by a Filter on its Lead found? output, so the rest of the automation only runs for leads that exist in Apten.Halted is not an error. It means a Filter (or Branch) decided the run shouldn’t continue — exactly what you built it to do. Halted runs are listed on the Runs page so you can confirm your filters behave as expected.
Delay
A Delay step pauses a run for a set amount of time, then continues to the next step. Enter a positive whole number and choose Minutes, Hours, or Days. Each Delay can last from 1 minute to 30 days. You can place a Delay anywhere in an automation, including inside a branch. An automation can include up to 30 days of delays in total. Apten adds the duration of every Delay in the automation, including Delays in separate branches, because every matching branch runs in order. A common pattern is to wait before acting on a CRM record: add a Delay, use Find CRM Record to fetch the record’s latest values, add a Filter to confirm it still matches, and then perform the action.While paused, the run has the status Waiting and shows when it will resume. If the automation is off or deleted when the Delay ends, the run halts instead of continuing. See Runs & Troubleshooting for details.
First available value
A First available value step takes 2 to 5 values and outputs the first one that has data. Use it when the value you need can live in more than one place: for example, a phone that’s on the Opportunity for some records and only on the related Account for others. Each value is entered like any other field: insert references with /, type fixed text, or combine both. Click + Add value to add another, and × to remove one. When the run reaches the step, the values are checked from top to bottom:- A value is skipped if any field it references is empty or missing — for example, a blank CRM field, or the output of a Find CRM Record step that found no record.
- The first value whose references all have data is used. Fixed text always counts as having data, so values after it are never used (the builder greys them out).
- If no value has data, the step still succeeds with an empty value and the run continues. A later step that needs the value decides what happens: Find Lead, for example, fails because it has no phone to look up. To stop the run quietly instead, add a Filter after First available value.
100 as text and a checkbox gives true or false, so compare against those in a Filter or Branch. The step also outputs Which value was used (0 for the first value, 1 for the second, and so on; empty when none had data), which you can check in a Filter or Branch. Run details show which value was used.
Example: an automation triggered by an Opportunity looks up the related Account with Find CRM Record. A First available value step lists the Opportunity’s phone field, then the Account’s Mobile Phone from the Find CRM Record step. Find Lead and Create Lead then use First available value → Value as their Phone, so leads get the Opportunity’s phone when it has one and the Account’s otherwise.
Branch
A Branch step splits the automation into 2 to 5 branches. Each branch has its own Branch rules (conditions) and its own chain of steps.
- Every branch whose rules match runs, one after another, in the order the branches are defined. Branches are not mutually exclusive — if a record matches two branches, both run.
- One branch can be marked as the Fallback branch. It has no rules and runs only when no other branch matched.
- If no branch matches and there is no fallback, the run stops with status Halted.
- If a step inside one branch fails, the other matching branches still run, but the run’s overall status is Failed.
- A Branch is always the last step of its chain — branches don’t merge back together, and each branch runs to its own end.
- Branches can contain their own Branch steps, nested up to 3 levels deep. Each chain (the top level, or a branch) contains at most one Branch step, always at its end.
- Each branch can hold up to 10 steps, and the Branch step itself counts as one — a chain that ends in a Branch has room for 9 other steps.
The Condition Editor
Conditions appear throughout Automations — trigger Conditions, the Watched field filter, Filter conditions, Branch rules, and the optional conditions on Find CRM Record — and they all work the same way. Each condition is a row of three parts:- Field — searchable dropdown of available fields
- Operator —
=,≠,contains,>,<,in,not in,is set,is not set(the list adapts to the field’s type) - Value — a typed input matching the field: text, number, Yes/No, a picklist of the field’s options, or a date picker.
in/not inaccept multiple values.
Condition groups
To mix AND and OR logic, add a group. A group is a set of conditions with its own AND/OR operator, evaluated as a single condition in the outer list. For example, Status = Qualified AND (Source = Web OR Source = Referral) is the outer list combined with AND, containing a group combined with OR.- Click Add group in the condition editor to create one; add conditions to the group with its own Add condition button.
- A group needs at least one condition, and groups can’t contain other groups — one level of grouping keeps the logic easy to read.
- Groups work on every condition surface: trigger Conditions, Filter conditions, Branch rules, and Find CRM Record conditions. (The Watched field filter stays a single condition.)
Relative dates
On Filter, Branch, and Find CRM Record conditions, date fields offer two value modes:- Specific date — a fixed date or time
- Relative to trigger — an offset from when the run fired, e.g. 3 days after trigger or 2 hours before trigger. Use
>and<with relative dates, e.g.AppointmentDate < 2 days after triggerto mean “within the next 2 days.”

