AI & Validation

Wire Flow AI and validation tasks — Bedrock AI for intelligent data processing and Schema Validator for enforcing data structure.

Bedrock AI

Invokes an AI model to classify, extract, or summarise data within a workflow.

Field
Description

Model ID

The AI model to use (e.g., anthropic.claude-3-haiku-20240307-v1:0)

Prompt

Supports {$.body.field} placeholders or a JSONPath to a prompt string

System Prompt

Optional system instructions

Max Tokens

Maximum response length (default: 1024)

The next task receives the model's response in this format:

Extract the response text in a downstream JSONata task: $states.input.body.content[0].text

Use cases: classification, data extraction from unstructured text, summarisation, decision support.

Schema Validator

Validates the step input against a JSON Schema. If validation fails, the step errors — catchable with an Error Boundary.

Field
Description

JSON Schema

Standard JSON Schema definition

Edit

Opens an editor with live validation preview

If validation passes, the input is passed through unchanged to the next step.

Last updated