ArxDeck
Agents & automations

Workflow automations

Triggers and actions — run agents, run tasks, and change status on ticket events.

Workflow automations

Workflow automations connect ticket lifecycle events to actions. They are the main way tickets automatically launch agents, run multi-step task templates, or change status without manual edits.

ArxDeck Helper can propose automation rules through project chat — describe what should happen when a ticket enters a status and approve the generated configuration in the Proposals inbox.

Triggers

Common triggers include:

  • Ticket enters a status
  • Comment added (optionally filtered by agent @mention)
  • Agent run started and Agent mentioned
  • Agent run outcome reported via MCP (optional Code changes filter: any / with changes / without changes)
  • Ticket created or fields changed

Matching rules enqueue side effects in order without duplicate agent launches for the same automation.

Actions

ActionWhat it does
Run agentStarts a configured agent on the ticket; optional status moves on start, success, or failure
Run taskSpawns a multi-step automated job from a task template
Change statusMoves the ticket to another workflow status
Merge pull requestMerges a linked PR (with optional CI gate when GitHub is configured)

Duplicate executing runs for the same ticket and automation are prevented.

Runnable agents

The workflow editor includes a Runnable agents list. It controls which agents appear on the ticket Run Agent control, in that order. An empty list hides the control.

The list does not start an agent when a status changes or when someone comments. Use a normal automation for that. It also does not limit @mentions. Archiving an agent leaves them on the list, hidden from Run Agent. Permanently deleting an agent who is still listed asks for a replacement on each list.

Workflow proposals set this list with runnableAgents. Leave the field out to keep the current list; send an empty array to clear it. statusAgentBindings is rejected. Older workflow history does not bring the removed status-to-agent bindings back.

For queued pipelines, use a Run task automation with a template that acquires and releases a project queue.

Conditions

Automation triggers can filter on status, agent, author kind, and structured condition JSON. For branching logic inside multi-step pipelines, use Condition, Switch, and Loop blocks in task templates — not only automation rule filters.

Setup & configuration

Project admins edit automations on each workflow at Settings → Workflows → [workflow] → Automations. Global workflows are edited by superadmins under Platform → Workflows.

Suggested flow:

  1. Define the statuses agents should react to (for example "Ready for agent").
  2. Add a Run agent action with the right agent and optional status transitions. Use Runnable agents when people should start that agent from the ticket.
  3. For multi-step pipelines, create a task template and wire a Run task automation.
  4. Prefer outcome-driven status moves (MCP report_agent_outcome + outcome triggers) over automatic "move on success" when agents report their own results. Use With changes on outcome triggers when a validate/merge pipeline should run only after create_pr.
  5. In queued pipelines, each loop iteration should launch a fresh agent run (branch sync at start). Place queue release after merge pull request so a nothing-to-merge step still releases the queue. Outcome automations do not re-fire on runs they launched.
  6. Test on a non-production ticket before enabling on high-volume workflows.

For recurring automation outside ticket events, see Scheduled tasks.