Automation

Flows

Flows automate repeatable work when a record changes, a schedule fires, a webhook arrives, or a user takes a guided action — with versioning, conditional branching, formulas, and step-by-step debug output.

What flows do

A flow is a configured automation that executes a sequence of actions in response to a trigger. Actions can query, create, update, or delete records; compute values; send emails; call external APIs; submit approval requests; loop over collections; or branch into separate paths. Flows run on a visual canvas, support formulas and variable references throughout, are versioned so you can edit safely, and include a built-in debugger that shows you exactly what each step did before you activate anything in production.

The canvas

Drag steps from the toolbar onto the canvas and place them anywhere; the canvas grows as you move steps further right or down. Every step needs a Name: it shows under the step, on two lines at most, and hovering it shows the whole Name. A step without a Name can't be saved, also when the flow is saved through the API.

The Search toolbar box at the top of the toolbar shortens it to the steps whose name has the typed words, as Search resources does on the Resources tab. The builder fits the window: the toolbar (or Resources) and the canvas each scroll on their own.

Links start and end on the edges of the steps they connect. Click a link to select it: it is drawn whole on top of the steps, with a dot at each end, so you can see where it starts and ends even where it passes behind a step. Drag a selected link to bend it, or drag one of its ends to move it along the step's edge. Press Delete or Backspace to remove it.

