[data-reveal]{opacity:1!important;transform:none!important}
Introduction
Automation

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 (a schedule, a webhook, a click, a DMS event) starts it, actions do the work (an HTTP call, an e-mail, a notification), and data nodes shape the values in between. The module runs procedures, keeps every run with its trace, and tells you which ones need attention.

What it brings

Overview

The health of every procedure in one line, KPIs over 24 h, 7 d or 30 d, what needs attention and why.

Procedures

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

Builder

The graph editor, with test runs overlaid on the canvas and problems mapped onto nodes.

Run history and trace

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

Library

Triggers, actions, data nodes and templates, each with where it is used.

Building blocks

KindExamplesRole
TriggersManual, Schedule (cron), Webhook, DMS events (member added, user registered, record created…)Start 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, comparisons, booleans, strings, objects, JSONCompute values wired into fields along data edges.
TemplatesYour own reusable groups of nodesShare a sub-graph between procedures.

Other modules add their own nodes through @antelopejs/interface-dms-automation: @antelopejs/dms-database adds a Table watch trigger, @antelopejs/dms-api a Route unhealthy trigger and two actions.

Who it is for

The pages, like every DMS module page, belong to the platform owner, and so does the module's API.

Requirements

  • @antelopejs/dms 0.9 (@antelopejs/interface-dms 0.7) and @antelopejs/dms-frontend 0.6. Version 0.4 of the module is the first one for this release; use 0.3 with DMS 0.8.
  • An API provider (@antelopejs/api) for webhooks, and a database implementation.
  • Optional: @antelopejs/interface-redis, to run several instances. See Clustering.