Skip to content
ThirdLayer

Docs > Automations

Runs and troubleshooting

Interpret Dex automation run states, inspect coordinator and member child runs, and diagnose skipped or failed executions.

Every automation dispatch creates a durable run record in /nexus/automations/runs (and via dex agents runs <agent-id> / dex runs get <run-id>). On a shared agent, each scheduled or Admin dispatch creates a parent run with nested child runs—one per member in fan-out mode, or one coordinator run plus its invoked member child runs in coordinator mode.

StatusMeaningWhat to check next
queued / runningDispatched and executing under a durable worker lease (or waiting on per-user concurrency slot)Open the run detail page to follow live progress and tool calls
needs_actionThe agent completed its reasoning and created one or more Pending Action cards awaiting human reviewOpen /nexus/inbox or the configured Slack channel to review, edit, approve, or reject
succeededExecution finished cleanly and any auto-approved outcomes appliedInspect final output, skill attribution, and any linked records created
skippedAdmission, requires, condition, or eligibility stopped the run before executionRead the recorded skip reason on the run (or child run)
failedAn error prevented completion (for example, coordinator_unset, expired OAuth token, or runtime error)Inspect the error code and transcript in /nexus/automations/runs/[runId] or dex runs get <run-id>

A shared agent ran, but one teammate was skipped

Section titled “A shared agent ran, but one teammate was skipped”

Run dex agents get <agent-id> (or check the member’s child run). Common causes:

  • Unmet requires — The teammate has not connected a required app or excluded it from their assigned Access Scope. Have them connect the missing app or update their Scope, then run dex agents on <agent-id>.
  • Disabled Access Scope — The member’s assigned Scope is disabled or missing; rebind a valid Scope or revert to Default.
  • Admin pause — An Admin paused the member (status: inactive). Only an agent Admin can resume a paused member.

A coordinator run failed with coordinator_unset

Section titled “A coordinator run failed with coordinator_unset”

TEAM.md contains coordinator instructions in its Markdown body, so scheduled triggers and Admin Run now dispatches require an assigned coordinator runner and Scope—Dex never silently falls back to fan-out.

Fix: An Admin of the shared agent assigns themselves with one of their own Scopes:

Terminal window
dex agents coordinator <agent-id> --scope <scope-id>

An edit was pushed to Factory, but the schedule did not update

Section titled “An edit was pushed to Factory, but the schedule did not update”

Commit success and Apply success are separate steps. Check whether Apply failed:

  1. Check the output of dex factory push or inspect /nexus/settings/factory for an apply error (last_apply_error).
  2. Fix any validation issue, or trigger Retry apply if the failure was transient.
  3. Confirm the live automation schedule with dex agents get <agent-id>.

A Pending Action card failed or paused on drift

Section titled “A Pending Action card failed or paused on drift”
  • Drifted target — The external record (such as an Attio deal or Notion page) changed between when the agent drafted the card and when a reviewer clicked Approve. Inspect the highlighted diff on the card and explicitly confirm the override if the write is still valid, or reject with feedback to trigger a follow-up run.
  • Expired provider token — Reconnect the integration in Connectors under the card owner’s account (not an approving Admin’s account), then retry the failed card (failed -> approved).
  1. Verify the automation is on a personal agent (event triggers are rejected on workspace shared automations).
  2. Confirm enabled: true and Apply succeeded.
  3. Check whether recent runs appear as Skipped because condition filtered out the event payload.
  4. Confirm the connected integration’s webhook authorization is healthy in /nexus/connectors/[integration].