trypost/app/Actions/Automation
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
..
Automation Validate webhook payload template is JSON before it can run 2026-06-13 16:03:19 -03:00
Node Validate webhook payload template is JSON before it can run 2026-06-13 16:03:19 -03:00
Run Validate webhook payload template is JSON before it can run 2026-06-13 16:03:19 -03:00
Trigger Denormalize automation trigger_type into an indexed column 2026-06-13 15:26:54 -03:00
TriggerItem feat(automations): implement automation features and UI enhancements 2026-05-24 09:17:19 -03:00