Compile a brief
compile_audienceCompiles a plain English brief, such as 300 finance directors at law firms in Manchester, into an audience definition with a one-sentence readback, editable chips and any questions to answer first. Use it first for a request in words, read the readback to the user and settle the questions before counting. Words that match no filter come back in unrecognised, never guessed. Free and needs no account; pass the audience to count_audience next. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | A plain English brief, such as "300 finance directors at law firms in Manchester". | |
| dataset | No | The dataset an audience draws from. uk_contacts is live; ie_contacts and global_contacts are listed but not yet served. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chips | Yes | ||
| audience | Yes | ||
| quantity | Yes | A quantity named in the brief, such as 300, for quote_order limit. | |
| readback | Yes | The audience in one sentence, to confirm with the person. | |
| questions | Yes | ||
| unrecognised | Yes | Words of the brief that matched no filter, shown rather than guessed. |