ai.extract, Extract structured data from text using AI with a JSON schema
Configuration
Configuration goes inside the step’swith: block.
Text content or template expression
JSON Schema defining the structure to extract
Custom prompt template for extraction
Provider ID (e.g., “openai-gpt4o”)
Model override
Max input tokens. Truncates input text and logs a warning when exceeded. Omit for no limit.
Output
Returnsrecord<string, unknown>. Extracted structured data matching the provided schema