Shopware icon

Shopware

Shopware

Actions778

Asset Management → Upload

AI-generated

Overview

This node operation uploads a media file to an asset management system by downloading the file from a specified URL and sending it along with metadata such as media ID, file name, and file extension. It is useful for automating media uploads where the source file is accessible via a URL, such as importing images, videos, or documents into a digital asset management platform.

Use Case Examples

  1. Uploading product images to an e-commerce platform by providing URLs of the images.
  2. Automating the upload of marketing materials stored on a remote server to a centralized asset management system.

Properties

Name Meaning
Media Id Identifier of the media entity to which the file will be uploaded.
File Name Name of the uploaded file; if not provided, the media identifier will be used as the file name.
Extension File extension of the uploaded file, e.g., 'png'.
Url URL of the media file that will be downloaded and uploaded to the asset management system.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • mediaId - The identifier of the media entity associated with the uploaded file.
  • fileName - The name of the uploaded file.
  • extension - The file extension of the uploaded file.
  • url - The URL from which the media file was downloaded.
  • uploadStatus - Status of the upload operation, indicating success or failure.

Dependencies

  • Requires an API key credential for authentication to the asset management system.

Troubleshooting

  • Common issues include invalid or inaccessible URL for the media file, resulting in download failures.
  • Incorrect or missing mediaId or extension properties can cause the upload to fail.
  • SSL certificate validation errors if the 'Ignore SSL Issues' option is not enabled and the server uses a self-signed or invalid certificate.
  • Timeout errors if the server does not respond within the configured timeout period.

Discussion