trypost/app/Http/Requests
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
..
Api Bring post platform meta (aspect ratio) to parity across API and MCP 2026-06-10 15:36:47 -03:00
App Validate webhook payload template is JSON before it can run 2026-06-13 16:03:19 -03:00