[data-reveal]{opacity:1!important;transform:none!important}
AntelopeJS DMS
DocumentationIntroduction

Introduction

Build procedures as node graphs that react to schedules, webhooks and DMS events, and watch every run from the dashboard.

@antelopejs/dms-automation is the visual automation builder of the AntelopeJS DMS. A procedure is a graph of nodes. A trigger starts it: a schedule, a webhook, a click or a DMS event. Actions do the work, such as an HTTP call, an email or a notification. Data nodes shape the values in between. The module runs procedures, keeps every run with its trace, and tells you which procedures need attention.

What the module adds to the dashboard

Overview

The health of every procedure in one line, KPIs over the last 24 hours, 7 days or 30 days, and what needs attention and why.

Procedures

Every procedure with its state, its last runs, its success rate and its trigger, with the new and import dialogs.

Builder

The graph editor, with test runs shown on the canvas and problems placed on their nodes.

Run history and trace

Every run, its steps on a timeline, where and why it failed, and a re-run with its own payload.

Library

Triggers, actions, data nodes and templates, each with the procedures that use it.

Building blocks

A procedure combines five kinds of blocks. The module ships the triggers Manual, Schedule (cron) and Webhook, the actions HTTP request and Log, the flow nodes and the data nodes in the table below. The DMS and other modules register the rest.

KindExamplesRole
TriggersManual, Schedule (cron), Webhook, and DMS events such as Member added, User registered and Record createdStart a run with a payload.
ActionsHTTP request, Log, Send email, Send notification, Invite userDo something, in order along trigger edges.
FlowIf, Switch, For each, For range, Parallel, Try / Catch, Retry, Delay, Set variableBranch, loop and recover.
Data nodesConstants, Math, Comparison, Logic, Text, Objects, JSONCompute values that data edges wire into fields.
TemplatesYour own reusable groups of nodesShare a sub-graph between procedures.

The DMS registers the event triggers and the Send email, Send notification and Invite user actions. Other modules add their own nodes through @antelopejs/interface-dms-automation. @antelopejs/dms-database adds a Table watch trigger. @antelopejs/dms-api adds a Route unhealthy trigger and two actions, Get API health and Query request logs.

Who it is for

The Automation pages sit in the DMS Modules group, which only the platform owner sees. The module's API follows the same rule: every route answers the platform owner only.

Requirements

  • A DMS backend and the @antelopejs/dms-frontend renderer in the ranges the module supports. The compatibility block of the module README lists the @antelopejs/interface-dms range. The frontend module declares its renderer range in engines["@antelopejs/dms-frontend"] of frontend-vue/package.json, and the ajs dms CLI refuses to build the module with a renderer outside that range.
  • An API provider, @antelopejs/api, for webhooks.
  • A database implementation.
  • Optionally, @antelopejs/interface-redis, to run several instances. See Clustering.