Siteboon icon

Siteboon

Interact with the Siteboon AI website builder API

Actions7

Overview

The node integrates with the Siteboon AI website builder API to update an existing page within a specified site. It allows users to modify page attributes such as the page name, parent page (for hierarchical structuring), and whether the page should be set as the index (home) page of the site.

This node is beneficial in scenarios where automated or programmatic updates to website pages are needed, such as:

  • Renaming pages based on dynamic content or user input.
  • Reorganizing page hierarchy by assigning or changing parent pages.
  • Setting a specific page as the homepage automatically during deployment or content updates.

For example, a marketing team could use this node to rename a "Coming Soon" page to "Launch Event" and set it as the index page right before a product launch.

Properties

Name Meaning
Site The target site where the page exists. Can be selected from a list of sites or specified by UUID.
Page The page to update. Can be selected from a list of pages or specified by its ID.
Page Name New name for the page. Leave empty to keep the current name.
Parent Page Optional. Assign a parent page to create or modify the page hierarchy. Select from list or specify by ID.
Set as Index Page Boolean flag indicating whether to set this page as the site's index (home) page.

Output

The node outputs JSON data representing the updated page object returned by the Siteboon API after the update operation. This typically includes fields such as the page's ID, name, parent ID, and index status reflecting the changes made.

If the API supports binary data output (not indicated here), it would represent associated media or files related to the page, but this node primarily deals with JSON metadata.

Dependencies

  • Requires an API key credential for authenticating with the Siteboon AI website builder API.
  • The base URL for API requests is https://rbfdagomafltuzfmfmgk.supabase.co/functions/v1/api.
  • The node depends on internal methods to fetch lists of sites and pages for resource locators (getSites and getPages).

Troubleshooting

  • Invalid UUID format for Site: When specifying the site by ID, ensure the UUID matches the required pattern; otherwise, validation errors will occur.
  • Page not found: Selecting a page that does not exist or belongs to a different site may cause errors. Use the provided list selectors to avoid this.
  • Permission errors: Ensure the API key has sufficient permissions to update pages.
  • Empty page name: Leaving the page name empty keeps the current name; however, if the API requires a non-empty name, this might cause issues.
  • Setting index page conflicts: If multiple pages are set as index pages, the API might reject the request or override previous settings.

Links and References

Discussion