Built-in tool

Validate Json

Extract JSON from text and check its required fields and types.

Freeno per-call chargeNo API key needed

Endpoint

Parameters

NameTypeRequiredNote
inputTextstring · requiredstringrequired

The raw text that may contain JSON. The node automatically finds and extracts the JSON object from surrounding text.

requiredFieldsrepeating-group · optionalrepeating-groupoptional

Fields that must be present and non-empty in the parsed JSON. Validation fails if any are missing or have the wrong type.

onFailurestring · requiredstringrequired

What to do when JSON parsing or field validation fails.

One of: fallback (Use raw text as fallback), stop (Stop workflow), error_path (Take error path)

passThroughFieldsrepeating-group · optionalrepeating-groupoptional

Additional values from other nodes to include in the output alongside the parsed JSON fields.

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "_parseError": {
      "type": "boolean"
    }
  },
  "additionalProperties": true
}

Get started

How to use this tool

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, and this tool comes with it. There’s no API key or account to set up.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this tool when the job calls for it, along with any others it needs.

  3. Make it a workflow

    Add it as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether it runs on its own or asks first. When it asks, you see an Allow or Deny card before any credits are spent.