Actions31
Overview
The node integrates with the Steuerboard API to upload files to a specified workspace. It allows users to upload binary data (such as documents or images) as files associated with a client and workspace. This is useful in scenarios where automated workflows need to attach files to projects, tasks, or client records within Steuerboard, such as uploading invoices, reports, or supporting documents.
Properties
| Name | Meaning |
|---|---|
| Client ID | The unique identifier of the client to whom the file is related. |
| Workspace ID | The unique identifier of the workspace where the file will be uploaded. |
| File | The name of the binary property in the input data that contains the file to upload. |
| Additional Fields | Optional extra metadata for the file upload: |
| - Label IDs (JSON) | JSON array of label IDs to tag the file, e.g., ["id1","id2"]. |
| - Name | Custom name for the uploaded file. |
| - Folder ID | Identifier of the folder within the workspace to place the file. |
| - Task ID | Identifier of a task to associate the file with. |
Output
The node outputs JSON data representing the uploaded file's details as returned by the Steuerboard API. This typically includes metadata such as file ID, name, associated client and workspace IDs, labels, and possibly URLs or references to access the file. If the node supports binary data output, it would represent the uploaded file's content or a reference to it, but based on the provided code and properties, the output is primarily JSON metadata about the uploaded file.
Dependencies
- Requires an API key credential for authenticating with the Steuerboard API.
- The node expects the base URL of the Steuerboard API to be configured in the credentials.
- The binary data to upload must be provided in the input under the specified binary property name.
Troubleshooting
- Missing or invalid Client ID or Workspace ID: The API will reject requests without valid identifiers. Ensure these are correctly set.
- Binary property not found: If the specified binary property name does not exist in the input data, the upload will fail. Verify the binary data is correctly passed to the node.
- Invalid JSON in Label IDs: The label IDs field expects a JSON array string. Malformed JSON will cause errors.
- API authentication errors: Check that the API key credential is valid and has sufficient permissions.
- File size or format restrictions: The Steuerboard API may impose limits on file size or accepted formats; ensure compliance.
Links and References
- Steuerboard API documentation (not provided here, but users should consult the official Steuerboard API docs for details on file upload endpoints and parameters).