Overview
Extraction fields allow you to automatically extract structured data from SMS and voice conversations. You can now provide custom descriptions to improve extraction accuracy, or rely on smart defaults for common fields.Formats Supported
Simple Format (Smart Defaults)
Pass a simple array of field names. The system automatically generates intelligent descriptions for common fields:credit_score→ “Extract ONLY the numeric credit score (e.g., 750). Do not include phrases like ‘my score is’. Just the number.”interest_rate→ “Extract the interest rate as a percentage (e.g., 6.5%, 5.25). Include the % symbol if mentioned.”loan_balance→ “Extract the loan balance or amount as a number (e.g., 250000, $250k).”scheduled_time/appointment_date→ “Extract the date and/or time mentioned (e.g., ‘tomorrow at 3pm’).”phone_number→ “Extract the phone number in format XXX-XXX-XXXX.”email→ “Extract the email address exactly as provided.”
Advanced Format (Custom Descriptions)
For custom extraction logic, provide objects with name, description, and type:Mixed Format
You can mix both formats in the same array:Field Types
The data type for extraction. Options:
string(default) - Text valuesnumber- Numeric values onlyboolean- true/false values

