trypost/app/Actions/Automation/Run
Paulo Castellano 2bd2e72656 Validate webhook payload template is JSON before it can run
A webhook node parses its payload template as JSON before resolving
placeholders, so a template with unquoted {{ }} placeholders or any malformed
JSON could be saved, tested, and activated — only to fail midway through a run.

Reject it up front instead: AutomationConfigValidator is the single source of
truth for per-node config issues (keyed to the field the editor surfaces them
under), enforced on save (field errors), on activate, and before a test run.
The editor mirrors the check to disable Test/Activate with a clear reason, and
the test panel now surfaces the server's message instead of a generic toast.
2026-06-13 16:03:19 -03:00
..
AdvanceAutomationRun.php Back fixed-set automation strings with enums and consts 2026-06-13 15:04:24 -03:00
DispatchAutomationRun.php Add expression autocomplete, side-panel editor, and richer HTTP fetch 2026-06-12 11:31:58 -03:00
RetryRunFromNode.php Tighten automation conventions: pagination, imports, i18n, enums 2026-06-13 13:59:52 -03:00
TestAutomation.php Validate webhook payload template is JSON before it can run 2026-06-13 16:03:19 -03:00