Skip to content

Workflows

Detection & Response > Response (the Workflows tab) lists the organization's response workflows. A workflow is a graph: a trigger, then actions, conditions, loops, approvals, notifications and incident changes, connected on a canvas. Playbooks made before workflows became workflows with the same id (a straight line: trigger, one action per step, end); they still run as before and open in the editor like any other workflow.

Each workflow shows whether it is enabled, its trigger, its active version, the detection rules that run it and its last run. Run starts it by hand (an incident, an optional manual target, an optional JSON input, dry run); New workflow opens an empty one (trigger → end).

The editor

The canvas takes the page; Steps (the palette) and Settings are panels docked over it that you hide and show (the editor remembers this in your browser), and the button under the zoom controls switches to full screen (Esc leaves it). Each step is a card with its icon, its name, a line that says what it does (for example "Block IP at Cloudflare" or "If incident.severity == 'high'") and its id; zoomed far out, cards show their name in large type.

  • Steps (left): node kinds grouped as Triggers, Logic & flow (If, Switch, For each, Merge, Wait, Run workflow, Approval, End), Actions (your configured response actions, by vendor, and your Python actions under Python), DRACO (steps that work on DRACO's own data, by module: see DRACO steps), Data & enrichment (Set variables, Transform, HTTP request) and Notify. Drag a node onto the canvas, or click it to add it after the selected node; a Python action becomes a Python step that runs that code.
  • Adding steps on the canvas: the + next to an output port adds a step after it (a step already there moves along), the + in the middle of a connection inserts a step on it, and dragging a connection into empty space adds a step there. Each opens a short searchable list of the same steps as the palette (arrows and Enter to choose).
  • Connecting: drag from an output port to another step. Ports are the engine's: next (success), on error, true/false (If), one per case and default (Switch), each item/done (For each), approved/rejected/timeout (Approval), submitted/timeout (Wait for input). Connections are coloured by port (the main path in blue, false and other alternatives in grey, on error red and dashed) and labelled; hovering a step or a connection highlights it. The canvas refuses edges into the trigger, duplicates and cycles (repeat work with a For each node).
  • Moving: drag a step; Shift+drag (or the selection tool in the canvas toolbar) draws a box to select and move several. Steps snap to a grid and to the edges of other steps (the grid button turns snapping off). Auto-layout arranges the graph left to right or top to bottom, with error branches kept below (or beside) the main path; migrated playbooks are laid out when opened.
  • Right-click a step to open it or its step details, rename, duplicate, copy or delete it, disable it (see Step settings), test it (see Testing one step) or pin its output; right-click the canvas to paste, add a step, a note or a group, auto-layout or fit the view.
  • Notes and groups: a sticky note holds plain text; a group is a named frame behind steps (it frames the selected steps when you add it, and moving it moves what is inside). Double-click to write or rename, drag the corners to resize, right-click to pick a colour. They are saved with the workflow's versions and have no effect on runs.
  • Copy and paste: copied steps go to the clipboard as JSON and paste into this or another workflow with new ids; connections between the copied steps come along, references between them are updated, and a trigger is never pasted. A pasted action or Python step that names an action or code your organization does not have is flagged by the check. Copied steps can also be imported as a new workflow (see Export and import).
  • Shortcuts (not while typing in a field): Delete or Backspace removes the selection, Ctrl+Z / Ctrl+Shift+Z or Ctrl+Y undo and redo, Ctrl+C / Ctrl+V copy and paste, Ctrl+D duplicates, F2 renames, F fits the graph, Ctrl+F finds a step by name, id or what it does (Enter goes to the next one), and Tab adds a step after the selected one. On a Mac, use Cmd for Ctrl.
  • Settings (right): clicking or double-clicking a step opens it here (the Workflow tab also holds Runs at once). Node shows the selected node's form, built from its settings: a response action and its target (the incident's entities of a kind, the manual target, or an expression) with parameter overrides (empty keeps the action's value), approval and dry run (inherit, yes, no), retries and the step settings; an If condition built from rows (see Conditions); Switch cases; variables; and so on. Workflow holds the name, description, enabled, the trigger (manual, new incidents, incident changes, new alerts, a schedule, an inbound webhook, another workflow's failure, or an event of another module such as an indicator sighting, a new posture finding, a behaviour anomaly, an SLA breach or a silent data source: see Workflow triggers and people), the error workflow, what succeeded runs keep and the graph's variables. Versions and Runs are below.
  • The workflow is checked as you edit: errors appear on the node (a red count) and under the field they concern, problems of the whole graph above the canvas, and Check in the toolbar re-runs the check.

