Overview
The node integrates with the Siteboon AI website builder API to manage website pages. Specifically, the "Duplicate Page" operation allows users to create a copy of an existing page within a specified site. This is useful for quickly replicating page layouts or content without manually recreating them.
Common scenarios include:
- Creating a new page based on an existing template.
- Quickly cloning a page to modify it while preserving the original.
- Managing hierarchical page structures by duplicating pages under different parent pages.
Example: A user wants to duplicate the "About Us" page in their website to create a similar "Team" page with minor edits.
Properties
| Name | Meaning |
|---|---|
| Site | The target website where the page exists. Can be selected from a list of sites or specified by UUID. |
| Page | The page to duplicate. Can be selected from a list of pages or specified by its ID. |
| Page Name | The name for the new duplicated page. |
| Parent Page | (Optional) The parent page under which the duplicated page will be placed, supporting hierarchy. Can be selected from a list or specified by ID. |
Output
The node outputs JSON data representing the newly duplicated page. This typically includes details such as the new page's ID, name, and other metadata returned by the Siteboon API. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the Siteboon API.
- The base URL for API requests is
https://rbfdagomafltuzfmfmgk.supabase.co/functions/v1/api. - Uses internal methods to fetch lists of sites and pages for resource locators.
Troubleshooting
- Invalid UUID format: When specifying Site by ID, ensure the UUID matches the required pattern; otherwise, validation errors occur.
- Missing required fields: Site, Page, and Page Name are mandatory for duplication; omitting these will cause errors.
- API authentication errors: Ensure the API key credential is correctly configured and has necessary permissions.
- Page not found: Selecting a non-existent page ID or site may result in errors; use the provided search lists to avoid this.
- Parent page issues: If specifying a parent page, verify it exists within the same site to prevent hierarchy conflicts.
Links and References
- Siteboon AI Website Builder (general reference)
- No direct external API documentation links were provided in the source code.