Automations

Publishing

Drafts, publish validation, runtime limits, and troubleshooting failed publishes.

Automations have two versions: a draft you edit in the library and a published version the bot runs. Saving a draft never affects live behavior.

Draft vs publish

ActionEffect
Save draftStores the current graph. Always allowed if the graph is well-formed.
PublishValidates the full graph and updates the live automation the bot indexes.

If publish fails, Assistance badges the affected nodes in the editor and lists every issue. Fix them, then publish again.

Structural validation

IssueWhat it means
no-triggerThe graph has no trigger
multiple-triggersMore than one trigger is wired
unknown-node-typeA node type is not recognized
unknown-edge-endpointAn edge points to a deleted node
unknown-socketAn edge uses an invalid input or output name
invalid-flow-portA flow wire targets a branch that does not exist
flow-into-pure-nodeA flow wire connects to a value node
duplicate-flow-sourceOne flow output connects to multiple targets
duplicate-inputOne input socket is wired more than once
type-mismatchConnected sockets have incompatible types
missing-required-inputA required data socket is unwired
invalid-static-valueA literal or config value is invalid
invalid-configNode configuration fails validation
flow-cycleFlow wires loop back on themselves
data-cycleData wires form a dependency loop
for-each-output-without-arrayFor Each has no array wired
for-each-output-outside-loopItem or Index used outside the Each branch
for-each-nesting-too-deepNested loops exceed the nesting limit
step-budget-exceededWorst-case steps exceed the step budget

Runtime limits

LimitValue
Flow steps per run500
Pure node evaluations1,500
For Each nesting depth3
Max delay28 days
Automations per guild50

Node-specific rules

  • Compose Template must pass the full template schema before publish
  • Make Button and Make Select Option require a label and action
  • Command Executed option names must be unique; the command that runs the automation owns the slash command name
  • Reply to Interaction, Follow Up, and Edit Interaction Response need a Template. Follow Up also needs an Interaction or Response input.
  • Emoji literals must resolve to a valid emoji
  • Paginated fetchers accept limits of 0–20 and pages ≥ 1

Tips for a clean publish

  1. Start with one trigger and one action — publish early to confirm the event fires
  2. Wire required inputs before adding branches
  3. Keep For Each Item/Index inside the Each branch
  4. Use Filter instead of If when you only need to skip, not branch
  5. Check step budget on complex graphs with nested loops

How is this guide?

On this page