WebsitePublisher icon

WebsitePublisher

Build and manage AI-powered websites via WebsitePublisher.ai. Create pages, manage data entities, upload assets, capture leads, configure forms, and execute integrations.

Actions26

Asset → Upload

AI-generated

Summary

Uploads a project asset to WebsitePublisher.ai by sending its slug, Base64-encoded content, and optional alt text in a POST request. Use it for files such as images, CSS, or JavaScript; the slug determines the asset’s CDN URL path.

Inputs

  • Asset Slug (required) — Target path for the asset, such as images/logo.png; determines its URL path on the CDN.
  • Content (Base64) (required) — Base64-encoded file content. In n8n, use an expression to read binary data from a previous node.
  • Alt Text — Alternative text for images, for accessibility and SEO.
  • Request Options — Optional HTTP request settings: batching, SSL certificate validation, proxy, and timeout.

Output shape

A single API response item containing the result of the asset upload.

The operation sends a POST request to the authenticated project’s assets endpoint. The source does not specify the response fields.

Links

Discussion