Create a post template
create_templateSave a reusable Substack post template from markdown or HTML, including embeds and a paywall marker, so future drafts can reuse the same structure and formatting.
Instructions
Save a reusable post template. The body takes the same markdown as create_draft, including embeds and a paywall marker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Template body, as markdown or HTML. | |
| name | Yes | Template name, for example 'Weekly roundup'. | |
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |