Skip to content

Laravel AutoBuilder Adds Drag-and-Drop Workflows to Laravel Apps

Laravel AutoBuilder is a package that lets staff build automation workflows in a visual editor inside a Laravel app. Developers still handle installation and custom application logic.

3 min readBased on 1 source20 views

TL;DR

  • Laravel AutoBuilder adds a drag-and-drop editor for automation workflows inside a Laravel application.
  • Workflows connect triggers, conditions and actions, and custom steps can be written as PHP classes.
  • The package requires PHP 8.4+ and Laravel 12 or 13, and access should be restricted with a gate.

What the package does

Laravel AutoBuilder, created by Jean-Marc Strauven, lets you assemble automation workflows in a drag-and-drop editor. The package calls its building blocks "bricks". Triggers start a flow, conditions check its data, and actions do the work. The editor uses Vue Flow to connect these pieces visually.

A simple signup flow could connect a Model Created trigger for the User model to a Log Message action. Other built-in actions can create or update Eloquent records, make HTTP requests, or send a Laravel notification. Flows can also start from webhooks or a cron schedule, though scheduled flows need Laravel's scheduler running.

How data moves through a flow

Each run has a FlowContext that holds its payload and variables. Fields that accept variables use double-brace expressions with dot notation. For a User model, a message can refer to {{ model.name }}. The key must match the trigger's payload, so model.name works where user.name would not. Filters are also supported, such as converting a value to uppercase.

Conditions can check a field value or a user's role. Gates combine several checks: AND requires all inputs to be true, OR requires at least one, and AtLeast handles thresholds such as a minimum count or a majority.

Writing a custom PHP action

Teams can extend the editor with their own triggers, conditions and actions. By default, AutoBuilder looks for classes under app/AutoBuilder, and custom actions extend its Action base class. In the example published with the package, a custom action trims and lowercases a contact.email value and stores the result so later nodes read the normalised value. The action does not validate the address, so that check remains the developer's job.

The custom class then appears as a node next to the built-in actions. In the tested flow, a Field Equals condition checked whether contact.subscribed was yes, and each branch wrote a different Log Message.

Testing and running flows

Manual tests and the Artisan command run flows immediately. Event-triggered flows can run through Laravel's queue, which requires a working queue connection and worker. The execution history records each run's payload, variables and logs. The Validate button checks required fields and graph connections, and flows can be exported and imported as JSON. A saved flow can also be started from the command line with php artisan autobuilder:run and a JSON payload.

The Laravel News test used AutoBuilder 1.8.0 on Laravel 13.44.1 with PHP 8.4. With an input of yes, the flow logged the welcome message, and with no it logged the skipped-subscription message instead.

Installation and access control

The current Composer requirements specify PHP 8.4+ and Laravel 12 or 13. Installation uses Composer, publishes the assets and migrations, and runs the migrations. The editor is served at /autobuilder. The middleware requires authentication, and the check only applies if you define the access-autobuilder gate, so teams should define it to limit access to staff who manage automations.

Why it matters

For teams, the main gain is that staff can change routine automation rules, such as a welcome notification or an API call after a record changes, without a developer editing a listener each time. Developers still own installation, custom PHP actions, input validation and the access gate. Teams that need long-running processes with recorded progress and external signals may need a different tool; Blozhik has covered one such option in its earlier post on Durable Workflow for Laravel.

Sources

This article was written by Blozhik from the reporting below. Read the originals for full detail.

LaLaravel AutoBuilder: Build Visual Automation WorkflowsLaravel News
Was this useful?

Keep reading

Discussion · 0

Sign in to join the discussion. Liking does not need an account.Sign inRegister
Loading comments…
blozhikDeveloper news from across the web, explained. Every story links to its original sources.