Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Building Blocks & Utilities

Building Blocks & Utilities

Validate JSON Strings via Webhook

When a JSON string is sent to the webhook, custom code tries to parse it and returns whether it is valid, with an error message if not.

What it does

## JSON Validation Logic This node contains custom JavaScript code to parse the jsonString from the webhook input. It returns valid: true if successful, or valid: false with an error message if parsing fails.

The steps

  1. Webhook: Receive JSON String
  2. Respond to Webhook with Result
  3. Code: Validate JSON String

Similar automations