Actions9
- Asset Actions
- Folder Actions
- Authentication Actions
Asset → Create or Update
AI-generatedSummary
Create a new asset or update an existing one in the WoodWing Assets Server by uploading a file to a specified folder path and filename. Automatically handles authentication by login or accepts a token from a previous login.
Inputs
- Authentication Method (required) — Choose whether to login automatically before the create/update or to use a token from a previous login.
- Auth Token (required) — The authentication token from a previous login, required if 'Use Token From Previous Login' method is selected.
- Binary Property (required) — Name of the binary property in the input containing the file to upload.
- Folder Path (required) — Folder path in WoodWing Assets Server where the asset will be created or updated.
- Filename (required) — Filename for the asset including its extension.
- Advanced Options — Optional parameters such as auto-renaming files on conflict, clearing checkout state on update, preserving metadata on update, specifying metadata as JSON, selecting metadata fields to return, redirect URL after operation, and parsing metadata modifications.
Output shape
a single record per input item
The output includes the JSON response from WoodWing Assets Server about the created or updated asset. When 'Pass Through Binary Data' is enabled, the input binary data is preserved and passed through to the output. Errors are reported per item in the output with detailed error information.
Examples
Example 1: Create a new asset by uploading a file named 'image.jpg' to '/Demo Zone/MyFolder' with automatic login
Set Authentication Method to 'Login and Create/Update', specify the folder path and filename, provide the binary property containing the file data.
Example 2: Update an existing asset using a previously obtained auth token
Set Authentication Method to 'Use Token From Previous Login', provide the Auth Token, folder path, filename, and the binary property name containing the new file data.