# Pull fields from text into JSON

Turns unstructured text such as emails, notes or invoices into a JSON object with the fields you define, validated against a schema.

**Use cases:** Data processing

**Tags:** json, extraction, schema

[Create this agent](https://seclai.com/agent-examples/create/json_extractor)

## How it starts

Trigger: dynamic input.

## What it needs

No knowledge base, memory bank or connection to create first.

## Steps

- Extract fields
- Parse and validate JSON
- Show JSON
