AnyWebsites icon

AnyWebsites

Interact with AnyWebsites HTML hosting service

Overview

This node integrates with the AnyWebsites HTML hosting service, allowing users to manage HTML content programmatically. It supports uploading new HTML pages, retrieving lists of uploaded content, fetching details of specific content by ID, updating existing content, and deleting content.

Common scenarios include:

  • Automating website content publishing workflows.
  • Managing multiple HTML snippets or landing pages without manual intervention.
  • Integrating content updates into broader automation pipelines.

For example, a user can upload an HTML page with a title and description, then retrieve its published URL for sharing or embedding elsewhere. They can also update or delete content as needed.

Properties

Name Meaning
Content ID The unique identifier of the content to retrieve, update, or delete.

(Note: For the "Get Content" operation, only the "Content ID" property is required.)

Output

The node outputs JSON data representing the response from the AnyWebsites API for the requested operation:

  • For Get Content, the output JSON contains detailed information about the specified content item, including metadata and content fields.
  • If the operation is Upload Content or Update Content, the output includes the content details plus a published_url field that provides the public URL where the HTML content is accessible.
  • For Get Content List, the output JSON contains a paginated list of content items.
  • For Delete Content, the output confirms deletion status.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the AnyWebsites service.
  • The node uses an internal helper function to make HTTP requests to the AnyWebsites API endpoints.
  • The base URL for the API is obtained from the credentials configuration.

Troubleshooting

  • Error: The operation "X" is not supported!
    This occurs if an unsupported operation name is provided. Ensure the operation parameter is one of: upload, getList, get, update, delete.

  • Missing or invalid Content ID
    For operations requiring a content ID (get, update, delete), ensure the Content ID is correctly provided and valid.

  • API request failures
    Network issues, invalid credentials, or API limits may cause errors. Verify API key validity and network connectivity.

  • Continue on Fail behavior
    If enabled, the node will return error messages in the output JSON instead of stopping execution.

Links and References

Discussion