Overview
This node interacts with the Put.io API to manage files and folders in a Put.io account. Specifically, the 'Create Folder' operation allows users to create a new folder within a specified parent folder. This is useful for organizing files in the cloud storage service Put.io. For example, a user can automate the creation of project-specific folders to keep their files structured.
Use Case Examples
- Create a new folder named 'ProjectX' inside the root directory (parent folder ID 0).
- Create a subfolder inside an existing folder by specifying the parent folder ID.
Properties
| Name | Meaning |
|---|---|
| Folder Name | The name of the folder to create. |
| Parent Folder ID | The ID of the parent folder where the new folder will be created. |
Output
JSON
id- The unique identifier of the newly created folder.name- The name of the newly created folder.parent_id- The ID of the parent folder where the new folder was created.file_type- The type of the file system object, which will be 'FOLDER' for created folders.
Dependencies
- Put.io API
- An API key credential for Put.io
Troubleshooting
- Ensure the 'Folder Name' is not empty; the API requires a valid folder name to create a folder.
- Verify that the 'Parent Folder ID' is a valid folder ID in your Put.io account; using an invalid ID may cause errors.
- Common error messages include 'Invalid folder ID' if the parent folder ID is not a number, and 'No binary data exists on item' if trying to upload files without binary data (not applicable for create folder but relevant for other operations).
- If the API request fails, check your Put.io API credentials and network connectivity.
Links
- Put.io API Documentation - Official API documentation for Put.io, useful for understanding available endpoints and parameters.