Write a newsletter with AI
generate_newsletterHas the workspace's AI model write a newsletter from a brief (using only the facts in it) and saves it as a draft to review. Nothing is sent. Needs the AI set up in Settings → AI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Internal name for the draft. | |
| brief | Yes | What to say, with every fact to include. | |
| ctaUrl | Yes | Where the button links. | |
| format | No | blocks (editable, the default) or a designed HTML body. | |
| layout | No | ||
| audience | No | Who it goes to: contacts in ANY (match "any") or ALL (match "all") of the included segments, tags and filters, minus the excluded ones. Nothing included means every contact of the product. Consent and suppressions are always applied on top. | |
| productId | No | Product id from list_products. |