Workflow Automation
ℹ️ Note: AI-powered workflow automation is a core feature of Allinix. This guide covers the key concepts and implementation details of our workflow system.
Architecture Overview
Frontend Structure
graph TD
A[Workflow] --> B[Node 1]
A --> C[Node 2]
B --> D[Node 3]
C --> D
B --Edge--> CKey Components
Workflow
Represents the entire graph structure
Contains all nodes and their connections
Node
Individual element within a workflow
Has position and visual properties
Maps to a backend Block
Edge
Connects two nodes
Defines workflow execution path
Backend Structure
Block System
Each frontend Node maps to a Block
Blocks contain actual execution logic
Example: SlackMessageBlock handles Slack message sending
Adding New Blocks
Frontend Configuration
ℹ️ Note: Block definitions will soon be served from the backend, eliminating the need for frontend updates.
Backend Implementation
Create Block Definition
Install Dependencies
Register Block
Rebuild Services
Node Categories
Triggers
Entry points that initiate workflow execution
Schedule-based triggers
Event-based triggers
Manual triggers
Actions
Perform specific tasks within the workflow
Data processing
External service integration
Custom business logic
⚠️ Warning: Always test new blocks thoroughly in a development environment before deploying to production.
Last updated