A link from a Conditional Logic step or a Loop shows the outcome it stands for (a path's name, For Each, Done). The label sits at the middle of the link, unless it would cover another label, a step or another link there; then it moves along its own link to the nearest free spot. A long label is shortened with an ellipsis and shows in full when you hover it.

A Loop's link to a step and the link back from that step run side by side, wherever the two steps are, and follow them when you move either one. If you drag one of their ends or bend them by hand, they stay as you placed them until you move one of the two steps again.

The builder's buttons are on the top row beside Back to Flows: Save, Edit Properties, Activate, Save As, Run Debug and, after a debug run, Leave Debug Mode and See Debug Detail. When the window is too narrow for all of them, the ones that don't fit move, in the same order, into a ⋮ button at the end of the row; on a phone they sit on their own line. While the canvas has changes that aren't saved, an Unsaved changes pill shows under them. A save or activation problem, and Flow saved successfully or Flow activated successfully, show briefly at the top of the screen.

Triggers

Every flow starts with exactly one trigger. The trigger type determines when the flow runs and what context data is available to its actions.

Record change

Fires when a record on a selected object is created, updated, or deleted. You can subscribe to any combination of the three events on the same flow.

  • Execution timing — Before save: the flow runs before the record is committed to the database. Use this only when the flow must inspect or modify the record as part of the save itself. Before-save flows are always synchronous and cannot contain Pause or API Call actions.
    • {{Record.*}} holds the record as it is about to be saved: what was entered, with field defaults filled in. On a create, a Find Record or Aggregate Records step does not see the record being created, because it isn't saved yet.
    • What its Assignments set is saved with the record and checked like everything else in the save: picklist values, required fields, validation rules and duplicate rules. A field filled in only by its default can be changed. A field the person typed in, or one a Data Import or the API sent, keeps that value.
    • When several flows run on the same save, they run oldest flow first. Each Before Save flow sees what the earlier ones set, and After Save flows always run after all of them, so they see those values too.
    • Formula fields are not recalculated while Before Save flows run: they show the values from before the save (empty on a create).
    • On a delete, Before Save flows run before the record is deleted: {{Record.*}} is the record, and a Find Record step still finds it. If one fails, the record is not deleted.
  • Execution timing — After save: the flow runs after the record is committed. This is the correct choice for notifications, related-record work, and anything that does not need to gate the save. After-save flows can be synchronous, asynchronous, or both.
  • Available context: {{Record.*}} fields on the current record; {{OldRecord.*}} previous field values (update and delete events only); {{Trigger.Event}}, {{Trigger.ObjectApiName}}, {{Trigger.RecordId}}.

Scheduled

Fires on a recurring schedule — hourly, daily, weekly, or monthly. Set the exact time, day, and timezone. Scheduled flows have two target modes:

  • Workflow mode: the flow runs once at the scheduled time with no record context. Use for maintenance jobs, summary notifications, or anything that should happen on a clock rather than per-record.
  • Records mode: at the scheduled time, Kraftter finds all records on the target object that match the configured filters and runs the flow once per matching record. Each record becomes the {{Record.*}} context for that run. Records are processed in batches: set the Batch Size (100 by default, 200 at most). Run Batches decides how the batches run: One after another (the default) starts a batch when every run of the batch before it has finished, so later batches see what earlier ones changed; In parallel starts batches without waiting for each other, up to five at a time, which is faster when the batches don't depend on each other. Either way every record gets exactly one run.

Schedule frequency options: Hourly (set the minute), Daily (set hour and minute), Weekly (set day of week, hour, and minute — values: mon, tue, wed, thu, fri, sat, sun), Monthly (set day of month 1–31, hour, and minute — if the day does not exist in a given month, the last day of that month is used instead). All times are evaluated in the timezone you configure on the trigger.

Inbound webhook

Fires when an external system sends an HTTP POST to an Inbound Webhook. Create the inbound webhook first under Setup () → Inbound Webhooks — it gets its own URL, an optional signing secret, and an Expected Payload Sample (a sample JSON body) — then choose it in the flow's trigger. The sample only feeds the flow builder's variable picker; it has no effect at runtime. The posted payload is available as {{Webhook.*}} using dot notation matching the JSON structure. When the webhook is switched off, the builder still shows its name, marked (inactive), in the header and in Edit Properties; the flow can be saved, but not activated until the webhook is switched back on or another one is chosen.

Manual

Runs only when a user explicitly starts it. Use for on-demand operations and for testing flow logic before wiring up a real trigger.

Which manual and Guided UI flows a user may start is set on the Flows tab of their Permission: tick individual flows, or Run All Flows (Administrator has it by default).

Guided UI

Presents a multi-step modal dialog to the user, collecting input at each step. Guided UI flows are invoked from a button on a record page. Besides Screens they can use every step except Pause, Send Email, Send In-App Notification and Send SMS included: the person going through the screens can't wait for a pause, so activating a Guided UI flow with a Pause step is refused (“'…' isn't allowed in a Guided UI flow: the person going through the screens can't wait for it. Please remove it before activating.”). The input collected in each Screen is available to subsequent screens as flow variables.

Flows on Users

A flow can work with User records in every step except Create Record and Delete Record (“Users can't be created by a flow. Invite them in Setup > Users.” / “Users can't be deleted.”). A record-change flow on the User object runs After Save only.

Run As and access

Record-change, Manual, and Guided UI flows have a Run As setting:

  • Running User (default) — the flow can only do what the person who started it can do: their object permissions, record sharing, and field access. A step the user isn't allowed to perform fails the run with “Insufficient Access”. Find and Aggregate steps leave out records the user can't see. A step that writes a field the user can read but not edit fails naming the fields (“You can't edit these fields: …”). Records of a variant the user can't use don't exist for the flow either; a record the flow creates without a Record Variant gets the default variant of that user's Access Permission, and a step that gives a record a variant the user can't use fails with “Variant Id is not valid or can't be found.”
  • System — no access checks.

Scheduled and Inbound Webhook flows always run as System. A record-change flow also runs as System when the save came from a system process rather than a person — a public form, a booking, a subscription renewal, an approval action, a CPQ trigger, a campaign, an inbound webhook, or email sync.

Errors and notifications

A step that fails stops the run and marks it failed; later steps don't run. Notify on Error chooses who gets an email with the details when a run fails. Left empty, it goes to the flow's creator, or to the workspace owner if the creator is no longer active. The email gives the time the run failed on the recipient's clock (their Time Zone, or the workspace's), with the zone's short name.

A record-change flow can run itself again: it updates the record it runs on, and that update runs it again. Two or more flows can also run each other: one flow's update runs the other, whose update runs the first again. Kraftter stops them after 10 repeats, saves nothing, and names the flows: “The flow '…' failed because it reached the limit of 10 repeats…” or “The flows '…' and '…' failed because they reached the limit of 10 repeats…”. To fix it, update the flows so their changes don't run them again:

A picklist value typed into a flow’s entry conditions, a Decision or a Find, Update, Delete or Aggregate Records filter must be an active value of its field: Save and Activate refuse one that isn’t, naming the step and the value. Approval entry conditions, Record Auto-Assignment and Auto-Sharing rules, call routing, Default Folders, CPQ trigger conditions, Invoice output filters, campaign audiences and Goal, Condition and Branch steps check theirs the same way.

  • Entry conditions — leave out the records the flow has already updated, for example a condition that the field it sets doesn't already have the value it sets.
  • Conditional Logic — before the update, check whether there is anything to change: Is Changed on the fields the flow cares about, or whether the field already has the value. Link the update to the path that needs it only.
  • What the flow updates — update only the fields and records that need it, so one flow's update doesn't meet another flow's entry conditions.
  • Turn a flow off — if one of the flows is no longer needed, deactivate it.

When a flow that runs inside a save fails, nothing is saved and the person saving is told which flow and step failed and why: “The flow '…' failed on the step '…': … Nothing was saved.” The failed run is kept all the same: it is in the flow's Recent Runs with its error and its steps up to the one that failed, and Notify on Error sends its email, as for any other failed run. Each flow that failed keeps one run, also a flow that failed in another flow's save, and one whose failure the other flow handled on a fault path; when flows stop at the limit of 10 repeats, each flow the message names keeps one, with that message as its error.

Time limits

A flow is limited by how long it runs, not by how many records or steps it handles.

  • While someone waits — flows that run inside a record save (synchronous flows), Run Debug, and Guided UI flows (from one screen to the next) may take 90 seconds in total. The time is shared by every flow the same save runs, including a flow started by another flow's save, and only the time spent inside flows counts. When it runs out, the flow fails and nothing is saved. Move long work to an asynchronous path.
  • In the background — asynchronous, scheduled, manual, and webhook runs may work for up to 24 hours; time spent paused is not counted. A long background run works in stretches of about a minute and saves where it is between them, so a restart of the service repeats at most the stretch that was in progress.

Variable references

Throughout a flow — in field value mappings, filter conditions, email subjects and bodies, API call URLs and headers, and formula expressions — you reference dynamic values using double curly braces: {{Scope.Path}}.

Scopes

Each scope provides a different source of data. Which scopes are available depends on the trigger type and event:

  • {{Record.FieldApiName}} — a field on the record that triggered the flow. Available on record-change and scheduled-records triggers. On a delete event it is the deleted record, with its values from when it was deleted (custom fields included) and {{Record.IsDeleted}} true; after the delete, a Find Record step no longer finds it. It stays that record for the whole run: a step that creates, updates or deletes other records doesn't change it, and a step that updates the triggering record itself makes the next steps see its new values. The boxes show it as the triggering record, such as {{TriggeringLead.Email}} ({{TriggeringOldLead.Email}} for the old value), and the whole record as {{TriggeringLead}} ({{TriggeringOldLead}}); in a schedule over records, where the schedule is what starts the flow, with the object's name, such as {{Lead.Email}}. Typed either way (or with the object's label, or {{OldLead.Email}}), it is saved as {{Record.Email}} (the whole record as {{Record}}), unless a step, loop or variable has that name. After a Delete Record step deletes the triggering record, it keeps the values it had just before it was deleted.
  • {{OldRecord.FieldApiName}} — the previous value of a field, standard or custom, before an update or delete. Only available on update and delete events of a record-change trigger. A Decision’s is changed uses it, so it works on custom fields as it does on standard ones, whether the record is edited in the app, saved through the API, changed by another flow’s Update Record step or updated by a lead conversion. Each save’s flows see only that save’s changes: when a flow saves the record again (an Update Record step on the triggering record), what that second save changes is handled by the second save’s flows, once. The first save’s flows that run after it, and its Async flows, read the new values in {{Record.*}}, but to them those fields haven’t changed: {{OldRecord.*}} holds the same values, and is changed and IsChanged() are false for them. The same goes for the rest of the run that made the second save: after its Update Record step, the fields only the second save changed are no change to it, while a field the first save changed still is. Use this to detect what changed: {{OldRecord.Status}} vs {{Record.Status}}.
  • {{Trigger.Event}} — the event that fired the flow: create, update, or delete. Other trigger metadata: {{Trigger.ObjectApiName}}, {{Trigger.RecordId}}, {{Trigger.RunMode}}.
  • {{Flow.RunId}}, {{Flow.VersionNumber}}, {{Flow.Id}}, {{Flow.CurrentDate}}, {{Flow.CurrentDateTime}} — built-in flow execution metadata. CurrentDate returns an ISO date string; CurrentDateTime returns an ISO datetime string in UTC.
  • {{Flow.VariableApiName}} — a custom variable or formula resource you defined in the flow's Variables panel (see below).
  • {{ActionApiName.OutputField}} — the output of a specific previous action, referenced by that action's API name. For example, if a Find Record action is named FindContact, you can reference {{FindContact.record_id}} or {{FindContact.Record.Email}}.
  • {{Last.OutputField}} — shorthand for the immediately preceding action's output. Useful in loops and sequential chains where the action name is implied by position.
  • {{Webhook.field}} — a field from the inbound webhook JSON payload. Use dot notation to navigate nested objects: {{Webhook.customer.email}}. Access array items by index: {{Webhook.items[0].id}}. Only available on inbound webhook triggers.

Relationship traversal

Reference fields on related records using dot notation up to three levels deep:

{{Record.AccountId.Name}}           — name of the related Account
{{Record.AccountId.OwnerId.Email}}  — email of the Account's owner
{{Record.OpportunityId.Account.Industry}}  — industry three hops away

This works for single-relationship fields. Polymorphic relationships are also supported when the related object is unambiguous from context.

An item of a list (in an API Call's answer, a webhook's body or a loop's item) is picked by its position, counting from 0, written either way: {{County_Lookup.Json.0.address.county}} or {{County_Lookup.Json[0].address.county}} (also {{County_Lookup.Json.[0].address.county}}).

Full-value vs. partial references

When a reference is the entire value of a field — e.g., you set a Number field to exactly {{Record.Quantity}} — the resolved value preserves its original type (number, boolean, array, object). When a reference is embedded inside a longer text string — e.g., Hello {{Record.FirstName}}, your order is ready — all references are coerced to strings and concatenated into the result. In text people read — a value a Create or Update Record step writes, an email's subject and body, a notification's title and body, a text message — a value shows as the app shows it: a list as A, B, a date and time like 10/29/2026, 3:45 PM on the clock of the user the run acts for (the user whose save started a record-change flow), otherwise on the workspace's time zone, and a record's field as its record page shows it — a currency like $500.00, a number like 1,234,567, a percent like 20%, a picklist by its label — also when it is reached through a lookup ({{Record.AccountId.Deposit}}). Everywhere else (an API Call's address, headers and body, a filter's value, a Decision's condition) the value stays as stored, as another system or a comparison needs it.

Formulas

Anywhere a field value, filter value, or variable value is accepted, you can write a formula by starting it with =. The = is what tells the flow that the box holds a formula and not plain text; inside a formula variable the whole value is a formula already, so there you write it without the =. Formula syntax is the same as formula fields — the same functions, operators and rules about kinds of values, dates and blanks (see Fields → Formula syntax and supported functions). A formula may hold /* comments */: anything inside one has no effect, so a variable or step named only in a comment is not used, and renaming it leaves the comment as written. Inside a formula, name a value by its path, without the {{ }} braces that references use in plain text:

=IF(Record.Status = "Active", 100, 0)
=CONCAT(Record.FirstName, " ", Record.LastName)
=Record.RenewalDate - TODAY()
=Record.CreatedDate + Record.PaymentTermDays < TODAY()
=ROUND(Record.Amount * 0.1, 2)
=IF(IsBlank(Record.Phone), Record.MobilePhone, Record.Phone)
=Find_Opportunities.Record.CloseDate + 30
=Flow.CurrentDate + 7

Supported functions in flows

Every formula function works in a flow, and the Function picker of every formula editor in the flow builder lists them all. Logic: IF, AND, OR, NOT, FirstNotBlank, IsBlank, IsNull. Text: Text, Concat, Lower, Upper, Trim, Length, Left, Right, Substring, Contains, Find, StartsWith, EndsWith, Replace, UrlEncode. Numbers: Number, Abs, Round, RoundUp, RoundDown, Floor, Ceil, Min, Max, Negate. Dates: Today, Now, Date, DateTime, Year, Month, Day, AddDays, AddHours, AddMonths, AddYears, DaysBetween.

Operators: =, !=, >, <, >=, <=, +, -, *, /. + and - also move a date by a number of days, and subtracting two dates gives the days between them.

A flow knows what kind every value is

A flow works each value as the kind it was declared as, not as whatever it happens to hold:

  • A record's fields — the triggering record, a record a step found, created or updated, the item of a loop over records — are the kinds Object Manager defines. A custom Date field is a date; an empty field is still a field of its kind.
  • A variable is its Data Type, and takes only values of that type: a Number variable takes a number, a True/False variable takes True or False, a Date variable a date, a Date/Time variable a date and time, and a Time variable a time (typed like 9:00 AM or 13:30, a Time field, or a formula such as Time(9, 0)). Anything else stops the run, saying what was given (turn a Date/Time into a Date with Date(...), and a Date into a Date/Time with DateTime(...)).
  • Flow.CurrentDate is a date and Flow.CurrentDateTime a date and time; a Pause step's ResumeAt is a date and time; a screen's fields are the type they were given on the screen.
  • What another system sends — a webhook's body, an API Call's answer — has the kinds JSON gives it: text, numbers and True/False. A date arrives as text: turn it into one with Date(...) or DateTime(...). The flow learns what to expect from a sample: an API Call step's Response sample, and, for a flow started by an inbound webhook, the webhook's own Expected JSON Sample (Setup → Inbound Webhooks). From the sample the flow knows the kind of each value, so a formula that uses one wrongly — Webhook.name + 1 where name is text — is refused by Validate Formula, by Apply and on Activate. When the flow runs, a key that is missing is a blank; a value of another kind than the sample has (text where the sample has a number) stops the run and says which. A key the sample does not have is used as whatever arrives. A webhook's sample grows by itself: a key that arrives for the first time is added to it with the kind it arrived as, so correct the sample if the first body was wrong.

Conditions compare by kind

A Decision row, a record filter (Find, Update, Delete and Count Records) and the flow's entry conditions compare two values by the kind of the value on the left: a number as a number, a date as a date, a time by its time of day, a checkbox with True or False, text as text. The same is true of an approval's entry conditions and of record auto-assignment rules.

  • Text is text: a Zip code of 00123 is not equal to 123. "Equals" keeps its capitals; "contains", "starts with" and "ends with" ignore them.
  • For a checkbox only True and False count (in any capitalization) — not yes, no, 1 or 0.
  • A date is written like 2026-10-10; a date and time like 2026-10-10 14:30. A date beside a date and time is compared as dates.
  • A value that is not of the left side's kind — abc beside a number — is refused when you apply or activate the step if it was typed in, and stops the run if it only turns up then.
  • A value left blank, or blank only when the flow runs, is matched by "equals" (the field is blank too) and "not equals" (the field has a value); every other comparison with it is false. "Equals" and "not equals" can be saved with no value; every other operator needs one.
  • "In" and "Not In", in every filter and in a Decision, take a list of values or one list variable. Pick the field's values in the value box (a picklist's values, the users of a user field such as Owner, by name): each value you pick is added to the list, and picking it again takes it out. Or type the values, separated by commas. Either way they are saved as a comma-separated list. Or pick a list variable: the run uses the values it holds then. It is one or the other: picking a list variable replaces the values, and picking a value replaces the list variable.
  • A field that points at a user, such as Owner, offers the workspace's active users by name in its value box; picking one saves the user's Id, and typing a user's full name does the same. While a step opens, a saved user or record variant shows Loading… until its name is known — never its Id.
  • Escape closes a value box's open list and leaves the step open; a second Escape is the dialog's.
  • A step's output is compared by its kind too: Find Records' Found Count or an API Call's Status Code is a number, so it offers Greater Than, Less Than and the other number operators.
  • In a record filter (Find, Update, Delete and Aggregate Records) a custom field is compared exactly as a standard field of the same kind, and an object may have any number of records.

When a formula is checked

  • Validate Formula shows what is wrong with the formula you are writing.
  • Apply runs the same check on the step: if a formula or a typed value in it is not valid, the step's dialog stays open and says why.
  • Save and Activate check every formula and typed value of the flow, and name the step with the problem.
  • Run Debug makes the same check before anything runs.
  • A run that meets a value of the wrong kind stops at that step, with the reason in the run's history.

Save checks the flow the way Activate does and saves nothing when something is wrong, naming the step: a formula or a typed value that isn't valid, a name or a {{...}} merge field the flow never has, a step missing a setting it needs, or anything else listed under Versions. Only setup outside the flow may still be missing when you save, so you can build the flow first: no SMS integration yet, an Outreach Template or Inbound Webhook that is switched off, an approval process that isn't active. Activate refuses the flow until it is set up.

Formulas on a screen

A screen field's Required, Read-Only and Visible When are True, False or a formula. To write a formula, choose Use Formula Editor on that box and write the formula alone — for example Screens.Intake.Age >= 18 — with nothing in front of it; pick functions, operators and the flow's values from the lists above the box. Validate Formula checks it against the screen as it is on your screen, its own fields included, so a Number used where a condition belongs is refused there: write Screens.Intake.Amount > 0, not just Screens.Intake.Amount. Text that is neither True, False nor a formula is refused — it is never quietly treated as True.

Where formulas are and are not supported

  • Field value mappings (Create Record, Update Record) — supported. Prefix with =.
  • Filter conditions (Find Record, Update Record, Aggregate Records) — supported in the value expression of each condition.
  • Assignments — supported. Set a variable to a formula result.
  • API Call URL, headers, and body — supported. A value merged into the URL is sent as it is, so a value with &, #, + or = breaks the URL: wrap it in UrlEncode(...), for example =Concat("https://maps.googleapis.com/maps/api/geocode/json?address=", UrlEncode(Record.City)).
  • Flow variable definitions (formula resources) — supported. Defines a variable whose value is always computed from an expression.
  • Email Subject and Body — not supported. Email fields accept {{...}} merge references only, not = formula expressions.

Flow variables and resources

The Variables panel in the flow builder lets you define named values that persist across the entire flow run. There are two kinds:

  • Variable — a named slot that you read and write with the Assignments action. Choose a data type (Text, Number, Currency, Percent, Boolean, Date, DateTime, Time) and optionally a collection type (Single value, List, Set, or Map). A single-value variable can have a Default Value: the fixed value, of the variable's own type, that it starts every run with. Left empty, the variable starts with no value; a Boolean variable always starts as true or false (false unless its default is ticked). Arithmetic on a variable that has no value yet fails the step, so give a counter a default of 0. Use variables to accumulate totals, store intermediate lookups, or carry a computed value across multiple steps. A time typed in a flow — a Time variable’s Default Value, a time put into a Time variable or Time field, or the value a Time is compared with — means that time on the clock of the user the flow runs for: in a flow that runs when a record is saved, the clock of the person saving it; in every other flow, the workspace’s. It is that time on the day the flow runs.
  • Formula resource — a named value that is always computed from an expression rather than set by hand. Write the expression once and reference it anywhere in the flow as {{Flow.VariableApiName}}. Formula resources support the same functions as formula fields and can use anything the flow has: the record (Record.*, OldRecord.*), Trigger.*, a webhook's body (Webhook.*), other flow variables (Flow.*: a variable is always written with Flow. in front of it, and a formula that names one without it is refused), what a step gave (an API Call's answer such as Get_Time_Entries.Json.total or Get_Time_Entries.StatusCode, a found record such as Find_Account.Record.Name), and each loop's current item (Loop_Time_Entries.Item.timeInterval.start). The Fields picker of a formula variable offers all of them and puts the path into the formula. A formula resource is worked out again whenever a value it uses changes, so inside a loop it follows the current item; a value that is not there yet — a loop's item before the loop starts, the answer of a step that has not run — is a blank. They execute in dependency order; circular dependencies are rejected. A formula resource that fails while the flow runs (a division by zero, a value of the wrong kind) fails the step that uses it — or uses a formula built on it — with the formula's message, like any failing step; steps that don't use it run as usual.

To change a variable or formula, click its pencil on the Resources tab: it opens the same form as a new one, with everything filled in, including the formula. While a step, another formula, or a Map variable uses it, its Type, Data Type, Object and multiple values settings can't be changed, and the form says where it is used; its Label, API Name, formula, Decimals, Default Value and Description can always be changed. Delete is refused the same way while anything uses it. Changing the API Name changes it everywhere the flow uses it: in steps (merge tokens, picked values, formulas and an Aggregate Records step's Output Variable) and in other formulas. Text inside quotes in a formula is a fixed value and is left as it is.

Reserved names that cannot be used as variable or action API names: error, findrecord, flow, last, loop, oldrecord, record, screens, trigger. Using one shows “"…" is a reserved value. Choose a different API Name”.

Conditions and filter operators

Conditions appear in two places: as a per-action gate (skip this action if the condition is false) and inside actions that query records (Find Record, Update Record, Aggregate Records, scheduled target filters). Both use the same operator set. Value expressions in conditions support {{...}} references and = formulas.

Conditional Logic, the filters of Find Record, Update Record and Delete Record (when they use Query Record(s)) and Aggregate Records, and the flow's entry conditions each have a Logic Type that says how their rows combine: All Conditions (AND) (every row must match), Any Condition (OR) (one is enough), or Custom Logic, such as 1 AND (2 OR 3). With Custom Logic each row shows its number, and the numbers are the rows in order. A step saved before it had a Logic Type uses All Conditions (AND). A Custom Logic that names a row the step doesn't have, isn't complete, or uses anything other than numbers, AND, OR and parentheses is refused when you click Apply and when the flow is saved.

  • Text, picklist and lookup fields (and email, phone, URL, multi-select picklist, tags): equals, not equals, in, not in, contains, starts with, ends with, is null. A picklist is compared by the value it stores, a lookup by the related record’s Id.
  • Number / Currency / Percent fields: equals, not equals, greater than, less than, greater than or equal, less than or equal, is null.
  • Date / DateTime fields: equals, not equals, after, before, on or after, on or before, is null.
  • Time fields: equals, not equals, before, after, at or before, at or after, is null. A Time is compared by its time of day, to the minute; its date is ignored. Pick a time from the list or type one, like 9:00 AM.
  • Checkbox fields: equals, not equals. A checkbox is never blank, so it has no is null.
  • Geolocation fields: equals, not equals, is null. Equals means the same latitude and longitude — 40.5 equals 40.50. The value box stays a merge box: type the location as latitude, longitude (40.5, -73), or use a variable or another record’s location. Any other operator, or a value that is not a location, is refused when you click Apply and when the flow is activated.

In a Decision of a flow that runs when a record is updated, every field also offers is changed. Is null needs True (the field is empty) or False (it has a value): Apply, Save and Activate refuse it without one, naming the step. Switching a row to is null clears the value it had.

For a checkbox field or a Boolean variable, the value dropdown offers True and False. This applies to filters, field values, assignments, decisions, and start conditions. A typed value must be True or False, or the step shows an error when you click Apply. References and formulas are not checked. Activation also rejects a checkbox value the flow engine can't read as true or false; accepted values are true, false, yes, no, 1, and 0.

Actions

Actions execute in the order they appear on the canvas. Each action has an API name that becomes available as a variable scope for all subsequent actions.

Only Conditional Logic can branch. Every other action has one link to a next step; a Loop has one For Each link and one Done link; a fault path is one extra link. The builder refuses an extra link, and so does activation.

Find Record

Queries an object and returns matching records. Configure the target object and one or more filter conditions. In Find, Update, Delete, and Aggregate steps every filter row needs a field, and a value unless its operator needs none (such as is blank); a flow with an incomplete row can't be saved or activated. Set Match Mode to First to stop after the first match, or All to return every match. Outputs: found (boolean), record_id (first match ID), Record (first match fields), records (all matches as an array), found_count. Reference the result in later actions as {{ActionApiName.Record.FieldApiName}} or loop over {{ActionApiName.records}}.

Create Record

Inserts a new record into any object. Map each field to a literal value, a {{...}} reference, or a = formula. System fields (Id, CreatedDate, CreatedById) are set automatically and cannot be overridden. Formula and rollup fields are skipped. To tag the new record, add a row for Tags with Add and pick the tags (see Tags below). Outputs: created (boolean), record_id (new record ID).

Record variants. Wherever a step or condition gives a Record Variant — Create Record and Update Record rows, Assignment, filters of Find, Update, Delete and Aggregate Records, Conditional Logic and the Start conditions — its value box lists that object’s active record variants by name (an inactive one isn’t offered; an Account variant shows its kind, “Standard - Person (B2C)”); a saved one shows the variant’s name. Save and Activate check the step’s fixed picklist values against the record variant it will use: its Record Variant row when it has a fixed one, otherwise the object’s default (for an Account, the business or person default, from whether it sets Name or First / Last Name). A value that variant doesn’t offer is refused, naming it, with the two fixes: add a Record Variant row to the step (or, when it has one, choose another Record Variant in it), or tick the value on that variant. A value from a merge field, and a step running as a user without a Record Variant row (that user’s default is used), are known only when the flow runs: a misfit then fails that run with the reason. A step never moves a record to an inactive Record Variant, whether the flow runs as a user or as the system: the step fails with the reason and the record keeps its variant. Making another variant the object’s default is refused while an active flow’s step relies on a value it doesn’t offer: the message names the flow, the step, the field and the value, gives the same two fixes (a Record Variant row keeps today’s default for that step), and has an Open flow link for each flow; it stays on the Record Variant page until you close it.

Update Record

Modifies fields on existing records. Choose what to update:

  • Triggering record — always updates the record that fired the flow. Available only in record-change flows. A flow without an object, or on an inbound webhook, has no triggering record: Update Record updates another record, and no box offers a triggering record.
  • Specific record by ID — provide a variable reference to a record ID (e.g., the output of a Find Record action). The step updates a record of the object of the record you pick, and offers that object's fields, also when the step was first saved another way.
  • Records matching filters — find and update multiple records. Set Match Mode to First or All. Capped at 200 records per action when the flow runs inside a save, and 5,000 in the background.

Outputs: updated, updated_count, record_id (first updated), record_ids (all updated IDs), truncated (true if the match limit was hit).

A fixed picklist value that isn’t one of the field’s values is refused on Save, here and in Assignment steps (and in an approval’s Update Record). Which variant’s record a run updates is known only then: a value that record’s variant doesn’t offer fails that run with the reason.

A record’s History. Each change is logged once. When someone saves a record and an After Save flow updates it, the History has the person’s save with what it changed (including what Before Save flows and Record Auto-Assignment set), and the flow’s Update Record with what the flow changed.

Tags in Create Record and Update Record

Pick the field Tags in a row, then Add or Remove, then the tags with the same box as on record pages (the + button). Only existing, active tags can be picked; a flow can't create new tags.

  • Update Record can have Add and Remove rows in the same step. The record’s other tags always stay as they are. Adding a tag the record already has, or removing one it doesn’t have, does nothing and is not an error. A step can set only tags.
  • Create Record only adds tags: a new record has none to remove.
  • Saving or activating the flow is refused when a Tags row has no tags, when the same tag is both added and removed, or when a picked tag is inactive or deleted; the message names it. A run that reaches such a tag fails, naming it.
  • A flow that runs as the user needs that user to have Tags: Create to add tags and Tags: Edit to remove them, as on record pages; otherwise the step fails with Insufficient Access.
  • Sandbox promotions list the tags a flow adds or removes, when the target doesn’t have them.

Delete Record

Soft-deletes a record (sets it as deleted; does not permanently destroy it). Specify the target by providing a record ID variable, a set of filter conditions, or leave both empty to delete the triggering record. With a record ID variable, the step deletes a record of the object of the record you pick. Outputs: deleted (boolean), record_id.

What it deleted stays readable. The step reads the records just before it deletes them and gives them back as Find Record does: Delete It > Name ({{Delete_It.Record.Name}}) for one record, Records for the records deleted by filters, to loop over. A permanent delete keeps them too. Their fields are checked when you save, like a Find Record's.

Records that are deleted

A record that is deleted by the time a step runs can still be read — its fields in a message, a condition or an Assignment — but nothing can be done to it. The builder works out which records are sure to be deleted at each step: one a Delete Record step deletes by name on every path to that step, what a Delete Record step gave back, and, in a flow that runs when a record is deleted, the triggering record. Putting another record into a variable after the delete makes it a record that isn't deleted. At that step:

  • The record isn't offered where a step acts on a record: Update Record, Delete Record, Submit for Approval, Convert Lead, Send In-App Notification's Link to Record, and a lookup field in Create and Update Record. Its own Id isn't either; its lookups are other records and still are.
  • Update Record leaves out Update Triggering Lead and Update Another Record once the triggering record is deleted, and shows Use Record Variable and Query Record(s) straight away; Submit for Approval leaves out its Triggering Record and Record Variable choices and shows the record box; a new Convert Lead step starts with an empty Lead Id.
  • Send Email and Send SMS can still email or text it (Send Email with Treat Related Record as Recipient; with Add To Address it isn't offered, and one picked before switching to Add To Address is cleared), and an Outreach Template is filled in from its values. Log as Activity is unticked and greyed out, because nothing can be logged on a deleted record — for Send SMS also when a Recipients line uses a phone field of a deleted record.
  • Saving and activating refuse a step that is sure to act on a deleted record, naming the steps and why, for example: “'Note It' updates the record of 'Make Account', which 'Delete It' deletes before it. Pick a record that isn't deleted.” Promoting such a flow from a sandbox is refused with the same message.
  • A record deleted on only some paths, or in an earlier pass of a loop, can still be picked. If it really was deleted when the step runs, the step fails with a clear message, such as “The Account ACC123 was deleted, so it can't be updated.” Send Email and Send SMS check before anything is sent.

Configuration

Works with the rows of a Custom Configuration. Pick the Custom Configuration and the Operation: Find One, Find Many, Create, Update or Delete. A filter on Label offers the configuration's row Labels to pick, and one on API Name its row API Names. The step keeps the configuration itself, so renaming it changes nothing here; renaming a column renames it in the step.

  • Filters (every operation but Create) — the same rows, operators and Logic Type as Find Record, on the configuration's columns and the row's Label and API Name. A picklist column offers its values, a User lookup the workspace's users, a lookup to another configuration that configuration's rows. Sort By orders the rows found (a row with no value comes last). Update and Delete need at least one filter: they never change every row.
  • When multiple rows match (Update, Delete) and Max rows (Find Many, and Update or Delete with every match) — as Find Record's.
  • Values (Create, Update) — a column, Label or API Name and its value, typed, picked or a formula. A new Create starts with Label and API Name, which it needs. Values are checked as Setup checks them.

Later steps read {{Step.Found}}, {{Step.FoundCount}}, {{Step.RowId}} and the first row's values as {{Step.Row.Label}}, {{Step.Row.ApiName}} and {{Step.Row.<Column API Name>}}; a Loop goes through a Find Many's {{Step.Rows}}. A Before Save flow can use Find One and Find Many only. A flow that runs as a user needs that configuration's own permission (Read to find, Create, Edit or Delete to change), or the run stops with Insufficient Access; one that runs as System can do all of them. Rows the step changes are in the audit log with the flow's name.

Convert Lead

Converts a lead the same way as converting it by hand in the Convert Lead dialog on the lead's record page, but without anyone opening the dialog. It uses the workspace's Lead Conversion settings (see Lead conversion): the same outputs, field mappings, field defaults and Account classification. The lead is marked converted, the conversion is recorded in the audit log with the source automation, and flows on the Lead and on the records it creates run just as after a conversion by hand. The step is available in every kind of flow except Before Save flows.

The step offers exactly what the Lead Conversion settings and the Convert Lead dialog allow, nothing more. Its settings:

  • Lead Id (required) — the Id of the lead to convert. In a flow on Lead it starts as the triggering lead ({{Record.Id}}). Elsewhere, give the Id of a lead, for example a Find Record step's record ID. The step takes an Id, not a whole record or a list.
  • Outputs — one box for every output turned on in the Lead Conversion settings, in the same order as the Convert Lead dialog. Account and Contact are only the outputs every workspace starts with: a workspace that also converts leads to, say, tickets sees Ticket here too. A required output is always converted. An optional one has Include: True converts the lead to it too, False leaves it out, or give a true/false variable or formula so it is decided for each lead as the flow runs — for example a formula that leaves Contact out when B2B or B2C gives B2C. Include can only be True or False: a typed value that is neither is refused on Apply and Activate, and a variable or formula that gives anything else, a blank included, fails the run. Records are linked only by the Lead Conversion mappings, as by hand (a new workspace maps the Contact's Account from the Account output): when Contact's Account field is required and nothing fills it, the run fails.
  • Id of the record to match — shown for an output whose settings allow matching. With an Id, the lead is matched to that existing record; left empty, a new record is created. Find the record with a Find Record step first and give its record ID. When the settings only allow matching, the Id is required: Apply and Activate refuse the step without one, and an Id that turns out empty when the flow runs fails the step.
  • When matching, Lead data will — for an output that allows matching, the same choice as the Convert Lead dialog: Fill Blank Values (only empty fields are filled), Overwrite Current Values (the lead's data replaces them) or Do Nothing (the record is linked and left as it is). It starts on the output's default match mode.
  • Field values — only when the settings allow user field overrides (Users can override mapped values), as in the Convert Lead dialog. You can set the output's mapped fields and, for a record the step creates, its Owner; values can be typed, picked from the flow or written as formulas. For a mapped address, such as Billing Address, the step offers the address's own fields (Billing Address Street, City, State/Province, Postal Code, Country), as everywhere in flows; the system builds the address from them. Unmapped fields, formulas, roll-ups, auto-numbers and relationships are never offered. A field you leave out gets the lead's mapped value. A matched record set to Do Nothing takes no field values.
  • Owner of a created record — when the step gives no Owner, it works as in the Convert Lead dialog, which starts Owner on the person converting:
    • with user field overrides allowed, the record is owned by the user the flow runs as;
    • when the flow runs as System, there is no such person, so the record gets the lead's Owner;
    • with user field overrides not allowed, the record gets the lead's Owner, as by hand.
    A matched record keeps its own Owner.
  • Record Variant — for each created record, required as in the Convert Lead dialog. It starts on the Record Variant the Lead Conversion settings give that output (or the first one when that one isn't available), and you can pick another. The user the flow runs as must be able to use the variant.
  • B2B or B2C — for each Account output, offered only when its Account classification is User chooses during conversion, first in that output's box. Pick B2B or B2C, or give a variable or formula that gives B2B or B2C as the flow runs, so the kind can depend on the lead being converted. It can only be B2B or B2C: a typed value that is neither is refused on Apply and Activate, and a variable or formula that gives anything else fails the run, saying the value it gave. Left empty, or when the variable or formula gives a blank, the Account is B2B when the lead has a Company and B2C when it doesn't, as the Convert Lead dialog starts. With any other classification, the settings decide.
  • The Account's Record Variant — one of the kind the Account classification gives, as in the Convert Lead dialog:
    • Always B2B, Always B2C, or B2B or B2C chosen in the step: one Record Variant, of that kind, starting on the settings' default for it;
    • Use default Account variant: one Record Variant of any kind, starting on the default;
    • Company blank means B2C, or B2B or B2C left empty or given as a variable or formula in the step: the kind is only known for each lead, so the step has a B2B Record Variant and a B2C Record Variant, each starting on the settings' default for its kind. The Account gets the one of the kind the variable or formula gives; otherwise a lead with a Company gets the B2B one, a lead without one the B2C one.
    A step saved before it offered the Account's Record Variant uses the settings' default for the lead's kind. A Record Variant of the wrong kind is refused on Apply and Activate, and changing the classification so that the step no longer fits lists the flow before saving, like any other change to the settings that flows use.
  • Activity Person and Activity Related To — shown only when the Lead Conversion settings' Users can override where to move activities is on. They start on the settings' own choice; pick another output the step converts, or Leave on Lead. Otherwise the settings decide where the lead's activities go, as by hand.
  • Status After Conversion — one box for each active Lead variant: the closed Lead Status a lead of that variant gets, from the closed Statuses the variant ticks, starting on its first. Apply, Save and Activate refuse a variant without one, or a Status that isn't a closed one the variant ticks.

What later steps can use. Each converted record is available as {{Convert_Lead.<Output>.<Field>}}, using the step's API Name and the output's key, for example {{Convert_Lead.Account.Id}}, {{Convert_Lead.Contact.Email}} or {{Convert_Lead.Ticket.Subject}}. {{Convert_Lead.<Output>Created}} is true when the step created the record and false when it matched one. An output the step left out gives nothing. In a later Update Record or Delete Record step, Use Record Variable offers each converted record, and the step then works on that record's object.

Who can run it. The step follows the flow's Run As, like every step. Running as the user, the user needs the Leads: Convert permission, edit access to the lead, and the access to create or update the records the conversion makes; without the convert permission the step fails with “Insufficient Access”. Running as System, nothing is checked.

When it fails. The step fails, and the run stops unless the step has a fault path, when:

  • the lead doesn't exist or is already converted — a converted lead is never converted twice;
  • an Id to match isn't a record of that output's object, or is empty for an output that can only match;
  • the user the flow runs as can't convert leads or edit the lead;
  • the conversion itself is refused, for the same reasons the Convert Lead dialog would refuse it (a required field with no value, a validation rule, a Record Variant the user can't use);
  • the Lead Conversion settings changed since the step was built and no longer allow what it asks for (see below).

Converting a lead updates it, so a flow on Lead that converts leads should start only when Converted equals False; otherwise the update made by the conversion could start the flow again for a lead that is already converted.

Checked when you apply and activate. Apply and Activate refuse the step, naming what is wrong, when it has no Lead Id; uses an output that isn't turned on; leaves out a required output; matches an output that can't match, or gives no Id to an output that can only match; sets field values while user field overrides aren't allowed, or sets a field that isn't a mapped field of that output; gives an optional output an Include that is neither True, False nor a variable or formula; chooses B2B or B2C for an Account output whose settings decide it; or chooses where the activities go while the settings don't let users choose it. A step saved with a setting it no longer has is refused, naming it, until the step is opened and chosen again.

Run Debug. A debug run converts the lead and shows for each output whether its record was created, matched or not converted. Later steps in the same debug run see the converted lead and the records the conversion created or matched. Once the whole flow has finished, the conversion is undone with everything else the debug run changed: nothing is saved.

When the Lead Conversion settings change. Saving settings that a published flow's Convert Lead step no longer fits — for example turning off an output the step uses, making an output required that the step leaves out, no longer allowing matching for an output the step matches, removing the mapping of a field the step sets, or turning off user field overrides while the step sets field values — first shows Flows Use These Settings, listing each of those flows and what no longer fits. Cancel keeps the settings as they were. Save Anyway saves them, and those flows fail at the step until they are fixed. A flow that was already broken before the change doesn't hold up an unrelated save. Flows that aren't published aren't listed, but they can't be activated until their step fits the settings again.

Sandboxes. Promoting a flow with a Convert Lead step lists the Lead Conversion outputs it uses, and their objects, as dependencies when production doesn't have them yet.

Aggregate Records

Runs a summary query over a set of records. Select the object, add optional filters, and choose the aggregate: Count (no field needed), Sum, Average, Min, or Max (all require a target Number, Currency, or Percent field — Min and Max also accept Date and DateTime). The result is available as {{ActionApiName.value}} and is also written to a flow variable if you specify one in the action config. Custom fields can be the field to total and can be used in the filters.

Assignments

Reads and writes flow variables and the fields of the records the flow holds. Each assignment targets a variable or a field and applies an operator. An assignment only sets or changes values: comparing them (Not Equals, Greater Than, Before, After, Contains, Starts With and the like) belongs in a Decision or a filter, where the answer is True or False. A flow with an assignment row that compares is refused when you activate it, naming the step and the row, and a run that reaches one (a flow activated before this was checked) fails at that step.

  • Set (equals) — assign a literal, reference, or formula result to the variable.
  • Add / Subtract / Multiply / Divide — arithmetic on numeric variables.
  • Append / Remove — add or remove an item from a List or Set variable.
  • Clear — empty a collection variable.

A Map variable stores entries by key. Its Key Type is set when you create it (use Text for IDs; a record used as a key is stored as its ID), and its Value Variable says what each entry holds. On a Map, an assignment offers:

  • Get Value — read the entry for a key into another variable (Save Into). If the key is not there, the Save Into variable is emptied, so a list you then append to starts out empty.
  • Put — store a value under a key, replacing any existing entry. The key can be a value, a {{...}} reference such as the current loop item's field, or a formula.
  • Remove Key, Clear, Merge Map, Increment Value (number entries), Append Value (text entries).
  • Contains Key, Contains Value — save True or False into a Boolean variable.
  • Get Key Set — save the keys into a Set variable. Get Values — save the entries into a List variable (not available when the entries are lists). Get Size — save the number of entries into a Number variable.

To group records by a field, do this in one Assignments action inside a Loop: Get Value the list for the current item's key into a list variable, Append the current item to that list, then Put the list back under the same key.

Besides flow variables and the fields of the record that triggered the flow, an assignment can set a field of another record the flow holds. The Field box lists what can be set under Fields (the triggering record's fields), Flow Variables, Action Outputs and Loop Outputs; each record is one row that opens (Find Acme >), and typing finds a field inside a record too, shown with its record (Find Acme > Email):

  • A record variable — Main Contact > opens to Record (set the whole variable to another record) and its fields, saved as Flow.MainContact.Email. The variable must hold a record first (pick its Record and set it to a found record, a loop's item or the triggering record); setting a field of a record variable that holds none fails the step.
  • A step that holds one record of its own — a Find Record step set to the first match, a Create Record step, or an Update Record step that updates another record found with Query Record(s), set to the first match. Find Acme > opens to its fields, saved as Find_Acme.Record.Email. A step that finds or updates all matches gives a list: it isn't offered, and a flow that sets one of its fields can't be saved; loop over its records and set the Loop's item instead. An Update Record step that updates the triggering record or a record variable isn't offered: set that record or variable itself. If the step found no record, setting its field fails the step.
  • A Loop's current item, when the Loop goes through records — Loop: Each > opens to the item's fields, saved as Each.Item.Email.

A step's record and a loop's item are set field by field; they aren't replaced as a whole. To work with a different record, put it in a record variable.

The flow sees what it set: a later reference to that field ({{Find_Acme.Record.Email}}, or the field in a formula) reads the new value. An assignment never saves a record; to save the change, use Update Record. A calculated field (Formula, Roll-Up Summary, Auto Number) can't be set, and a field that isn't on the record's object is refused when you save the flow.

A record variable holds its own copy of a record. After Main Contact is set to {{Find_Contact.Record}}, changing a field of Main Contact doesn't change Find_Contact.Record, and the other way round. A record added to a list variable is the list's own copy in the same way. A Loop's current item is a copy too: changing it during a pass doesn't change the list being looped over, and the next pass starts from the next record as it was found. To keep the changes, add each item to a list variable (Append) or save it with Update Record inside the loop. A record variable, and a list of records, hold records of their own object only: putting a record of another object into a record variable, or adding one (or a list of them) to a list with Append, is refused when you click Apply and when you save the flow. A record of another object that only shows as the flow runs (one read back from a map, for example) fails the step, Equals or Append, and the run follows the step's Fault path if it has one. The value picker offers only records of the right object there.

You can chain multiple assignments in one action. Assignments run top to bottom, in the order they are listed, whatever they set; each one sees the result of the assignments above it in the same action, including formula resources built on what they changed. If an assignment fails, the action's assignments above it are undone too: the flow's records and variables are left as they were before the action.

Conditional Logic

Creates a branching point on the canvas. Define two or more named branches, each with its own set of conditions. When execution reaches the Conditional Logic action, Kraftter evaluates the branches in order and takes the first one whose conditions are all true. If no branch matches, the optional Else path runs instead. The Else outcome is named No Conditions Met; the pencil next to its name renames it (Enter or clicking away keeps the new name, Escape keeps the old one, and an emptied name goes back to No Conditions Met). The new name shows on its link on the canvas and in the run history. Actions placed on a branch execute only when that branch is selected; all branches merge back into the main canvas path after they complete.

Loop

Iterates over a collection — typically the records array from a Find Record action, a List variable, or an array from an API Call response. Sub-actions placed inside the loop run once per item. The current item is always available as {{Last.Item}} (or {{LoopActionApiName.Item}} for explicit reference). In the picker, a Loop over records opens to Record (the whole current item) and the item's fields. Additional loop variables: {{Last.Index}} (zero-based position), {{Last.TotalCount}}, {{Last.ProcessedCount}}, {{Last.Truncated}}. For Map variables the current key and value are {{Last.Key}} and {{Last.Value}}. The steps on the For Each link are the loop's body and the last of them must link back to the Loop. While you build the flow you can save it with a Loop whose For Each path doesn't lead back to it yet; activating it is refused until it does, naming the Loop (a Loop no link leads to yet, just dropped on the canvas, isn't checked). A run that reaches such a Loop, in Run Debug for example, stops there: the Loop step fails with the same message and nothing after it runs. Max Iterations is empty by default, which means no limit: the loop goes through every item. If you set a number and the list is longer, the run fails instead of skipping items. Loops can be nested.

The Loop Variable box lists what a Loop can go through: collection variables, Find Record: steps that find all matches, Configuration: steps that find many rows, and the lists in an API Call's answer (API Call: Google Maps Call >) or, in a webhook flow, in the webhook's body (Webhook >). An API Call's answer and the webhook's body open one level at a time, from the step's Response JSON Sample or the webhook's Expected JSON Sample: only lists can be picked; an object shows only when a list is inside it, and plain values aren't listed. A list's name picks the list (address_components); results [list] > opens its items to reach a list inside them. A Loop over a list inside a list (Google_Maps_Call.Json.results[*].address_components) goes through every item of every inner list, one after another.

When the list comes from an API Call or the webhook's body, or from a list variable filled from an API Call's answer, the variable picker opens the loop's item so you can choose one of its properties (for example {{LoopActionApiName.Item.projectId}}); its fields are read from the sample's first item.

Break: an Assignments step linked inside a loop has a Break switch above its rows. When the step runs with Break on, it sets its values, the steps after it on that pass are skipped, and the loop stops and goes on to its Done path. With Break on, the step may set nothing. Its link back to the loop stays: a loop must still link back to its Loop step. In a loop inside a loop, Break stops the inner loop only. A step that breaks its loop shows a Break badge on the canvas. An Assignments step that isn't inside a loop has no switch, and a Break it had is removed when you click Apply or save the flow. For example, to take the county from a Google Maps answer: loop over address_components, check that the item's types Contains administrative_area_level_2, and in an Assignments step set the county to the item's long_name with Break on.

In the run history, a loop of more than 200 passes shows its first 100 and last 100 passes step by step, plus any pass that failed; the Loop's final row says how many passes were not recorded. Run Debug records every pass.

Send Email

Dispatches an email. Configure the recipient as a literal email address or a {{...}} reference resolving to an email address. Alternatively, point to a related record and specify which field on that record holds the email. Subject and body support {{...}} merge references — formulas are not supported here. A merge reference can have a fallback, sent when the value is empty: Hi {{Record.FirstName|default:"there"}}, sends Hi there, for a record with no First Name; without one, an empty value is sent as nothing (Hi ,). A reference to a field that no longer exists when the flow runs (deleted or renamed since the step was set up), or that the template's Related Record can't fill in, fails the step instead of sending a gap, unless it has a fallback: then the fallback is sent. A reference written wrong, like {{Record.FirstName|default:there}}, is refused when you save or activate. See Fallbacks and empty fields. You can write a custom body or select a published Outreach Template instead. When a template the step uses is switched off later, the step still shows its name, marked (inactive); the flow can be saved, but not activated until the template is switched back on or another one is picked. A template with no merge fields can be sent without a related record. An address given more than once across To, CC and BCC (in any upper or lower case) gets the email once: in To if it is there, else in CC. Outputs: sent, email_address. Debug runs do not send real emails unless you explicitly enable it in the debug settings.

Send In-App Notification

Sends a notification to the bell () of the people you choose. Only available in after-save and asynchronous flows, and in Guided UI flows.

  • Recipients — add as many lines as you need. Each line is User (a person you pick), User in a field (a {{...}} reference to a user, such as {{Record.OwnerId}} or {{Record.AccountId.OwnerId}}), or Group's members (everyone in a group when the step runs). A person reached by more than one line is notified once.
  • Title and Body — write either one or both; they can't both be empty. They take {{...}} merge references, picked and checked the same way as Send Email's subject and body. In the builder the Title can be up to 50 characters and the Body up to 200, counting a reference by the characters it takes as you write it. That leaves room for the values filled in when the flow runs: once filled in, the Title may reach 80 characters and the Body 250. Anything longer is cut to that length and ends with “…”; the run history says it was cut.
  • Link to Record (optional) — choose a record Id and the notification gets an Open Record link to that record. Leave it empty for a notification that isn't about one record. If the chosen record is blank when the flow runs, the notification is sent without the link and the run history says so.
  • If a recipient can't be notified — Fail the run (the default) or Skip the recipient and go on.

A recipient can't be notified when they are inactive, when they don't have access, or when a line reaches nobody: the field is blank, the group has nobody in it, or the user or group no longer exists. Access is checked against the recipient, not the person who started the flow: the recipient needs access to the record the link opens and to every record field the Title and Body use. With Fail the run, the first problem fails the step. With Skip, each recipient is checked on their own: only the ones with a problem are left out and everyone else is notified. If nobody is left, the step notifies nobody and the run carries on. A merge field that can't be filled in, for example because the field was deleted, is the same for every recipient, so it fails the step with Fail the run, and with Skip nobody is notified. A merge field with a fallback, like {{Record.OwnerId.FirstName|default:"Team"}}, never fails: its fallback is used instead. The run history lists everyone left out and why.

A merge field that is empty when the flow runs leaves the text it is in empty; if the Title and the Body are both empty once filled in, nobody can be notified (Fail the run fails the step; Skip notifies nobody). A notification with only a Body shows the Body in the bell. Saving and activating refuse a step with no Title and no Body, a Title or Body over 80 or 250 characters, an incomplete recipient line, or a user or group that doesn't exist in the workspace. Who receives notifications, and how many, is up to the flow: a step inside a loop notifies its recipients on every pass.

Outputs: notified, notified_count, skipped_count, notified_user_ids, title, body, link, and left_out (each person left out, with the reason).

Send SMS

Sends a text through the environment's SMS integration (Setup () → Twilio). Only available in after-save and asynchronous flows, and in Guided UI flows.

  • Recipients — add as many lines as you need. Each line is A record's phone field (a {{...}} reference such as {{Record.MobilePhone}}, {{Record.OwnerId.MobilePhone}} for the record owner's mobile, a loop item's phone, or a found record's phone) or A number (typed, or a reference such as {{Webhook.customer.phone}}). A number reached by more than one line is texted once.
  • Message — type the text, with {{...}} merge references picked and checked the same way as Send Email's body, or choose an SMS Outreach Template, which is filled in from the Related Record. Picking a template puts its text in the Message, replacing what was there, as Send Email's template fills its Subject and Body; you can then change it. If you do both, the typed text is sent and the template is only used when the typed text is empty. Texts are plain text, never HTML. A counter under the Message shows its characters and SMS segments as you type: 160 characters fit in one segment (153 per segment once a text is split), and a single emoji or special character makes each segment 70 characters (67 once split). Twilio takes at most 1,600 characters, so activating refuses a longer typed Message, and a text longer than that once its merge fields are filled in is a recipient problem (see below).
  • Log as Activity (ticked by default) — each text is logged as an SMS Activity on the record whose phone was texted, owned by the person who started the run (when no person started it, such as a scheduled flow, by the record's owner). A typed number has no record of its own, so its text is logged on the Related Record, and the step needs a Related Record for it. Untick it for a text that belongs to no record, such as telling a record's owner that something happened: the text is still sent and its delivery is still tracked, but it shows on no timeline. While it's ticked, Activity Record Variant picks the logged text's record variant: it starts on the Texts mapping's (Setup → Phone → Activity Mappings) and offers only variants with every Status of every Texts mapping in force, since Twilio sets the text's Status. Save and Activate check it; when the run's Twilio account follows a mapping the variant no longer fits, the step fails and nothing is sent.
  • Fix formatting (unticked by default) — takes spaces, dashes, brackets and dots out of a number before it is checked: +1 (555) 123-4567 becomes +15551234567. It never adds a country code: Kraftter can't know which country a number belongs to.
  • Send From — Workspace default sender, A specific sender, or The number of the person who started the run (the sender assigned to them, else the workspace default).
  • Send Window (optional, off by default) — the days, and the From and Until times, picked from a list of every quarter hour (type 8:30 to find 8:30 AM). There is no time zone to set: the window runs on each recipient's own clock (below). A text that would go out outside the window is queued until the window next opens for that recipient, and the flow carries on straight away; the run history says “scheduled for” and the time. Without a Send Window a text goes out as soon as the step runs.
  • If a recipient can't be texted — Fail the run (the default) or Skip the recipient and go on.

Each recipient's own clock. The window's days and hours are the recipient's, not the workspace's: a 9:00 AM–5:00 PM window texts someone in Los Angeles between 9 and 5 in Los Angeles, and someone in New York between 9 and 5 in New York. Where the recipient is, is worked out in this order:

  1. Their Time Zone field — the standard Time Zone of the User, Lead, Contact or Account (see Fields, data type Time Zone).
  2. Their address, when the Time Zone is empty: a Lead's Address; a Contact's Home Address, then its Mailing Address; an Account's Shipping Address, then its Billing Address. The second address is read only when the first says nothing; when both say something, the first wins. Users have no address. From the address, the country gives its time zones; in the United States the state settles it, except in the states a time zone line crosses (Florida, Indiana, Kentucky, Michigan, Tennessee, Kansas, Nebraska, North Dakota, South Dakota, Texas, Idaho, Oregon, Nevada, Arizona, Alaska), where the county, else the ZIP code, tells which side it is on. These come from the official US time zone boundaries (49 CFR Part 71) and the Census Bureau's ZIP code areas, built into Kraftter.
  3. Their phone number, when nothing above says where they are: the number's country and, where it tells, its area code. A number without + and the country code says nothing.

When the recipient can be in several time zones — a state the line crosses with no county or ZIP code, a country with several zones, a mobile number that could be anywhere in its country — the window shrinks to the hours inside it in all of them. For example, 9:00 AM–5:00 PM for someone who may be in New York or in Los Angeles becomes 12:00 PM–5:00 PM New York time (9:00 AM Los Angeles time to 5:00 PM New York time). When no time is left — Russia's eleven time zones never share eight working hours — or when nothing at all says where the recipient is, the recipient can't be sent to within the window.

A recipient with no time left in the window is a recipient problem like the others below: Fail the run fails the step (its fault path, if it has one); Skip leaves that recipient out (the run history says why) and texts the rest, each in their own window.

When texts may be sent. Laws in some countries and states limit when marketing texts may be sent; for example, US rules restrict texts outside 8 a.m.–9 p.m. in the recipient's local time, and some states are stricter. You are responsible for when your flows send texts. The step shows this warning, and its Send Window lets you limit the days and hours.

Numbers must be in the format Twilio accepts: +, the country code and the digits, like +15551234567. A number in any other form, such as 555-123-4567 or (555) 123-4567 without Fix formatting, is not sent: a text Twilio would refuse would still cost money. A recipient can't be texted when the phone is blank, when the number isn't in that format, or, with Log as Activity, when there is no record to log the text on. As with Send In-App Notification, Fail the run fails the step on the first problem, and Skip leaves out only the recipients with a problem and texts the rest. A merge field that can't be filled in (unless it has a fallback, which is then texted instead), an empty text, or a text over 1,600 characters once filled in is the same for everyone: with Fail the run it fails the step, and with Skip nobody is texted. People who have opted out of texts (SMS Unsubscribed ticked on their Lead, Contact or Account, matched by the record texted or, for a typed number, by the number) are always left out, whichever setting you choose, and never fail the run. The run history lists everyone left out and why.

When no SMS integration with an active sender is set up in the environment, the flow can still be saved, but the builder warns: “This flow has a Send SMS step, but no SMS integration is set up in this environment.” Activating is refused until one is set up in Setup → Twilio. If the integration is removed later, the step fails when it runs. Saving and activating also refuse an incomplete recipient line, a missing Message, a Message over 1,600 characters, an Outreach Template that doesn't exist or isn't an SMS template, Log as Activity with a typed number and no Related Record, a sender that doesn't exist or isn't active, and an incomplete Send Window. An SMS template switched off after the step was set up shows its name marked (inactive): the flow can be saved, but not activated until it is switched back on or another one is picked. In a sandbox whose SMS Deliverability is System SMS only (the default) or No SMS, the step fails with “Not sent: this sandbox's SMS deliverability is set to System SMS only.” (or No SMS) (see Sandboxes).

A text counts as sent once it is handed to the send queue. Twilio's delivery report comes later and shows on the Activity. How many texts a flow sends is up to the flow: a step inside a loop texts its recipients on every pass.

Outputs: sent, sent_count, scheduled_count, skipped_count, opted_out_count, activity_ids, message, scheduled_for, from, and left_out (each number left out, with the reason).

Fault paths

Like Find, Create, Update and Delete Record, Convert Lead, Aggregate Records and Assignments, the Send Email, Send In-App Notification and Send SMS steps can have a fault path: a second link, followed when the step fails, instead of failing the run. With Fail the run, a recipient problem takes the fault path when there is one. Use it, for example, to create a task for someone when a text can't be sent. Without a fault path, a failed step fails the run as described in Errors and notifications.

API Call

Makes an HTTP request to an external URL. Supported methods: GET, POST, PUT, PATCH, DELETE. The URL, headers, and body all support {{...}} references and = formulas. Add custom request headers as key-value pairs — reference sensitive credentials from flow variables rather than hardcoding them. Every call says who is calling with the header User-Agent: Kraftter/1.0 (+https://kraftter.com) (some services, such as OpenStreetMap's Nominatim, refuse calls that don't); a User-Agent header you add to the step is sent instead. The response is parsed automatically if the server returns application/json, and the result is available as {{ActionApiName.body}} with full dot-notation access into the response structure. Other outputs: status_code, success (true if 2xx), error. Only available in after-save and asynchronous flows. Debug runs call nothing unless you tick Call APIs on Debug in the debug panel.

Submit for Approval

Submits a record to a configured approval process. Choose the record by its Id: a Find Record or Create Record step's record ID, a text variable, or the Id or a relationship field of a loop item or record variable. A whole record or a list is not accepted. Only record-triggered flows offer the triggering record, and only they default to it. The approval list shows the approval processes for the chosen record's object. When the object can't be inferred, such as from a text variable or a relationship field, it shows every approval process, and choosing one sets the object. The flow can't be saved or activated while the step has no record or uses a whole record or a list. An approval process deactivated after the step was set up lets the flow be saved, but not activated until the approval process is active again or another one is picked. At run time, a value that isn't the Id of an existing record fails the step with a clear message. The approval process takes over from that point. To run downstream flow automation after a decision, configure the approval to update a status field and use a record-change flow that reacts to that field update. Outputs: submitted, approval_id, status.

Pause

Halts execution for a configured duration — minutes, hours, or days — then resumes. Useful for time-delayed follow-ups (send a reminder 3 days after a record is created) or throttled retries. Only available in asynchronous flows; before-save and synchronous flows cannot pause.

A pause can also wait until a date: a Specific Date you pick, or Until a value of the flow such as a date field. A pause until a date ends when that date begins on the clock the run goes by — the workspace's Time Zone, or, for a flow started by a person saving a record, that person's own. A workspace in Los Angeles pausing until October 20 resumes at 12:00 AM on October 20 Los Angeles time. Until a Date/Time resumes at that exact moment.

Screen (Guided UI only)

Displays one step of a guided multi-step dialog to the user. Each screen has a title, an optional description, and one or more input fields arranged in configurable sections. Supported input types include text, number, picklist, lookup, time (the app’s Time box, on the clock of the person filling in the screen), and time zone (the worldwide list of the Time Zone field type). Mark fields as required, pre-populate them with {{...}} references, and make them read-only if they are for display only. Input collected in a screen is available to subsequent screens and actions as flow variables.

Variable scoping and step order

A step can use the outputs of the steps that run before it on the canvas: every step from which the links lead to it. It never offers its own outputs, a step that only runs after it, or a step on another branch of a Conditional Logic step. After the branches meet again, a step can use a step from any branch that leads to it.

  • In a loop, a step can use only what ran before it in the current pass: the steps before it in the loop, the loop itself, and everything before the loop. A step later in the same loop is not offered, even though it ran in the previous pass.
  • After a loop (its Done link), a step can use any step of the loop; it holds the values of the last pass. The loop's current item (its Item, Index, Key and Value) is there only while a pass runs: only the steps inside the loop (on its For Each path) are offered it, as {{LoopActionApiName.Item}}. A step that is linked after the loop, or anywhere else outside it, isn't offered the loop, and saving the flow is refused if it uses the loop's current item — say a value picked before the step was linked. The loop's totals ({{LoopActionApiName.TotalCount}}, {{LoopActionApiName.ProcessedCount}}) can still be used after it.
  • Linking steps differently changes what is offered: the picker works it out from the links as they are when you open a step.
  • A step no link leads to yet, such as one just dropped on the canvas, whose settings open before you can link it, is offered every step on the canvas. It never runs while nothing links to it, so the flow can be saved; once you link it, saving checks it like any other step.
  • Saving is refused when a step uses its own outputs or a step that doesn't run before it, for example after steps were linked differently, naming both steps and the use: “'Use' uses an output of 'Find B' ({{Find_B.FoundCount}}), but 'Find B' doesn't run before it.” or “'Find A' uses its own output ({{Find_A.FoundCount}}), which has no value until it has run.” Pick something that runs before the step, or change the links.
  • What counts as a use: a merge field whose path starts with a step's API name ({{Find_A.FoundCount}}), the step's name before a dot in a formula (=Find_A.FoundCount + 1; never inside a formula’s comment), or a value that is only a step’s path (Find_A.FoundCount). Plain text is sent as written, so a step named aa can send to aa@aa.com.

The picker in each step's settings shows only what the step can use. Record (and Old Record) is listed only when the flow has an object; a flow without one has no triggering record, so they are left out.

In the picker, each step, each Loop and each record variable is one row that opens (Retag Account >, Loop: Each >, Main Contact >). Opening it lists what it gives first — Record picks the whole record (Records for a list), Record ID for one record or Record IDs for a list, counts and other outputs; an API Call's Json and a Convert Lead step's records open further — and then the record's fields. Back returns to the list. Typing in the box finds what is inside the rows too, shown as its full path (Retag Account > Updated Count). A box lists only what fits it: a number box only numbers, a box that takes a record Id only Ids; a box that takes a record (such as Use Record Variable) also opens a step's record or a loop's item to pick one of its fields, such as a lookup. The triggering record is at the very top, in its own Triggering Record section: Triggering Lead, and Triggering Old Lead on an update; Trigger and Flow stay under Flow Options. In a schedule over records the section is called Record and the row is the object's name (Lead). In a manual or Guided UI flow, the boxes that take a record (Send Email's and Send SMS's Related Record, Link to Record) offer Record ID there: the record whose button started the flow ({{Trigger.RecordId}}). The triggering record can be picked whole as well: Triggering Lead > Record ({{Record}}) where a box takes a record of the flow's object, such as Append to a list of Leads, and in Use Record Variable and the other boxes that take a record. Submit for Approval's Record Variable leaves it out, since its Triggering Record choice is the triggering record. A record that is deleted by the time the step runs isn't offered where the step acts on a record (see Records that are deleted). Typing also finds every value inside a JSON — an API Call's answer, the webhook's body and a loop's item — keys inside lists included (Webhook > results > address_components > long_name), giving the same reference as opening it level by level, and the fields of a Configuration loop's row. In a Loop's box only lists are found.

Versions

Every saved flow is versioned. A flow has at most one draft (being edited) and one active (currently executing) version at any time. Publishing the draft makes it active and moves the previous active version to inactive. Inactive versions are retained in the version history so you can compare changes. Deactivate (Setup → Flows) turns off the flow and its active version, so no version is active; to turn the flow back on, open it in the builder and activate the version you want. You cannot edit an active version directly — open the flow to create a new draft, make your changes, test with the debugger, then publish.

Saving and activating check the flow first and refuse, naming the step, when: the trigger is missing a setting it needs (a record-change trigger's object or Run Mode, a schedule's Frequency, the Inbound Webhook); a step is missing a setting it needs (such as its object, approval process, fields to set (an Assignments step with Break on, inside a loop, may set none), the collection to loop over, a Pause date, an email's recipient, subject or body, a screen's API Name or an API Call's URL); a step has more links than its type allows; a field used in a filter, a sort, or an assignment doesn't exist; a Send Email step uses an Outreach Template that doesn't exist or isn't an email template, or a subject or body merge field that doesn't exist; a Send In-App Notification or Send SMS step isn't set up as described above, or uses a merge field that doesn't exist; a Convert Lead step asks for something the Lead Conversion settings don't allow; a Guided UI flow has a Pause step; a variable's Default Value isn't of the variable's type; or a formula, typed value, name or merge field isn't valid. Activating also refuses what saving lets through because it is set up outside the flow: no SMS integration, an Outreach Template or Inbound Webhook that is switched off, and an approval process that isn't active.

Debug and test

Use the built-in debugger to run any draft version against a real record before activating it. For record-change flows, provide a record ID and select the event type (create, update, or delete). For scheduled flows, the debugger runs the flow once without processing a full batch. For webhook flows, paste a sample payload.

Sync and Async. A debug run runs the flow as a save does: its Sync path first, as one run, then its Async path, as another. Each run follows only its own kind of links and checks the entry conditions itself, and the Async run sees what the Sync run did, as it would after the save. When the Sync run fails, the save would fail and its Async run would never start, so the debug run doesn't run it either. A flow with both kinds of links out of Start shows a Sync / Async switch above the results, on Sync first. It switches everything that belongs to one run (its status, Raw JSON, Entry Conditions and steps) and what the canvas lights; the record, the tick boxes and Debug Overrides stay as they are. An Async run that wasn't run says Not run: the Sync run failed, so the save failed. A flow with one kind of link out of Start has no switch. On the canvas, the steps the run shown went through (their Link pill too) and the very arrows it took are lit in its colour: blue for the Sync run, magenta for the Async run, so they never look like the links the run didn't take: grey on the Sync path and violet on the Async path, as the builder always draws them (the Start step's Sync and Async pills and each step's Link pill too). On Start, only the pill of the run shown is lit. A step that failed is red.

The debug output shows every action in execution order with its status (queued, running, succeeded, failed, skipped), the exact input it received, and the exact output it produced. Skipped actions show the condition that caused them to be bypassed. This makes it straightforward to trace why a condition did not match or why a variable resolved to an unexpected value. Each step in the list can be expanded or collapsed, with Expand all and Collapse all at the top; a failed step starts expanded, and its error is shown with its output. Raw JSON shows the whole run as data; the copy icon next to it copies all of it. An Assignments step lists the new value of everything it set. A Find Records step, an Update Records or Delete Records step that finds its records by filters, and a Configuration step that finds rows, lists each filter, by the field's label and operator, with the value it compared with (a reference as it resolved in that run), so you can see why records were or weren't found. Each step's type and settings read as the builder names them (Assignments, Process all matches, Count, Soft Delete). Currency, percents and numbers are written as on a record page, with the field's own decimal places (a variable's Decimal Places): in the entry conditions, the filters, the fields a step set, the resources, an Aggregate Records value and Conditional Logic's values. Each step also shows Resources: every variable and formula resource the step uses (in its settings or, for Conditional Logic, its conditions) with the value it had when the step ran. Inside a loop each pass is its own row, so you see the values of that pass. When an Assignments step breaks its loop, its row says Break: Yes and the Loop's last row Ended by Break: Yes, in Run Debug and in the run history; the canvas draws an amber arrow straight from that step to its Loop, past the steps the pass skipped, and the Loop's row is followed by its Done path. A record shows as one line, Record: Acme (ACC…), and a list of records as List: 5 records; both start closed, and the chevron opens a record as formatted data and a list as one line per record. Names sit in one column for every step, as wide as the longest name of the run, so all the values line up; a very long name wraps between words. For a flow with entry conditions, Entry Conditions above the steps, a section that starts open and closes with its chevron, lists each condition (its field, operator and value) with the record's value and whether it Matched or was Not Matched, and says whether they were met (the flow ran) or not met (the flow didn't run). Every condition is checked, so you see all of them even when the first one didn't match; the flow runs when they match by the Start's Logic Type (all of them, unless it is Any Condition or Custom Logic). In the entry conditions, the filters and Conditional Logic, a blank value shows as a small grey Empty pill (a value that is the word "Empty" shows as plain text), is null shows True or False, the values of in and not in show as a list (Qualified, Working, also when a list variable gave them), and a user or record shows by name with its Id, as Ada Admin (USR…); an Id with no name to show (a record deleted for good, an Id that matches nothing, a record you can't see) shows alone. The debug panel keeps its width on a small screen and scrolls sideways to the rest.

Nothing a debug run changes is kept: the flow runs as it would for real, so each step sees what the steps before it did (an Update Record finds the record a Create Record made earlier in the run). Once the whole flow has finished, or a step has failed, everything the run changed in your data is undone: records created, updated, deleted or converted, approvals submitted, and anything else the run's saves set off. The debug panel shows the run while it is open, and the run itself isn't kept: it is only for debugging the flow, so it is not in the flow's Recent Runs. Two things are kept:
  • each run's entry in Setup > Audit Logs (“Debug run succeeded.” or “Debug run failed: …”), saying who ran it;
  • what you ticked to really send (below).
Flows that the debug run's saves set off (Sync flows on the records it creates, updates or deletes) run in debug mode too, with the same tick boxes, and are undone with the rest. They follow their Sync links only, as they would for real; anything they or the debug run would start in the background (Async flows and links, webhooks) is not run.
Messages and API calls in debug mode: a debug run sends no email, notification or text and calls no API unless you tick Send Email on Debug, Send Notification on Debug, Send SMS on Debug or Call APIs on Debug in the debug panel. Without the tick, the step is checked as it would be for real and its output says what would have gone out: who would have received the message (and, for a text, when it would have gone out and whether a sandbox's SMS Deliverability would hold it), or the API Call's method, URL, body and the names of the headers set up in the step. A credential's values are never shown, and the URL of a call that uses a credential is shown without its query. With the tick, the email, notification or text is really sent and kept, and the API is really called; a call set to Fire and Forget is queued once the debug run has been undone. An email or text set to Log as Activity is logged only on a record that still exists after the debug run: one the debug run itself created is gone, so the message is sent without an Activity. A notification that links to such a record is sent without its link. Without Call APIs on Debug, a later step that reads the API Call's answer finds it blank. A Pause is not waited for.

Run history

Every execution of an active flow is logged. The run history shows the trigger that fired it, start and end time, duration, and final status: succeeded, failed, or cancelled. In the flow's Recent Runs, click a run to open its own page: its status, trigger, start and end time and error, its Raw JSON (with the same copy icon), its Entry Conditions when the flow has them (a section that starts open and closes with its chevron: which matched and which didn't, also on a run that went ahead, and on one that didn't run because they weren't met), and its steps exactly as the debug panel shows them, with Expand all and Collapse all (a failed step starts expanded). For scheduled flows running in records mode, each batch is tracked separately with its own record count, success count, and failure count so you can identify which records in a batch caused failures.

Deactivating or deleting a flow, or activating a new version of it, while a scheduled run is in progress stops the work that has not started: the run, its unfinished batches, and the record runs that had not started show as cancelled. A run already in progress finishes.

Design guidance

One outcome per flow. Name each flow for the business result it produces — "Assign new enterprise lead to queue", "Notify owner on large discount request" — not for its implementation. A flow named by outcome is easier to find, easier to maintain, and tells the next admin exactly why it exists.
  • Use Before save only when the flow must inspect or block the record as part of the save operation itself. Use After save for everything else — it is safer, supports more action types, and does not slow down the save for the user.
  • Add an explicit condition to every action that should not run unconditionally. An Update Record action without a condition will run on every matching trigger event, including updates that have nothing to do with the relevant fields.
  • Use {{OldRecord.*}} vs. {{Record.*}} comparisons in conditions to fire actions only when a specific field actually changed, rather than any time the record is updated.
  • Build formula resources in the Variables panel for computed values you need in more than one place. This keeps the logic in one location and keeps individual action configs readable.
  • After activating, check the run history and the audit log. A flow that looks right in the debugger can still behave unexpectedly on production data — review the first few real runs before trusting it.
  • Pair flows with approval processes deliberately: a flow can submit a record for approval, and the approval handles the human decision. Approval outcomes do not directly trigger flows. For downstream automation, configure the approval to update a status field, then use a record-change flow that reacts to that field update.
This guide is part of the Kraftter documentation V1. Visual walkthroughs and examples are coming in a future update.