Visual DAG Workflow Engine
Build multi-step automated workflows with a visual node canvas. GN-Apex executes complex logic trees using an asynchronous Directed Acyclic Graph (DAG) engine with temporal delays and conditional branching.
“Trigger workflows from user signups, abandoned carts, or tuition payments. Chain delays, evaluate conditions, and dispatch actions across channels.”
Directed Acyclic Graph (DAG) Architecture
Every workflow in GN-Apex is represented as a structured node graph (nodes + directional edges). The execution mesh navigates from the root trigger node down through downstream paths without locking server threads:
Trigger Nodes
Fires on system events (Order Placed, Cart Abandoned, Fee Paid) or incoming external webhook requests.
Delay Buffers
Pauses execution for minutes, hours, or days using a distributed timer queue before advancing to the next step.
Conditional Branches
Evaluates dynamic criteria (e.g., 'Cart Value > $100' or 'Country == TZ') and routes down YES / NO paths.
Action Plugins
Dispatches communications (SMS, WhatsApp, Email), mutates CRM tags, or pings external API endpoints.
The 4 Core Node Primitives
Every node on the visual canvas performs a specialized operational role:
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| TRIGGER | Event Ingress | Optional | The catalyst that initiates the workflow. Emits the initial triggerPayload containing user and event details. |
| DELAY | Temporal Queue | Optional | Suspends the execution thread for a defined duration (Seconds, Minutes, Hours, Days) without consuming CPU cycles. |
| CONDITION | Boolean Resolver | Optional | Compares dynamic variables against comparison operators (EQUALS, GREATER_THAN, CONTAINS) to split the path. |
| ACTION | Execution Plugin | Optional | Executes an external task (e.g. SEND_SMS, ADD_CRM_TAG) and records the output in the stateful context. |
Visual Pipeline Flowchart
A real-world automated cart recovery workflow modeled as a DAG:
[ TRIGGER: Customer Abandons Cart ]
│
▼
[ DELAY: Wait 2 Hours ]
│
▼
[ CONDITION: Cart Value > $50? ]
│ │
(YES Branch) (NO Branch)
│ │
▼ ▼
[ ACTION: WhatsApp Nudge ] [ ACTION: Standard Email Nudge ]
(Includes 10% Discount) (Standard Reminder)
│ │
└───────────┬───────────┘
▼
[ ACTION: Add CRM Tag ("Cart-Recovery-Nudged") ]
Stateful Execution & Fault Recovery
Every workflow execution runs within an isolated, stateful memory context. If a downstream action experiences a transient network error, the distributed execution mesh automatically retries that specific node using exponential backoff without re-running previous steps.