Workflow Builder

Canvas, nodes, saving drafts, and activating automations.

Overview

The workflow builder is a visual canvas: a trigger node starts the graph, then actions, waits, conditions, and an end node define automation. Workflows can be draft or active; only active workflows subscribe to triggers.

Route

#/workflows — create and edit workflows, arrange nodes, and configure each block.

Execution model

The PHP WorkflowEngine runs when a trigger fires. It writes to workflow logs, supports wait/delay by scheduling a secure cron resume, and enforces safety limits: roughly 30 seconds max execution time, up to 200 nodes per run, and recursion capped at depth 5 (so accidental loops do not take down PHP).

Hooks: autoformcrm_workflow_trigger_data filters payload; autoformcrm_after_workflow_trigger runs after processing.

Related: Workflow triggers, Workflow actions, Testing workflows.