Expressions

Every text field accepts {{ ... }}: a JMESPath path over the run's data, then filters with |. The { } button next to a field lists what the node can read: trigger.* (the run's input and manual target), incident.*, vars.*, steps.<node>.output.* of the nodes that run before it (with the fields each node returns), item and index inside a For each, and run.*. Typing inside the braces suggests paths; after | it suggests filters:

Filter What it does
default('x') the fallback when the value is empty
lower, upper text case
join(', ') a list as one text
length items of a list or characters of a text
to_json, from_json to and from JSON text
cidr_contains('10.0.0.0/8') true when the IP is in the network
now, date_add('1h'), date_diff(other) dates (durations 30s, 15m, 2h, 1d, 1w)
trim, trim('/') text without leading and trailing spaces (or the given characters)
split(','), split(',', 1) a text as a list, cut at the separator (spaces when none), at most the given number of cuts
regex_match('^10\.') true when the regular expression matches somewhere in the text
regex_extract('user=(\w+)'), regex_extract(pattern, 'name') the first match: its first group when the pattern has groups (or the group you name or number), else the whole match; null without a match
regex_extract_all('\d+') every match, as a list (at most 1,000)
sha256, md5 the hash of a text, in hex
defang, refang an IP, domain or URL made safe to paste (hxxps://evil[.]example, 203[.]0[.]113[.]5) and back; refang also reads [dot], (.) and [at]; lists are done item by item
url_parts {scheme, host, port, path, query, params, fragment} of a URL (a URL without a scheme is read as http://), or null; url_host is its host
domain_parts {host, subdomain, domain, tld} of a host name or URL by the public suffix list (www.example.co.uk: domain example.co.uk, tld co.uk), null for an IP; registrable_domain is its domain

A filter's result can be read further with a path: {{ trigger.input.url | url_parts | path }}. Every filter is also a function inside an expression: {{ regex_match(incident.title, 'ransom') && incident.severity == 'high' }}. Quote texts with single quotes ('text'); double quotes name a field.

! negates the whole path after it: {{ !steps.check.output.error }} is true when the step returned no error. It binds tighter than comparisons, && and || ({{ !a.done && b.ready }}), and parentheses (!(a.b)) read the same.

Regular expressions are Python's syntax. So that a pattern can never stall a run, a pattern has at most 300 characters, a text is searched in its first 10,000 characters and a search stops after a quarter of a second; patterns that can take exponential time are refused when the workflow is checked or run: backreferences (\1), an open-ended repeat inside a repeated group ((a+)+, (\.[a-z]+)+) and alternatives inside an open-ended repeat ((a|ab)*). Write [a-z.]+ instead of (\.[a-z]+)+; bounded repeats such as (\d{1,3}\.){3} are fine.

Conditions

An If step's condition (and a Transform filter) opens in a builder when it is simple: rows of a field, an operator and a value, joined by All of them (AND) or Any of them (OR). Operators: equals, does not equal, greater or less than (or equal), contains (a text or a list), starts with, ends with, matches the regex, is in the network (CIDR), is empty and is not empty. Numbers, true, false and null compare as values, anything else as text. The builder writes an ordinary expression ({{ incident.severity == 'high' && incident.risk_score >= `70` }}), and Expression shows and edits it as text; a condition the builder cannot show (filters, AND and OR mixed, two fields compared) stays in the text editor.

A field that is exactly one expression keeps the value's type ({{ incident.entities.src_ip }} is a list). Expressions never run code, and the check reports paths that do not exist (for example a field an action does not return).

With a test run picked in the step details, or with pinned outputs, each field with an expression shows its value under it as you type (= and the value), worked out on the server exactly as a run would, or the error a run would hit. Values of the trigger data under secret-looking keys show masked, as in the run viewer; long values are cut.

HTTP request steps

An HTTP request step calls the API of one of your connections when no response action covers what you need: list an Okta user's factors, read a GitHub audit event, add a Cloudflare list item, page through Microsoft Graph results, read a Falcon host or a SentinelOne agent. The connection signs in; the step never holds a key.

Vendor API the step calls Hosts
Okta your org (https://<org>.okta.com) *.okta.com, *.oktapreview.com, *.okta-emea.com, *.okta-gov.com, *.okta.mil
GitHub https://api.github.com api.github.com
Cloudflare https://api.cloudflare.com/client/v4 api.cloudflare.com
Microsoft 365 (Microsoft Graph) https://graph.microsoft.com graph.microsoft.com
CrowdStrike Falcon the API of the connector's cloud (https://api.crowdstrike.com for us-1) api.crowdstrike.com, api.us-2.crowdstrike.com, api.eu-1.crowdstrike.com, api.laggar.gcw.crowdstrike.com, api.us-gov-2.crowdstrike.mil
SentinelOne your console's API (https://<name>.sentinelone.net/web/api/v2.1) *.sentinelone.net, *.sentinelone.us

Settings:

  • Connection: the picker lists your connections of these vendors with what the step may do there: Read always, Write when the connector's response part is on (Read only otherwise). Under it, the request line shows where the call goes.
  • Method: GET and HEAD sign in with the connector's read access; POST, PUT, PATCH and DELETE with its write access, and only while the connector's response part is on.
  • Path: relative to the connector's API (/api/v1/users/{{ incident.entities.actor_user[0] }}). An absolute URL is accepted only for the same host; any other host is refused. Query parameters and Headers take expressions; Authorization, Cookie, Host and the other sign-in headers are the step's own and cannot be set.
  • Body (writes): JSON or form fields, with expressions.
  • Pagination (GET): Next link follows the Link: rel="next" header or a field of the answer (@odata.nextLink), Cursor sends a field of each page back as a query parameter. Name the Items field (the list on each page): the output's body is every page's items. At most 10 pages; truncated says more were left.
  • Response: JSON (default) or text. Timeout: up to 30 seconds (default 15).
  • OAuth scopes: for an Okta connection that signs in with its provider's service app, the scopes the call needs (granted to the app in Okta).
  • Ask for approval before sending (writes): the run waits for an approval that shows the request; another member decides (four-eyes, as for response actions), and the request is sent once approved. Rejected or expired, nothing is sent and the step takes its error edge.

Output: status, headers (only content type and length, date, ETag, Last-Modified, Link, request id and rate-limit headers), body, pages, truncated, identity (read or write) and request, the request as sent with secret-looking values masked. A vendor answer of 400 or more, a refused host or a timeout fails the step into its on error edge with status, headers and body when the vendor answered; 429 and 5xx answers can be retried by the step's retry policy (a vendor's Retry-After is honoured).

Safety:

  • The call goes only to the vendor's hosts above, over HTTPS. Addresses on private networks are refused, before the call and again when connecting (a name that changes address between the two checks is refused too). Redirects are not followed.
  • An answer is at most the output limit of a step (256 KB), pages included.
  • Keys are never stored in the run: not in the step's settings, output, errors or the run viewer. If the vendor echoes a key back, it is masked.
  • In a test run or a dry run, a write sends nothing: its output is the request it would send (simulated: true). Reads run, so you can test a step against real data.
  • Every write sent is recorded in the audit log (method, URL without secrets, status, approval).

Transform and merge

A Transform step reshapes a list without calling anything: List is an expression that gives a list (search results, alerts, a lookup's matches), and its operations run in order. Inside an operation, item is one element and index its position (inside a For each they hide the loop's own item and index: copy those into a variable first).

Operation What it does
Filter keeps the items whose condition is true ({{ item.severity == 'high' }}, or the builder)
Map Pick and rename fields: new name and a path of the item (src.ip) or a template ({{ item.host \| lower }}); or A value per item ({{ item.ip }} makes a list of IPs)
Sort by a field (or the items themselves), ascending or descending; empty values go last
Unique the first item of each value of a field (or of each item)
Group one {key, items, count} per value of a field, in the order they first appear
Limit the first N items

The output is steps.<id>.output.items, .count and .input_count, and the variable picker of later steps lists the fields a Map or Group produces. A Transform takes at most 5,000 items and 20 operations; its output is limited like any step's. Save as a file (format csv or json, and a name) stores the result as a file of the run instead: items is then empty and artifact holds the file's reference. In CSV, objects become columns by their fields, and a cell that starts like a spreadsheet formula (=, +, -, @) is prefixed with '.

A Merge step joins branches that lead into it. Wait for is Every branch (the default) or The first branch to arrive. A branch an If or a Switch did not take is skipped: it never holds the merge up and adds nothing, and when every branch into a merge is skipped the merge and the steps after it are skipped too. With the first branch, the merge runs as soon as one arrives; the other branches still run, and the merge does not run again. Combine:

  • Append the lists: lists end to end (any other output is one item); output items, count and branches (the steps that arrived);
  • Merge objects by a key: objects with the same value of Key become one, later branches' fields winning;
  • Keep each branch by step id: by_branch.<step id> holds each branch's output.

What to combine is an optional path into each branch's output (for example results).

Files of a run

Some steps produce a file rather than data in the run: an HTTP request with Response set to A file (a report, an attachment from a vendor; File name names it, otherwise the last part of the path), or a Transform with Save as a file. The file is stored in DRACO's file storage (where incident files are kept) and the step's output holds only its reference, artifact: {id, name, type, size, sha256}. The connector's credentials are removed from a downloaded file before it is stored.

  • Read artifact reads a file of the run back as text, or as JSON (values under secret-looking keys masked), up to At most characters (20,000 by default, at most 200,000). It reads the files of its own run, of the run it retries, of the run that called it and of the workflows it called; a file of another run or organization is not found.
  • Attach artifact attaches a file of the run to an incident (a note with the file; the incident's file limits and file types apply, and a type incident files do not take, such as HTML, needs Attach as a possibly malicious sample: it is then only ever downloaded) or to an investigation (an evidence entry in its timeline that names the file). It needs Read-Write in Alerts & incidents (or Investigations). Test and dry runs attach nothing; a step that runs again attaches nothing a second time.
  • Limits: one file is at most your organization's file size for incident files, the files of one run together at most its total per incident, and all of your organization's workflow files together at most 2 GB by default.
  • Keeping: the files go with their run when the run is deleted (see Keeping run data); a file attached to an investigation is kept as long as the investigation. A file attached to an incident is a copy that stays with the incident.
  • Downloading: the run viewer lists the run's files (and, on a step, that step's files) with Download. A download needs Read in Response actions & playbooks: DRACO creates a link for you that works for five minutes, only for you and only in your organization, and the file is sent through DRACO, never straight from storage. Downloads are in the audit log.

Waiting for a call-back or a condition

The Wait for call-back or condition step parks the run:

  • A call to its one-time URL: the step has its own URL, which the steps before it read as {{ run.callbacks.<step id> }} (inside a For each body: that item's URL). Send it to the other system (in an HTTP request, a ticket or a message); when that system POSTs JSON to it, the run goes on along success and the body is steps.<step id>.output.body (with headers and received_at). The URL takes one call, only while the step waits (a call before the run reaches the step is refused), and expires after Timeout (minutes) (default 60, at most 7 days and never after the run's time limit); then the run takes the timeout edge, or fails without one. A second call, a call after the step ended or for another run gets 404. The URL is a secret: anyone who has it can resume the step once. DRACO keeps only a hash of it, and the steps' settings stored with the run show it masked: read it where you send it rather than copying it into a variable. The endpoint has the webhook's rules: HTTPS, JSON (an object or a list, or an empty body), at most 64 KB, 60 requests a minute per URL and 300 per organization (429 with Retry-After, 503 when the counters are unavailable).
  • A condition: Check again names an earlier read step (an HTTP request with GET or HEAD, a threat intel or asset lookup, an incident or DQL search, a DRACO step that reads). Every Every (seconds) (60 to 3,600, default 300) the step runs it again with its settings and evaluates Until with steps.<check step> holding the fresh result; true takes success. After Checks at most (1 to 100, default 12) or the timeout it takes timeout. A check that fails counts as "not yet" (last_error). The output has met, attempts and value (the last result).

Test and dry runs never wait: a call-back step takes success with an empty body, a condition step checks once and takes success or timeout.

Answering a webhook

Answer the webhook sets the answer of the call that started a webhook workflow set to answer with the result: the status code, allowed headers and a JSON body. See Answer with the result.

Step settings

Below a step's own settings, Step settings holds what applies to the step as a whole (each step shows the ones it takes):

  • Timeout (s), 10 to 86,400, on response actions, notifications, lookups, searches, HTTP requests and Run workflow: a step that has run or waited longer fails with "timed out". A timed-out step is never retried, so a vendor call or a message under way is never sent a second time; an approval it waits for expires and a workflow it runs is cancelled. Timeouts are checked about once a minute. Approvals, forms, AI investigations and Python steps keep their own limits.
  • Continue on error: when the step fails (after its retries), the run goes on along next instead of failing; the error is in steps.<id>.output.error (and steps.<id>.error). A step that continues on error has no on error connection.
  • Disabled (also Disable step on the step's right-click menu): runs pass through the step without running it, and the steps after it read the output of the step before it as this step's output (inside a For each, the first step of the body passes on {item, index}). A disabled step is drawn greyed and dashed and does not count as a node execution. If, Switch, For each, Approval, Wait for input, End and the trigger cannot be disabled.

A For each paces its items with Batch size (a batch starts when the one before it finished), Items at once (at most this many run at the same time) and Pause between batches (seconds, with a batch size; test runs and dry runs do not pause). Without them, every item starts at once.

Loops inside loops: a For each inside a For each's body runs once per item of the outer loop (for example each user of each host), up to three loops deep. Inside, item and index are the innermost loop's, and loops.<loop id>.item and .index read the item of any loop around the step; a step reads the steps before it in its own body and in the bodies around it. The items of every loop of a run together are capped (1,000 by default). The run viewer names each run of a step by its items ("Each host item 3 › Each user item 1") and filters a step's runs by item. A retry runs again only the inner items that failed, while the lists are the same as in the failed run, and a DRACO step that creates a record creates it once per item path.

Runs at once

In the editor's Workflow tab:

  • Runs at once: how many live runs of the workflow may be open (queued, running or waiting) at the same time; empty is no limit.
  • One run at a time per: an expression of the trigger data or the incident, such as {{ incident.id }}: while a run with a value is open, a new run with the same value does not start either (one run per incident). A run whose value is empty is not held back.
  • When the limit is reached, a new run is queued (it starts when a slot and its value are free, oldest first; the run viewer says why it waits), skipped (recorded as cancelled with the reason, so nothing is lost silently), or cancels the oldest open run (with the same value, when that is what blocks it) and starts.

Two runs that start at the same moment never both take the last slot or the same value. Test runs and runs started by another workflow's Run workflow step are not counted and never held back. At most 100 runs wait per workflow (more are skipped), and a run that waits longer than a run may take times out.

Saving and versions

Save version stores the graph as a new, immutable version and makes it active; a change note is optional. Versions lists them; Open loads an older one into the editor and Activate makes it the one runs use (rollback). Saving refuses a graph with errors.

Export and import

Export (in a workflow's ⋮ menu on the list, and in the editor's toolbar) downloads the active version as a DRACO workflow file (.draco-workflow.json): the name, description, trigger and its condition, the graph with its variables, notes and groups, and what succeeded runs keep. Everything the workflow uses in your organization is listed by type and name instead of by id: response actions (with their action type), connections, Python code, credentials, detection rules, lookup tables, hunts, saved searches, reports, threat actors and campaigns, Jira integrations and incident connectors, cloud providers, other workflows (Run workflow, Enable or disable workflow, the error workflow, trigger conditions), feeds, data sources and connections in trigger conditions, members (by email) and roles (by name), including who may send a form trigger. The file never holds secrets or credential values, webhook URLs, tokens or secrets, pinned outputs, run data or ids of your organization; a setting that looks like a secret is left out, and the import lists it.

Import (on the workflow list) takes a file, or steps copied from a canvas (they become a manual workflow), and creates nothing until you confirm:

  1. DRACO reads the file. A file of a newer format version, or with steps this DRACO does not know, is refused with the reason.
  2. For each object the file names, DRACO looks for one of the same type and name in your organization (the same name first, then ignoring upper and lower case; an action only among actions of the same type) and shows Found by name or Missing. Pick another one, pick one for a missing object, or Skip it. Objects of another organization are never used.
  3. Name the copy and click Import. The copy is always a new workflow (it never replaces one) and it is disabled. A webhook trigger gets a new secret, shown once.

A skipped object leaves the setting empty: the copy opens in the editor unsaved, with the problem shown on each step that needs a setting, and you save it once they are fixed. The unsaved graph is kept with the workflow until then, so it opens the same way later or in another browser. A lookup table, hunt, saved search, report, threat actor, campaign or provider that a step named by its name keeps that name when skipped. Importing needs Read-Write in Response actions & playbooks, plus the permission of each DRACO step's module and, for Python steps, Read-Write in Response code (and in Credentials for their credentials); without them the import is refused before anything is created. Exporting needs Read.

Duplicate (in the ⋮ menu) makes a disabled copy in the same organization with the same steps and the same objects.

Test runs

Test runs the workflow now, including unsaved changes, on a sample: an open incident, a recent alert (its fields are the input as trigger.input.alert.*) or a pasted JSON input, plus an optional manual target. Nothing changes anywhere: action nodes only show what they would send (the vendor preview), approvals, waits, notifications and incident changes are simulated. The result opens in the run viewer.

Testing one step

Step details (the button at the top of a step's settings, or right-click a step) opens the step wide, in three columns:

  • Input: what the steps before it returned in the test run you pick at the top (the latest test runs of this workflow), the step it comes from opened first. Pinned steps say Pinned, steps taken over from an earlier run say Reused.
  • Settings: the step's form, the same as in the side panel.
  • Output: what the step returned in that run, the port it took or its error.

Each column shows the data as Schema (every field with its type and a sample value), Table (lists of records such as search results or alerts) or JSON, with a field search. Drag a field from the Input or Output into a setting: it is written as an expression for you ({{ steps.lookup.output.ip }}, or {{ trigger.input.ip }} for the trigger's data), at the cursor or into the {{ }} you are typing.

  • Test step runs this step again with the input of the chosen run: the steps before it are not run again but taken over from that run. A step you changed since that run runs again, with every step after it. Without a chosen run, the test asks for a sample first and runs only the steps this one needs.
  • Test up to here runs, on a sample, the steps this one needs and this step, then stops; later steps do not run.
  • Run from here (test) (right-click) runs this step and every step after it, the steps before it taken over from the chosen run.
  • A step inside a For each is tested with its loop: the loop runs its items again, up to this step.

These are test runs like Test: actions only preview, approvals, waits, notifications and incident changes are simulated, even when the earlier run was a live one. A step taken over from an earlier run is never run again, so a response action of that run is never sent twice. Each test is listed in the workflow's runs and in the run picker.

Pinned outputs

Pin output keeps a tested step's output (a succeeded one) as sample data: later tests use it instead of running the step, so you can work on step 7 without running the searches and lookups of steps 1 to 6 each time. Set sample (or Edit pin) pins a JSON object you paste or edit. A pin on a step with several ports (If, Switch, Approval) keeps the port the step took. Pinned steps carry a pin mark on the canvas; Unpin removes it.

  • Pins are used by test runs only. A live run, by hand or from a trigger, never uses them.
  • Pins are saved with the workflow (not with a version) and are shared by everyone who edits it. Saving masks values under secret-looking keys (token, password, API key, secret and the like), and keeps up to 50 items per list and 2,000 characters per text; one pinned output is limited like a step's output (256 KB). Changing pins is recorded in the audit log, without the values.
  • The step being tested always runs, even if it is pinned. The trigger, End steps and steps inside a For each cannot be pinned; a pin of a step that was deleted is ignored.

Run viewer

All runs lists live and test runs with filters (workflow, state, mode, trigger). A run opens on the same canvas, read only: each node is coloured by its status (succeeded, failed, waiting, running, skipped, not reached) with its duration and, for loops, its item counts, and the edges the run took are highlighted while the others fade. Click a node to see, in the docked panel, its input (secrets masked), output, the port it took, every attempt and loop item, errors and timings. A node waiting for an approval links to Tasks > All, a node waiting for input links to its form; approval and form nodes say who decided or answered, and when. A running run refreshes by itself and can be cancelled; a failed one can be retried and debugged in the editor (see below).

Retrying a failed run

A live run that failed or timed out has Retry (in the run viewer and in the run's summary on All runs). The retry is a new live run with the same trigger data, incident and dry-run choice; the steps that finished before the failure are taken over as they are (marked Reused) and not run again, so a response action that already ran at a vendor is never sent twice. The step that failed, the steps a timeout stopped and every step after them run again; an approval of a step that runs again is asked again.

  • The version the run used retries the same graph. The active version retries with the workflow's current version: steps that are in both versions with the same kind, settings, retry policy and incoming connections are taken over, and a changed step runs again with every step after it. The dialog lists what is reused and what runs again, and warns when the active version changed steps since the run.
  • A For each that failed because some items failed runs again, but the steps of items that succeeded are taken over while the list of items is the same as in the failed run.
  • The retry links back to the failed run ("Retry of #…"), and the failed run lists its retries ("Retried as #…"). A run is retried once at a time; a run called by another workflow is retried through the run that called it.

Debugging a run in the editor

Debug in editor (on a live run, in the run viewer and in the run's summary) opens the workflow's editor with that run picked in the step details: the step that failed opens with the input it got and its error, and every other step shows what it received and returned. Test step and Run from here then take the run's earlier steps as sample data. These are test runs: actions only preview and nothing changes anywhere, even though the data comes from a live run.

Error workflow

When this workflow fails, run (in the editor's Workflow tab) names another workflow of your organization that starts when a live run of this one fails or times out. The error workflow needs a Manual trigger or the On workflow failure trigger, whose trigger.input the editor lists:

Field What it holds
trigger.input.run_id the failed run
trigger.input.workflow.id, .name the workflow that failed
trigger.input.failed_step.id, .name, .kind the step that failed (empty when the run timed out)
trigger.input.error the run's error
trigger.input.incident_id the failed run's incident; the error workflow's run has the same incident

A workflow cannot be its own error workflow, and a run started as an error workflow never starts another one (no chains). Runs of an error workflow show Workflow failure as their trigger and link to the run they were started for; when the error workflow cannot start (disabled, deleted, the open-runs limit), the failed run's history says why.

Keeping run data

Data of succeeded runs (in the Workflow tab) is Keep every step's input and output or Summary: with Summary, a run that succeeds keeps each step's state, path, timings and errors, and its steps' input and output are cleared when it finishes. The run viewer then says "Step data not kept". Failed runs always keep their data, to debug and retry them.

Finished runs are deleted once they are older than your organization's retention, every day; runs that are still queued, running or waiting are never deleted. All runs shows the retention (90 days unless your organization changed it); Change sets another number of days within the range your DRACO operator allows. The response executions of deleted runs stay in Tasks > All.

Limits and durability

A graph over a graph limit cannot be saved; a run that reaches a run limit fails (or times out) with the limit in its error. The defaults below are platform-wide settings your DRACO operator manages.

Limit Default
Nodes in a graph 100 (edges: 4 × the node limit)
Size of a saved graph 512 KB of JSON
Node executions per run (retries and loop items included) 500
Items of one For each 100 (a node may ask for fewer)
Loops inside loops; items of every loop of one run together 3 deep; 1,000
Items of one Transform 5,000 (20 operations)
Duration of a run (waits included; then it times out) 7 days
Nested sub-workflows 3
Output of one node (what later nodes read) 256 KB
Settings of one node once its expressions are rendered 256 KB
A text built by an expression 100,000 characters
One {{ }} template 4,000 characters, 10 filters
Retries of a node 0 to 5, backoff 1 s to 1 h (doubling; a vendor's Retry-After is honoured up to 1 h)
Open runs per organization (queued, running or waiting; sub-workflows not counted) 500
Automatic runs of one workflow per minute 30
Workflows starting each other in a chain 3
Shortest schedule 5 minutes

A manual run over the open-runs limit is refused with 429; an automatic trigger records the event as skipped with the reason (the workflow's Recent trigger events). Python steps have their own quotas: see Python steps.

Runs survive server restarts and updates: a run continues within a few minutes where it stopped, and waits (delay, approval, form) last until the run's time limit. What a step interrupted mid-way does:

Step Guarantee
Conditions, variables, loops, incident changes, DRACO steps, approvals, forms, sub-workflows, Search incidents, lookups of indicators and assets Exactly once. An interrupted step leaves nothing behind and runs again.
Response actions (vendor calls) At most once per execution. Interrupted during the vendor call, the execution fails as worker lost ("not repeated; the vendor may have applied it") and is not retried: check the vendor, then run the action again by hand if needed.
Notifications (Notify node, Slack, Teams, Telegram, email actions), Python steps, HTTP requests At most once. An interrupted step fails ("it is not repeated"); it is never sent or run twice.
Read-only steps (DQL search) May run again.

A step that failed and has an error edge takes it; otherwise the run fails with the step's error. Nothing is retried silently beyond the node's own retry policy.

Permissions

Reading workflows, runs and the editor needs Read in Response actions & playbooks; members with Read see the editor, the runs, the step details, the pins and the expression values read only. Creating, saving, activating, testing (a whole workflow or one step), pinning, running, retrying and cancelling runs, and changing the run retention need Read-Write. DRACO steps also need the permission of their module to save, activate and run.