duplicate_page
Duplicate an existing page as a new draft, reusing its structure and optionally overriding fields like title or slug.
Instructions
Duplicate an existing page as a new DRAFT, optionally applying overrides.
The workhorse for "take last quarter's webcast page and make this quarter's version out of it".
Args: source_id: ID of the page to copy. source_type: 'landing' or 'site'. new_name: internal name for the copy. new_slug: URL slug for the copy. HubSpot derives one if omitted. overrides: fields to change on the copy — same keys as update_page_draft, e.g. {"htmlTitle": "...", "metaDescription": "...", "layoutSections": {...}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| new_slug | No | ||
| overrides | No | ||
| source_id | Yes | ||
| source_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||