send_newsletter
Send a blog post as a newsletter to subscribers via the dashboard. Optionally link a variant to show send counts on the content detail page.
Instructions
Send a blog post as a newsletter to subscribers via the dashboard send pipeline. Optionally records which variant (format=blog) this send was derived from, so the Content detail page shows the send count on the Variants & Derivatives card. Prerequisites: the dashboard app must be running (DASHBOARD_API_URL env var, default http://localhost:3000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, ignore the "already sent" duplicate check. | |
| post_id | Yes | blog_post.id to render and send (required). | |
| preview | No | If true, send only to admin preview recipient(s) (dashboard controls which). | |
| variant_id | No | Optional variant(id) (format=blog) to link on email_logs. If omitted, the tool auto-resolves via blog_posts.variant_id. |