wafle_ai_segment_compile
Turn plain-language audience descriptions into email-marketing segmentation DSL. Returns validated JSON ready to create a segment.
Instructions
Compile a natural-language description (e.g. 'clientes que compraron al menos 2 veces y abandonaron carro últimos 30 días') into the email-marketing segmentation DSL. Returns { dsl_json, validated, errors }. Pass dsl_json straight into a new segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| natural_language | Yes | Plain-Spanish description of the audience. |