AI agents now work inside Duna processesSee agentic orchestration
Documentation/Build processes

Actions and expressions

Actions connect process intent to work. The engine dispatches each action by its type; action-specific settings live in config.

The action envelope

json
{
  "id": "set-status",
  "type": "expression",
  "assignTo": "status",
  "config": { "$expr": "'ready'" }
}

Actions can declare a condition, timeout, result assignment, idempotency key, error policy, transaction group and compensation step. Only use fields supported by the action and definition schema.

Documented executors

ActionTypical use
expressionCompute a value with the configured expression runtime.
httpCall an HTTP service; supported file and multipart forms are documented.
dbExecute against a named database connection.
publishSend a RabbitMQ or Kafka message.
emailSend SMTP mail, optionally with attachments.
fileRead, write, copy, list or delete process files.
redisUse the configured Redis connection.
forEach, parallelRun nested work over items or branches.
callProcessStart a child process synchronously or asynchronously.
containerRun an opt-in Python or Node.js workload through the separate runner.
agentRun a published AI agent and continue on its validated answer.
agentTeamRun a published team of agents within its budgets.

Expression context

JavaScript expressions run in the documented Jint sandbox. vars reads process variables. Expression nodes are objects, not strings with interpolated templates. The technical documentation describes the supported helpers and context for each position.

The definition reference notes that a definition’s defaultLanguage is stored and validated but not applied; an expression without $lang uses the host default. Do not infer language behavior from that property alone.

External side effects

Use named connections and configured secrets. An engine retry can repeat an external request, so design the receiving system and action idempotency deliberately. Compensation is separately modeled business work.

Container actions are disabled by default and require a configured runner. Agent actions are disabled by default too, and a company's policy decides which model connections they may use: see Agents and the agent action. This website does not execute any action or expression supplied by visitors.